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