RCKitStore
    Preparing search index...

    Interface IKitServiceHooks

    用户信息回调钩子

    interface IKitServiceHooks {
        reqGroupMembers(groupId: string): Promise<IGroupMemberProfile[]>;
        reqGroupProfiles(groupIds: string[]): Promise<IGroupProfile[]>;
        reqSystemProfiles(targetIds: string[]): Promise<ISystemProfile[]>;
        reqUserProfiles(userIds: string[]): Promise<IUserProfile[]>;
    }
    Index

    Methods

    • 根据 groupId 批量获取群组信息

      Parameters

      • groupIds: string[]

        群组 ID 列表

      Returns Promise<IGroupProfile[]>

    • 批量获取系统会话信息,当会话列表中存在 ConversationType.SYSTEM 类型时,会调用此方法获取系统会话信息

      Parameters

      • targetIds: string[]

        系统会话 ID 列表

      Returns Promise<ISystemProfile[]>

    • 根据 userId 批量获取用户信息

      Parameters

      • userIds: string[]

        用户 ID 列表

      Returns Promise<IUserProfile[]>