CreateChatInviteLink constructor

CreateChatInviteLink(
  1. {required int chat_id,
  2. required String name,
  3. required int expiration_date,
  4. required int member_limit,
  5. required bool creates_join_request,
  6. int? extra,
  7. int? clientId}
)

Creates a new invite link for a chat. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right in the chat

Returns ChatInviteLink

Implementation

CreateChatInviteLink