declineInvitation method

Future<void> declineInvitation()

Declines the invitation sent to the current User.

Implementation

Future<void> declineInvitation() async {
  sbLog.i(StackTrace.current);

  await chat.apiClient.send(
      GroupChannelInvitationDeclineRequest(chat, channelUrl: channelUrl));
}