Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRCKitServiceHooks

Hierarchy

  • IRCKitServiceHooks

Index

Methods

  • Batch acquisition of user information according to userId

    Parameters

    • userIds: string[]

      User ID List

    Returns Promise<IRCKitUserProfile[]>

  • Batch acquisition of group information

    Parameters

    • groupIds: string[]

      group ID list

    Returns Promise<IRCKitGroupProfile[]>

  • Batch acquisition of system conversation information. When there is a ConversationType.SYSTEM type in the conversation list, this method will be called to obtain system conversation information.

    Parameters

    • targetIds: string[]

      system conversation ID list

    Returns Promise<IRCKitSystemProfile[]>

  • Get group member information

    Parameters

    • groupId: string

      group ID

    Returns Promise<IRCKitGroupMemberProfile[]>

  • [Optional]Define default user information to replace the initial SDK default data, such as avatars, name rules, etc.

    Parameters

    • userId: string

      user ID

    Returns IRCKitUserProfile

  • [Optional] Define the default group information to replace the default data of the SDK, such as avatar, name rules, etc.

    Parameters

    • groupId: string

      group ID

    Returns IRCKitGroupProfile

  • [Optional] Define the default system conversation information to replace the default data of the SDK, such as avatar, name rules, etc.

    Parameters

    • systemId: string

      system conversation ID

    Returns IRCKitSystemProfile

  • [Optional]Request User Online Status

    Parameters

    • userIds: string[]

      user ID list

    Returns Promise<IRCKitUserOnlineStatus[]>