Layer 220
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:
InlineQueryPeerTypePm
Peer type: private chat
InlineQueryPeerTypeBotPm
Peer type: private chat with a bot.
InlineQueryPeerTypeMegagroup
Peer type: supergroup
InlineQueryPeerTypeSameBotPm
Peer type: private chat with the bot itself
InlineQueryPeerTypeBroadcast
Peer type: channel
InlineQueryPeerTypeChat
Peer type: chat
Gogram Example
// InlineQueryPeerType is an interface type // You can use any of the following constructors: var _ tg.InlineQueryPeerType = &tg.InlineQueryPeerTypePm{} var _ tg.InlineQueryPeerType = &tg.InlineQueryPeerTypeBotPm{} var _ tg.InlineQueryPeerType = &tg.InlineQueryPeerTypeMegagroup{} var _ tg.InlineQueryPeerType = &tg.InlineQueryPeerTypeSameBotPm{} var _ tg.InlineQueryPeerType = &tg.InlineQueryPeerTypeBroadcast{} // ... and 1 more constructors