Interface V2TIMCommunityListener

(九)社群事件监听类

onCreateTopic?: ((groupID, TopicID) => void)

Type declaration

    • (groupID, TopicID): void
    • 收到邀请

      Parameters

      • groupID: string
      • TopicID: string

      Returns void

onDeleteTopic?: ((groupID, topicIDList) => void)

Type declaration

    • (groupID, topicIDList): void
    • 被邀请者接受邀请

      Parameters

      • groupID: string
      • topicIDList: string

      Returns void

onChangeTopicInfo?: ((groupID, topicInfo) => void)

Type declaration

    • (groupID, topicInfo): void
    • 被邀请者拒绝邀请

      Parameters

      Returns void

onReceiveTopicRESTCustomData?: ((topicID, customData) => void)

Type declaration

    • (topicID, customData): void
    • 邀请被取消

      Parameters

      • topicID: string
      • customData: ArrayBuffer

      Returns void

onCreatePermissionGroup?: ((groupID, permissionGroupInfo) => void)

Type declaration

    • (groupID, permissionGroupInfo): void
    • 权限组创建通知

      Parameters

      Returns void

onDeletePermissionGroup?: ((groupID, permissionGroupIDList) => void)

Type declaration

    • (groupID, permissionGroupIDList): void
    • 权限组删除通知

      Parameters

      • groupID: string
      • permissionGroupIDList: string[]

      Returns void

onChangePermissionGroupInfo?: ((groupID, permissionGroupInfo) => void)

Type declaration

    • (groupID, permissionGroupInfo): void
    • 权限组更新通知

      Parameters

      Returns void

onAddMembersToPermissionGroup?: ((groupID, permissionGroupID, memberIDList) => void)

Type declaration

    • (groupID, permissionGroupID, memberIDList): void
    • 添加成员到权限组中

      Parameters

      • groupID: string
      • permissionGroupID: string
      • memberIDList: string[]

      Returns void

onRemoveMembersFromPermissionGroup?: ((groupID, permissionGroupID, memberIDList) => void)

Type declaration

    • (groupID, permissionGroupID, memberIDList): void
    • 从权限组中删除成员

      Parameters

      • groupID: string
      • permissionGroupID: string
      • memberIDList: string[]

      Returns void

onAddTopicPermission?: ((groupID, permissionGroupID, topicPermissionMap) => void)

Type declaration

    • (groupID, permissionGroupID, topicPermissionMap): void
    • 增加话题权限到权限组中通知

      Parameters

      • groupID: string
      • permissionGroupID: string
      • topicPermissionMap: Map<string, number>

      Returns void

onDeleteTopicPermission?: ((groupID, permissionGroupID, topicIDList) => void)

Type declaration

    • (groupID, permissionGroupID, topicIDList): void
    • 从权限组删除的话题权限通知

      Parameters

      • groupID: string
      • permissionGroupID: string
      • topicIDList: string[]

      Returns void

onModifyTopicPermission?: ((groupID, permissionGroupID, topicPermissionMap) => void)

Type declaration

    • (groupID, permissionGroupID, topicPermissionMap): void
    • 权限组中的话题权限修改通知

      Parameters

      • groupID: string
      • permissionGroupID: string
      • topicPermissionMap: Map<string, number>

      Returns void

Generated using TypeDoc