Update Group Profile
Update a Group Name#
To 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 Image#
Too 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 Image#
To 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.