GramIO API Reference / gramio/dist / TelegramPollAnswer
Interface: TelegramPollAnswer
Defined in: @gramio/types/out/objects.d.ts:1809
This object represents an answer of a user in a non-anonymous poll.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
option_ids | number[] | 0-based identifiers of chosen answer options. May be empty if the vote was retracted. | @gramio/types/out/objects.d.ts:1825 |
poll_id | string | Unique poll identifier | @gramio/types/out/objects.d.ts:1813 |
user? | TelegramUser | Optional. The user that changed the answer to the poll, if the voter isn't anonymous | @gramio/types/out/objects.d.ts:1821 |
voter_chat? | TelegramChat | Optional. The chat that changed the answer to the poll, if the voter is anonymous | @gramio/types/out/objects.d.ts:1817 |