CreateChatInviteLink constructor

const CreateChatInviteLink({
  1. required int chatId,
  2. required String name,
  3. required int expirationDate,
  4. required int memberLimit,
  5. required bool createsJoinRequest,
})

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

Implementation

const CreateChatInviteLink({
  required this.chatId,
  required this.name,
  required this.expirationDate,
  required this.memberLimit,
  required this.createsJoinRequest,
});