Interface InternalLinkTypeBotStart

The link is a link to a chat with a Telegram bot. Call searchPublicChat with the given bot username, check that the user is a bot, show START button in the chat with the bot, and then call sendBotStartMessage with the given start parameter after the button is pressed. Subtype of InternalLinkType.

interface InternalLinkTypeBotStart {
    @type: "internalLinkTypeBotStart";
    autostart?: boolean;
    bot_username: string;
    start_parameter: string;
}

Properties

@type: "internalLinkTypeBotStart"
autostart?: boolean

True, if sendBotStartMessage must be called automatically without showing the START button.

bot_username: string

Username of the bot.

start_parameter: string

The parameter to be passed to sendBotStartMessage.