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