package com.adealink.weparty.im.constant

import com.adealink.weparty.BuildConfig
import com.adealink.weparty.im.session.adapter.data.UnSupportMessageBean
import com.adealink.weparty.im.session.mesasge.OfficialImageTextMessageBean
import com.adealink.weparty.im.session.mesasge.PlaymateOrderMessageBean
import com.adealink.weparty.im.session.mesasge.PlaymateSayWelcomeTextMessageBean
import com.adealink.weparty.im.session.mesasge.PlaymateSayWelcomeVoiceMessageBean
import com.tencent.qcloud.tuikit.tuichat.bean.message.CallingMessageBean
import com.tencent.qcloud.tuikit.tuichat.bean.message.ImageMessageBean
import com.tencent.qcloud.tuikit.tuichat.bean.message.SoundMessageBean
import com.tencent.qcloud.tuikit.tuichat.bean.message.TextMessageBean
import com.tencent.qcloud.tuikit.tuichat.bean.message.TipsMessageBean

/**
 * 官方用户ID
 */
const val OFFICIAL_UID = BuildConfig.OFFICIAL_UID //官方uid
const val OFFICIAL_CONVERSATION_ID = BuildConfig.OFFICIAL_CONVERSATION_ID //官方会话ID


/**
 * 自定义消息
 * https://trtc.io/zh/document/50044?product=chat&menulabel=uikit&platform=android
 */
//官方消息
const val OFFICIAL_IMAGE_TEXT_BUSINESS_ID = "official_image_text"

//陪玩订单消息
const val PLAYMATE_ORDER_BUSINESS_ID = "playmate_order"

//陪玩SayWelcome
const val PLAYMATE_SAY_WELCOME_TEXT_BUSINESS_ID = "playmate_welcome_text"
const val PLAYMATE_SAY_WELCOME_VOICE_BUSINESS_ID = "playmate_welcome_voice"


/**
 * 支持的消息类型
 */
val SUPPORT_MESSAGE_TYPES = setOf(
    TextMessageBean::class.java,
    ImageMessageBean::class.java,
    SoundMessageBean::class.java,
    TipsMessageBean::class.java,
    UnSupportMessageBean::class.java,
    PlaymateOrderMessageBean::class.java,
    CallingMessageBean::class.java,
    PlaymateSayWelcomeTextMessageBean::class.java,
    PlaymateSayWelcomeVoiceMessageBean::class.java,

    OfficialImageTextMessageBean::class.java,
)