BotInlineMessage
This is a boxed type (a TL class): the Go interface tg.BotInlineMessageClass, implemented by
the constructors below. A value of this type is one of them — switch on the concrete
type to handle it.
switch v := value.(type) {
case *tg.BotInlineMessageMediaAuto: // botInlineMessageMediaAuto
case *tg.BotInlineMessageMediaContact: // botInlineMessageMediaContact
case *tg.BotInlineMessageMediaGeo: // botInlineMessageMediaGeo
case *tg.BotInlineMessageMediaInvoice: // botInlineMessageMediaInvoice
case *tg.BotInlineMessageMediaVenue: // botInlineMessageMediaVenue
case *tg.BotInlineMessageMediaWebPage: // botInlineMessageMediaWebPage
case *tg.BotInlineMessageRichMessage: // botInlineMessageRichMessage
case *tg.BotInlineMessageText: // botInlineMessageText
}
Constructors
| Constructor | TL name |
|---|---|
BotInlineMessageMediaAuto | botInlineMessageMediaAuto |
BotInlineMessageMediaContact | botInlineMessageMediaContact |
BotInlineMessageMediaGeo | botInlineMessageMediaGeo |
BotInlineMessageMediaInvoice | botInlineMessageMediaInvoice |
BotInlineMessageMediaVenue | botInlineMessageMediaVenue |
BotInlineMessageMediaWebPage | botInlineMessageMediaWebPage |
BotInlineMessageRichMessage | botInlineMessageRichMessage |
BotInlineMessageText | botInlineMessageText |