Layer 220
BotInlineMessage
Abstract type representing one of 7 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
BotInlineMessageMediaGeo
Send a geolocation
BotInlineMessageText
Send a simple text message
BotInlineMessageMediaVenue
Send a venue
BotInlineMessageMediaContact
Send a contact
BotInlineMessageMediaInvoice
Send an invoice
BotInlineMessageMediaWebPage
Specifies options that must be used to generate the link preview for the message, or even a standalo
Gogram Example
// BotInlineMessage is an interface type // You can use any of the following constructors: var _ tg.BotInlineMessage = &tg.BotInlineMessageMediaAuto{} var _ tg.BotInlineMessage = &tg.BotInlineMessageMediaGeo{} var _ tg.BotInlineMessage = &tg.BotInlineMessageText{} var _ tg.BotInlineMessage = &tg.BotInlineMessageMediaVenue{} var _ tg.BotInlineMessage = &tg.BotInlineMessageMediaContact{} // ... and 2 more constructors