Skip to main content

inputBotInlineResultDocument

Document (media of any type except for photos)

type tg.InputBotInlineResultDocument struct { /* ... */ }

Implements InputBotInlineResult.

Fields

NameTypeRequiredDescription
IDstringyesResult ID
TypestringyesResult type (see bot API docs)
TitlestringResult title
DescriptionstringResult description
DocumentInputDocumentClassyesDocument to send
SendMessageInputBotInlineMessageClassyesMessage to send when the result is selected

References