InputPollOption
This object contains information about one answer option in a poll to be sent
This object contains information about one answer option in a poll to be sent.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
text | String | Always | Option text, 1-100 characters |
text_parse_mode | String | Optional | Mode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed. |
text_entities | Array of MessageEntity | 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 | Media added to the poll option |
Botlify Cloud Runtime
Credentials are auto-injected in
Credentials are auto-injected in
.env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.