createInviteLink method

void createInviteLink({
  1. String? channel,
  2. String? description,
})

Make an invitation link to a channel, or to the network when no channel is named.

Implementation

void createInviteLink({String? channel, String? description}) {
  _alive();
  command({
    'type': 'create_invite_link',
    'channel': channel,
    'description': description,
  });
}