ReplacePrimaryChatInviteLink constructor

const ReplacePrimaryChatInviteLink({
  1. required int chatId,
})

Replaces current primary invite link for a chat with a new primary invite link. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right

Implementation

const ReplacePrimaryChatInviteLink({
  required this.chatId,
});