Retrieve Group Data
#
Get Group MembersTo fetch all the groups members of a group call the below method.
- Dart
- Response
caution
Fetching group members from a server will be called internally when required. So , unless it was necessary set false
for getServerData.
Argument | Type | Description |
---|---|---|
GET_SERVER_DATA | bool | if true fetches data from the server else fetches data from local database |
GROUP_JID | String | Jid of the group |
flyCallback | FlyResponse | callback to observe the action status |
#
Check User is a memberTo check whether a user of a given jid is a member of the group
Argument | Type | Description |
---|---|---|
GROUP_ID | String | Jid of the group |
USER_JID | String | Jid of the user |
#
Check group adminUser can able to check some participant of the group is a admin or not to the group.
The below method can be used to check someone admin or not.The below method will return true
if userJid
is admin for the provided groupJid
.
Argument | Type | Description |
---|---|---|
GROUP_JID | String | Jid of the group |
USER_JID | String | Jid of the group participant |