Update Group Profile
#
Update a Group NameTo update a group name, call below method
Argument | Type | Description |
---|---|---|
groupJid | String | jid of the group |
groupName | String | group name (should not be null or empty) |
completionHandler | FlyCompletionHandler | implemented as closure expression |
info
func didUpdateGroupProfile(groupJid: String) method will be called, which is defined in GroupEventsDelegate.
#
Add or Update Group ImageToo add or update group image, call below method
Argument | Type | Description |
---|---|---|
groupJid | String | jid of the group |
groupProfileImageUrl | String | local file url (image path) of the image |
completionHandler | FlyCompletionHandler | implemented as closure expression |
info
func didUpdateGroupProfile(groupJid: String) method will be called, which is defined in GroupEventsDelegate.
#
Remove Group ImageTo remove group image, call below method
Argument | Type | Description |
---|---|---|
groupJid | String | jid of the group |
completionHandler | FlyCompletionHandler | implemented as closure expression |
info
func didUpdateGroupProfile(groupJid: String) method will be called, which is defined in GroupEventsDelegate.