GroupActions mixin
- Superclass constraints
- Mixin applications
-
Methods
-
acceptGroupInvitation({required String groupId, required String userId})
→ Future<Group>
-
-
acceptGroupJoinApplication({required String groupId, required String userId})
→ Future<void>
-
-
addGroupAdmin({required String groupId, required String memberId})
→ Future<void>
-
-
addGroupAllowMembers({required String groupId, required List<String> members})
→ Future<void>
-
-
addGroupBlockList({required String groupId, required List<String> members})
→ Future<void>
-
-
addGroupMembers({required String groupId, required List<String> members, String? welcome})
→ Future<void>
-
-
addGroupMuteMembers({required String groupId, required List<String> members, int duration = -1})
→ Future<void>
-
-
addListeners()
→ void
-
inherited
-
addObserver(ChatUIKitObserverBase observer)
→ void
-
inherited
-
blockGroup({required String groupId})
→ Future<void>
-
-
changeGroupDescription({required String groupId, required String desc})
→ Future<void>
-
-
changeGroupName({required String groupId, required String name})
→ Future<void>
-
-
changeGroupOwner({required String groupId, required String newOwner})
→ Future<void>
-
-
checkResult<T>(ChatSDKEvent actionEvent, Future<T> method())
→ Future<T>
-
inherited
-
createGroup({required String groupName, String? desc, List<String>? inviteMembers, String? inviteReason, required GroupOptions options})
→ Future<Group>
-
-
declineGroupInvitation({required String groupId, required String inviter, String? reason})
→ Future<void>
-
-
declineGroupJoinApplication({required String groupId, required String userId, String? reason})
→ Future<void>
-
-
deleteGroupAdmin({required String groupId, required String memberId})
→ Future<void>
-
-
deleteGroupAllowMembers({required String groupId, required List<String> members})
→ Future<void>
-
-
deleteGroupBlockList({required String groupId, required List<String> members})
→ Future<void>
-
-
deleteGroupMemberAttributes({required String groupId, required List<String> keys, String? userId})
→ Future<void>
-
-
deleteGroupMembers({required String groupId, required List<String> members})
→ Future<void>
-
-
deleteGroupMuteMembers({required String groupId, required List<String> members})
→ Future<void>
-
-
destroyGroup({required String groupId})
→ Future<void>
-
-
downloadGroupSharedFile({required String groupId, required String fileId, required String savePath})
→ Future<void>
-
-
fetchGroupAllowList(String groupId)
→ Future<List<String>>
-
-
fetchGroupAnnouncement(String groupId)
→ Future<String?>
-
-
fetchGroupBlockList({required String groupId, int pageSize = 200, int pageNum = 1})
→ Future<List<String>>
-
-
fetchGroupFileList({required String groupId, int pageSize = 200, int pageNum = 1})
→ Future<List<GroupSharedFile>>
-
-
fetchGroupInfo({required String groupId, bool fetchMembers = false})
→ Future<Group>
-
-
fetchGroupMemberAttributes({required String groupId, String? userId})
→ Future<Map<String, String>>
-
-
fetchGroupMemberIsInAllowList(String groupId)
→ Future<bool>
-
-
fetchGroupMemberList({required String groupId, int pageSize = 200, String? cursor})
→ Future<CursorResult<String>>
-
-
fetchGroupMembersAttributes({required String groupId, required List<String> userIds, List<String>? keys})
→ Future<Map<String, Map<String, String>>>
-
-
fetchGroupMuteList({required String groupId, int pageSize = 200, int pageNum = 1})
→ Future<Map<String, int>>
-
-
fetchJoinedGroupCount()
→ Future<int>
-
-
fetchJoinedGroups({int pageSize = 20, int pageNum = 0, bool needMemberCount = false, bool needRole = false})
→ Future<List<Group>>
-
-
fetchPublicGroups({int pageSize = 20, String? cursor})
→ Future<CursorResult<GroupInfo>>
-
-
getGroup({required String groupId})
→ Future<Group?>
-
-
getJoinedGroups()
→ Future<List<Group>>
-
-
inviterGroupMembers({required String groupId, required List<String> members, String? reason})
→ Future<void>
-
-
joinPublicGroup({required String groupId})
→ Future<void>
-
-
leaveGroup({required String groupId})
→ Future<void>
-
-
muteGroupAllMembers({required String groupId})
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onAdminAddedFromGroup(String groupId, String admin)
→ void
-
inherited
-
onAdminRemovedFromGroup(String groupId, String admin)
→ void
-
inherited
-
onAllGroupMemberMuteStateChanged(String groupId, bool isAllMuted)
→ void
-
inherited
-
onAllowListAddedFromGroup(String groupId, List<String> members)
→ void
-
inherited
-
onAllowListRemovedFromGroup(String groupId, List<String> members)
→ void
-
inherited
-
onAnnouncementChangedFromGroup(String groupId, String announcement)
→ void
-
inherited
-
onAttributesChangedOfGroupMember(String groupId, String userId, Map<String, String>? attributes, String? operatorId)
→ void
-
inherited
-
onAutoAcceptInvitationFromGroup(String groupId, String inviter, String? inviteMessage)
→ void
-
inherited
-
onDisableChanged(String groupId, bool isDisable)
→ void
-
inherited
-
onGroupCreatedByMyself(Group group)
→ void
-
inherited
-
onGroupDestroyed(String groupId, String? groupName)
→ void
-
inherited
-
onGroupNameChangedByMeSelf(Group group)
→ void
-
inherited
-
onInvitationAcceptedFromGroup(String groupId, String invitee, String? reason)
→ void
-
inherited
-
onInvitationDeclinedFromGroup(String groupId, String invitee, String? reason)
→ void
-
inherited
-
onInvitationReceivedFromGroup(String groupId, String? groupName, String inviter, String? reason)
→ void
-
inherited
-
onMemberExitedFromGroup(String groupId, String member)
→ void
-
inherited
-
onMemberJoinedFromGroup(String groupId, String member)
→ void
-
inherited
-
onMuteListAddedFromGroup(String groupId, List<String> mutes, int? muteExpire)
→ void
-
inherited
-
onMuteListRemovedFromGroup(String groupId, List<String> mutes)
→ void
-
inherited
-
onOwnerChangedFromGroup(String groupId, String newOwner, String oldOwner)
→ void
-
inherited
-
onRequestToJoinAcceptedFromGroup(String groupId, String? groupName, String accepter)
→ void
-
inherited
-
onRequestToJoinDeclinedFromGroup(String groupId, String? groupName, String? decliner, String? reason, String? applicant)
→ void
-
inherited
-
onRequestToJoinReceivedFromGroup(String groupId, String? groupName, String applicant, String? reason)
→ void
-
inherited
-
onSharedFileAddedFromGroup(String groupId, GroupSharedFile sharedFile)
→ void
-
inherited
-
onSharedFileDeletedFromGroup(String groupId, String fileId)
→ void
-
inherited
-
onSpecificationDidUpdate(Group group)
→ void
-
inherited
-
onUserRemovedFromGroup(String groupId, String? groupName)
→ void
-
inherited
-
removeGroupSharedFile({required String groupId, required String fileId})
→ Future<void>
-
-
removeListeners()
→ void
-
inherited
-
removeObserver(ChatUIKitObserverBase observer)
→ void
-
inherited
-
requestToJoinPublicGroup({required String groupId, String? reason})
→ Future<void>
-
-
setGroupMemberAttributes({required String groupId, required Map<String, String> attributes, String? userId})
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
unblockGroup({required String groupId})
→ Future<void>
-
-
unMuteGroupAllMembers({required String groupId})
→ Future<void>
-
-
updateGroupAnnouncement({required String groupId, required String announcement})
→ Future<void>
-
-
updateGroupExtension({required String groupId, required String extension})
→ Future<void>
-
-
uploadGroupSharedFile({required String groupId, required String filePath})
→ Future<void>
-