Layer 224
InlineQueryPeerType
Abstract type representing one of 6 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.InlineQueryPeerType interface.
Use any of the following constructors:
InlineQueryPeerTypeSameBotPm
Peer type: private chat with the bot itself
InlineQueryPeerTypePm
Peer type: private chat
InlineQueryPeerTypeChat
Peer type: chat
InlineQueryPeerTypeMegagroup
Peer type: supergroup
InlineQueryPeerTypeBroadcast
Peer type: channel
InlineQueryPeerTypeBotPm
Peer type: private chat with a bot.
Gogram Example
// InlineQueryPeerType is an interface type // You can use any of the following constructors: var _ tg.InlineQueryPeerType = &tg.InlineQueryPeerTypeSameBotPm{} var _ tg.InlineQueryPeerType = &tg.InlineQueryPeerTypePm{} var _ tg.InlineQueryPeerType = &tg.InlineQueryPeerTypeChat{} var _ tg.InlineQueryPeerType = &tg.InlineQueryPeerTypeMegagroup{} var _ tg.InlineQueryPeerType = &tg.InlineQueryPeerTypeBroadcast{} // ... and 1 more constructors