|
AgoraChatSDK 1.3.1
|
#import <AgoraChatGroupManagerDelegate.h>
The group manager delegates.
|
optional |
Occurs when the SDK automatically joins the group.
If isAutoAcceptGroupInvitation in AgoraChatOptions is set as YES, when you receive a group invitation, the SDK automatically accepts the invitation and joins the group.
Needs to set the AgoraChatOptions's isAutoAcceptGroupInvitation property as YES.
| aGroup | The group instance. |
| aInviter | The inviter. |
| aMessage | The invite message. |
|
optional |
Occurs when the user leaves a group.
| aGroup | The group instance. |
| aReason | The reason for leaving the group. |
|
optional |
Occurs when a group member is added to the admin list.
| aGroup | The group instance. |
| aAdmin | The group member added to the admin list. |
|
optional |
Occurs when a groupmember is removed from the admin list.
| aGroup | The group instance. |
| aAdmin | The group member removed from the admin list. |
|
optional |
Occurs when the mute state of all group members changes.
| aGroup | The group instance. |
| aMuted | Whether all the group members are muted. |
|
optional |
Occurs when the group announcement updates.
| aGroup | The group instance. |
| aAnnouncement | The group announcement. |
|
optional |
Occurs when the group shared file is uploaded.
| aGroup | The group instance. |
| aSharedFile | The shared file. |
|
optional |
Occurs when the shared file of the group is removed.
| aGroup | The group instance. |
| aFileId | The ID of the shared file. |
|
optional |
This callback is triggered when the peer user accepts the group invitation sent by the local user. For example, user B accepts the invitation of user A, user A receives this callback.
| aGroup | The group instance. |
| aInvitee | The user that accepts the invitation. |
|
optional |
Occurs when the group invitation is declined.
This callback is triggered when a peer user declines the group invitation sent by the local user. For example, user B declines the group invitation sent by user A, user A receives this callback.
| aGroup | The group instance. |
| aInvitee | The invitee. |
| aReason | The reason for declining the group invitation. |
|
optional |
Occurs when the user receives a group invitation.
This callback is triggered by a peer user sending a group invitation. For example, after user A sends user B a group invitation, user B receives this callback.
| aGroupId | The group ID. |
| aGroupName | The group name. |
| aInviter | The user sending the group invitation. |
| aMessage | The invitation message. |
|
optional |
Occurs when the user receives a group invitation.
This callback is triggered by a peer user sending a group invitation. For example, after user A sends user B a group invitation, user B receives this callback.
Deprecated. Please use groupInvitationDidReceive:groupName:inviter:message: instead.
| aGroupId | The group ID. |
| aInviter | The user sending the group invitation. |
| aMessage | The invitation message. |
|
optional |
Occurs when the group list updates.
| aGroupList | The group NSArray. See <AgoraChatGroup>. |
|
optional |
Occurs when the group members are added to the group mute list.
| aGroup | The group instance. |
| aMutedMembers | The group members that are added to the mute list. |
| aMuteExpire | The time when the mute state expires. This parameter is not available at the moment. |
|
optional |
Occurs when the group members are removed from the mute list.
| aGroup | The group instance. |
| aMutedMembers | The group members removed from the mute list. |
|
optional |
Occurs when the group owner changes.
| aGroup | The group instance. |
| aNewOwner | The new owner. |
| aOldOwner | The old owner. |
|
optional |
Occurs when the group specification update,Need to call for details of the API (IAgoraChatGroupManager.h : getGroupSpecificationFromServerWithId) to get the latest information
| aGroup | The group instance. |
|
optional |
Occurs when the disabled state of group changes.
| aGroup | The group instance. |
| aDisabled | Whether the group is disabled. |
|
optional |
Occurs when the group members are added to the allowlist.
| aGroup | The group instance. |
| aMembers | The group members added to the allowlist. |
|
optional |
Occurs when the group members are removed from the allowlist.
| aGroup | The group instance. |
| aMembers | The group members removed from the allowlist. |
|
optional |
If you set the group type as AgoraChatGroupStylePublicJoinNeedApproval, when the group owner approves the join request, the user that sends the request receives this callback.
| aGroup | The group instance. |
|
optional |
Deprecated.If you set the group type as AgoraChatGroupStylePublicJoinNeedApproval, when the group owner declines a join request, the user that sends the request receives this callback.
| aGroupId | The group ID. |
| aReason | The reason for declining the join request. |
|
optional |
If you set the group type as AgoraChatGroupStylePublicJoinNeedApproval, when the group owner declines a join request, the user that sends the request receives this callback.
| aGroupId | The group ID. |
| aReason | The reason for declining the join request. |
| applicant | The userId of applicant |
|
optional |
If you set the group type as AgoraChatGroupStylePublicJoinNeedApproval, when the group owner declines a join request, the user that sends the request receives this callback.
| aGroupId | The group ID. |
| aReason | The reason for declining the join request. |
| aDecliner | The userId of decliner(owner/admin) |
| applicant | The userId of applicant |
|
optional |
Occurs when the group owner receives a join request.
If you set the group type as AgoraChatGroupStylePublicJoinNeedApproval, when a user requests to join the group, the group owner receives this callback.
| aGroup | The group instance. |
| aUsername | The user that sends the join request. |
| aReason | The extra information for joining the group. |
|
optional |
Occurs when a custom attribute(s) of a group member is/are changed.
| groupId | The group ID. |
| userId | The user ID of the group member whose custom attributes are changed. |
| attributes | The modified custom attributes, in key-value format. |
| operatorId | The user ID of the operator. |
|
optional |
Occurs when a user joins a group.
| aGroup | The group instance. |
| aUsername | The user that joins the group. |
|
optional |
Occurs when a user leaves the group.
| aGroup | The group instance. |
| aUsername | The user that leaves the group. |