Skip to main content

botInlineResult

Generic result

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

Implements BotInlineResult.

Fields​

NameTypeRequiredDescription
IDstringyesResult ID
TypestringyesResult type (see bot API docs)
Titlestring—Result title
Descriptionstring—Result description
URLstring—URL of article or webpage
ThumbWebDocumentClass—Thumbnail for the result
ContentWebDocumentClass—Content of the result
SendMessageBotInlineMessageClassyesMessage to send

References​