leaveGroup()
method.
Parameter | Description |
---|---|
GUID | The UID of the group you would like to leave |
onGroupMemberLeft()
method of the CometChatGroupDelegate
. In order to receive user Events, you must add protocol conformance CometChatGroupDelegate
as shown below :
viewDidLoad()
as CometChat.groupdelegate = self
Action
message. An Action
message is a sub-class of BaseMessage
class.
For the group member left event, in the Action
object received, the following fields can help you get the relevant information-
action
- left
actionBy
- User object containing the details of the user who left the groupactionFor
- Group object containing the details of the group the user has left