GroupChannelOperation extension
GroupChannelOperation
- on
Methods
-
acceptInvitation(
{String? accessCode}) → Future< void> -
Accepts the invitation sent to the current
User. After the acceptance, theUserwill be joined to thisGroupChannel. -
declineInvitation(
) → Future< void> -
Declines the invitation sent to the current
User. -
invite(
List< String> userIds) → Future<void> -
Invites
Users top this channel. -
join(
{String? accessCode}) → Future< void> - Joins this channel if this channel is public.
-
leave(
{bool? shouldRemoveOperatorStatus}) → Future< void> -
Leaves this channel.
Set
shouldRemoveOperatorStatusto true if you want to remove the operator status. -
resetMyHistory(
) → Future< void> - Resets the chat history of this channel for the current User. After this call, the messages created before the call will not be loaded.