inputBotInlineResultPhoto
Photo
type tg.InputBotInlineResultPhoto struct { /* ... */ }
Implements InputBotInlineResult.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
ID | string | yes | Result ID |
Type | string | yes | Result type (see bot API docs) |
Photo | InputPhotoClass | yes | Photo to send |
SendMessage | InputBotInlineMessageClass | yes | Message to send when the result is selected |
References
- Official documentation
- Generated Go reference
- TL definition:
inputBotInlineResultPhoto#a8d864a7