Optional
onAdminAdded
onAdminAdded?: ((groupId: string, administrator: string) => void)
Type declaration
- (groupId, administrator): void
Parameters
- groupId: string
- administrator: string
Returns void
Optional
onAdminRemoved
onAdminRemoved?: ((groupId: string, administrator: string) => void)
Type declaration
- (groupId, administrator): void
Parameters
- groupId: string
- administrator: string
Returns void
Optional
onAllMemberMuteStateChanged
onAllMemberMuteStateChanged?: ((groupId: string, isMuted: boolean) => void)
Type declaration
- (groupId, isMuted): void
Parameters
- groupId: string
- isMuted: boolean
Returns void
Optional
onAnnouncementChanged
onAnnouncementChanged?: ((groupId: string, announcement: string) => void)
Type declaration
- (groupId, announcement): void
Parameters
- groupId: string
- announcement: string
Returns void
Optional
onAutoAcceptInvitationFromGroup
onAutoAcceptInvitationFromGroup?: ((groupId: string, inviter: string, inviteMessage: string) => void)
Type declaration
- (groupId, inviter, inviteMessage): void
Parameters
- groupId: string
- inviter: string
- inviteMessage: string
Returns void
Optional
onGroupDestroyed
onGroupDestroyed?: ((groupId: string, groupName: string) => void)
Type declaration
- (groupId, groupName): void
Parameters
- groupId: string
- groupName: string
Returns void
Optional
onGroupMemberAttributeChanged
onGroupMemberAttributeChanged?: ((groupId: string, member: string, attributes: Map<string, string>, from: string) => void)
Type declaration
- (groupId, member, attributes, from): void
Parameters
- groupId: string
- member: string
- attributes: Map<string, string>
- from: string
Returns void
Optional
onInvitationAccepted
onInvitationAccepted?: ((groupId: string, invitee: string, reason: string) => void)
Type declaration
- (groupId, invitee, reason): void
Parameters
- groupId: string
- invitee: string
- reason: string
Returns void
Optional
onInvitationDeclined
onInvitationDeclined?: ((groupId: string, invitee: string, reason: string) => void)
Type declaration
- (groupId, invitee, reason): void
Parameters
- groupId: string
- invitee: string
- reason: string
Returns void
Optional
onInvitationReceived
onInvitationReceived?: ((groupId: string, groupName: string, inviter: string, reason: string) => void)
Type declaration
- (groupId, groupName, inviter, reason): void
Parameters
- groupId: string
- groupName: string
- inviter: string
- reason: string
Returns void
Optional
onMemberExited
onMemberExited?: ((groupId: string, member: string) => void)
Type declaration
- (groupId, member): void
Parameters
- groupId: string
- member: string
Returns void
Optional
onMemberJoined
onMemberJoined?: ((groupId: string, member: string) => void)
Type declaration
- (groupId, member): void
Parameters
- groupId: string
- member: string
Returns void
Optional
onMutelistAdded
onMutelistAdded?: ((groupId: string, mutes: string[], muteExpire: number) => void)
Type declaration
- (groupId, mutes, muteExpire): void
Parameters
- groupId: string
- mutes: string[]
- muteExpire: number
Returns void
Optional
onMutelistRemoved
onMutelistRemoved?: ((groupId: string, mutes: string[]) => void)
Type declaration
- (groupId, mutes): void
Parameters
- groupId: string
- mutes: string[]
Returns void
Optional
onOwnerChanged
onOwnerChanged?: ((groupId: string, newOwner: string, oldOwner: string) => void)
Type declaration
- (groupId, newOwner, oldOwner): void
Parameters
- groupId: string
- newOwner: string
- oldOwner: string
Returns void
Optional
onRequestToJoinAccepted
onRequestToJoinAccepted?: ((groupId: string, groupName: string, accepter: string) => void)
Type declaration
- (groupId, groupName, accepter): void
Parameters
- groupId: string
- groupName: string
- accepter: string
Returns void
Optional
onRequestToJoinDeclined
onRequestToJoinDeclined?: ((groupId: string, groupName: string, decliner: string, applicant: string, reason: string) => void)
Type declaration
- (groupId, groupName, decliner, applicant, reason): void
Parameters
- groupId: string
- groupName: string
- decliner: string
- applicant: string
- reason: string
Returns void
Optional
onRequestToJoinReceived
onRequestToJoinReceived?: ((groupId: string, groupName: string, applicant: string, reason: string) => void)
Type declaration
- (groupId, groupName, applicant, reason): void
Parameters
- groupId: string
- groupName: string
- applicant: string
- reason: string
Returns void
Optional
onSharedFileAdded
onSharedFileAdded?: ((groupId: string,
sharedFile: SharedFile) => void) Type declaration
- (groupId, sharedFile): void
Returns void
Optional
onSharedFileDeleted
onSharedFileDeleted?: ((groupId: string, fileId: string) => void)
Type declaration
- (groupId, fileId): void
Parameters
- groupId: string
- fileId: string
Returns void
Optional
onSpecificationChanged
onSpecificationChanged?: ((group: Group) => void) Type declaration
- (group): void
Returns void
Optional
onStateChanged
onStateChanged?: ((group: Group,
isDisabled: boolean) => void) Type declaration
- (group, isDisabled): void
Parameters
- group: Group
- isDisabled: boolean
Returns void
Optional
onUserRemoved
onUserRemoved?: ((groupId: string, groupName: string) => void)
Type declaration
- (groupId, groupName): void
Parameters
- groupId: string
- groupName: string
Returns void
Optional
onWhitelistAdded
onWhitelistAdded?: ((groupId: string, whitelist: string[]) => void)
Type declaration
- (groupId, whitelist): void
Parameters
- groupId: string
- whitelist: string[]
Returns void
Optional
onWhitelistRemoved
onWhitelistRemoved?: ((groupId: string, whitelist: string[]) => void)
Type declaration
- (groupId, whitelist): void
Parameters
- groupId: string
- whitelist: string[]
Returns void
群组事件监听器。
监听群组相关的事件,例如,加群申请,群主同意或者拒绝加群,被踢群等事件。