GramIO API Reference / gramio/dist / TelegramPollAnswer
Interface: TelegramPollAnswer
Defined in: @gramio/types/out/objects.d.ts:1853
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:1869 |
option_persistent_ids | string[] | Persistent identifiers of the chosen answer options. May be empty if the vote was retracted. | @gramio/types/out/objects.d.ts:1873 |
poll_id | string | Unique poll identifier | @gramio/types/out/objects.d.ts:1857 |
user? | TelegramUser | Optional. The user that changed the answer to the poll, if the voter isn't anonymous | @gramio/types/out/objects.d.ts:1865 |
voter_chat? | TelegramChat | Optional. The chat that changed the answer to the poll, if the voter is anonymous | @gramio/types/out/objects.d.ts:1861 |