Skip to main content

inputBotInlineResult

An inline bot result

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

Implements InputBotInlineResult.

Fields​

NameTypeRequiredDescription
IDstringyesID of result
TypestringyesResult type (see bot API docs)
Titlestring—Result title
Descriptionstring—Result description
URLstring—URL of result
ThumbInputWebDocument—Thumbnail for result
ContentInputWebDocument—Result contents
SendMessageInputBotInlineMessageClassyesMessage to send when the result is selected

References​