Layer 227
BotInlineMessage
Abstract type representing one of 8 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.BotInlineMessage interface.
Use any of the following constructors:
BotInlineMessageMediaAuto
Send whatever media is attached to the bot Inline Media Result
BotInlineMessageMediaContact
Send a contact
BotInlineMessageMediaGeo
Send a geolocation
BotInlineMessageMediaInvoice
Send an invoice
BotInlineMessageMediaVenue
Send a venue
BotInlineMessageMediaWebPage
Specifies options that must be used to generate the link preview for the message, or even a standalo
BotInlineMessageRichMessage
Inline-bot result delivered as a rich-formatted message with optional inline keyboard.
BotInlineMessageText
Send a simple text message
Gogram Example
// BotInlineMessage is an interface type // You can use any of the following constructors: var _ tg.BotInlineMessage = &tg.BotInlineMessageMediaAuto{} var _ tg.BotInlineMessage = &tg.BotInlineMessageMediaContact{} var _ tg.BotInlineMessage = &tg.BotInlineMessageMediaGeo{} var _ tg.BotInlineMessage = &tg.BotInlineMessageMediaInvoice{} var _ tg.BotInlineMessage = &tg.BotInlineMessageMediaVenue{} // ... and 3 more constructors