RongIMLib View Markdown
    Preparing search index...

    Interface IConversationIdentifier

    会话标识

    interface IConversationIdentifier {
        conversationType: ConversationType;
        targetId: string;
        channelId?: string;
    }

    Hierarchy

    Index
    conversationType: ConversationType

    会话类型

    targetId: string

    会话 Id

    channelId?: string

    频道 Id 字符串类型,不能包含 _ , 长度不能超过 20

    • 当会话类型为超级群时,该值为频道 ID
    • 当会话类型为单、群聊时,该值为组织 ID,用于区分多组织场景
    • 其他会话类型该值为空