EditChatInviteLink constructor

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

Edits a non-primary invite link for a chat. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links

Implementation

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