InputPollOption

Raw MD
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

FieldTypeRequiredDescription
textStringAlwaysOption text, 1-100 characters
text_parse_modeStringOptionalMode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed.
text_entitiesArray of MessageEntityOptionalA JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of text_parse_mode.
mediaInputPollOptionMediaOptionalMedia added to the poll option
Botlify Cloud Runtime
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.