inputMediaPoll
A poll
type tg.InputMediaPoll struct { /* ... */ }
Implements InputMedia.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Poll | Poll | yes | The poll to send |
CorrectAnswers | []int | — | Correct answer IDs (for quiz polls) |
AttachedMedia | InputMediaClass | — | AttachedMedia field of InputMediaPoll. |
Solution | string | — | Explanation of quiz solution |
SolutionEntities | []MessageEntityClass | — | Message entities for styled text |
SolutionMedia | InputMediaClass | — | SolutionMedia field of InputMediaPoll. |
References
- Official documentation
- Generated Go reference
- TL definition:
inputMediaPoll#883a4108