Interface InternalLinkTypeAttachmentMenuBot

Describes an internal https://t.me or tg: link, which must be processed by the application in a special way. Subtype of InternalLinkType.

interface InternalLinkTypeAttachmentMenuBot {
    @type: "internalLinkTypeAttachmentMenuBot";
    bot_username: string;
    target_chat: TargetChat;
    url: string;
}

Properties

@type: "internalLinkTypeAttachmentMenuBot"
bot_username: string

Username of the bot.

target_chat: TargetChat

Target chat to be opened.

url: string

URL to be passed to openWebApp.