InputPollOption
This object contains information about one answer option in a poll to be sent.
fields
| field | type | required | description |
|---|---|---|---|
text | string | required | Option text, 1-100 characters |
text_parse_mode | string | optional | Optional. Mode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed. |
text_entities | MessageEntity[] | optional | Optional. A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of text_parse_mode. |
media | InputPollOptionMedia | optional | Optional. Media added to the poll option |
import
import type { InputPollOption } from "@yaebal/types";used by
methods
official Bot API docs: https://core.telegram.org/bots/api/#inputpolloption