AttachMenuPeerType

class pyrogram.raw.base.AttachMenuPeerType

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

Constructors:

This base type has 5 constructors available.

AttachMenuPeerTypeBotPM

The bot attachment menu entry is available in private chats with other bots (excluding the bot that offers the current attachment menu)

AttachMenuPeerTypeBroadcast

The bot attachment menu entry is available in channels

AttachMenuPeerTypeChat

The bot attachment menu entry is available in groups and supergroups

AttachMenuPeerTypePM

The bot attachment menu entry is available in private chats with other users (not bots)

AttachMenuPeerTypeSameBotPM

The bot attachment menu entry is available in the chat with the bot that offers it