Interface InternalLinkTypeBotInvite

The link is a link to invite users to private chats with a bot. Call searchPublicChat with the given bot username. If the chat is found, the chat is a chat with a bot, and the bot has can_be_edited == true, then ask the current user to select up to 10 users to invite and call inviteUsersToBot. Otherwise, show an error message. Subtype of InternalLinkType.

interface InternalLinkTypeBotInvite {
    @type: "internalLinkTypeBotInvite";
    bot_username: string;
}

Properties

Properties

@type: "internalLinkTypeBotInvite"
bot_username: string

Username of the bot.