SDKsFlutter
Apply to join a group
Apply to join or directly join a group with the OpenIM Flutter SDK.
await OpenIM.iMManager.groupManager.joinGroup(
groupID: groupID,
reason: 'I would like to join the project discussion',
joinSource: 3,
);joinSource identifies how the user found or entered the group: 2 for an invitation, 3 for search, and 4 for a QR code. When approval is required, a successful Future means only that the application was submitted. Determine whether the user joined from onJoinedGroupAdded or by retrieving the latest group information.
Was this page helpful?