AttachMenuPeerType

Indicates a supported peer type for a bot mini app attachment menu

attachMenuPeerTypeSameBotPM#7d6be90e = AttachMenuPeerType;
attachMenuPeerTypeBotPM#c32bfa1a = AttachMenuPeerType;
attachMenuPeerTypePM#f146d31f = AttachMenuPeerType;
attachMenuPeerTypeChat#509113f = AttachMenuPeerType;
attachMenuPeerTypeBroadcast#7bfbdefc = AttachMenuPeerType;

Constructors

Constructor Description
attachMenuPeerTypeSameBotPM The bot attachment menu entry is available in the chat with the bot that offers it
attachMenuPeerTypeBotPM The bot attachment menu entry is available in private chats with other bots (excluding the bot that offers the current attachment menu)
attachMenuPeerTypePM The bot attachment menu entry is available in private chats with other users (not bots)
attachMenuPeerTypeChat The bot attachment menu entry is available in groups and supergroups
attachMenuPeerTypeBroadcast The bot attachment menu entry is available in channels

Related pages

Telegram Mini Apps