Interface ReplacePrimaryChatInviteLink

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. Request type for Tdjson#replacePrimaryChatInviteLink.

interface ReplacePrimaryChatInviteLink {
    @type: "replacePrimaryChatInviteLink";
    chat_id: number;
}

Properties

Properties

@type: "replacePrimaryChatInviteLink"
chat_id: number

Chat identifier.