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)
Titlestring—Result title
Descriptionstring—Result description
DocumentInputDocumentClassyesDocument to send
SendMessageInputBotInlineMessageClassyesMessage to send when the result is selected

References​