chat_idinteger · requiredcreate_poll
Create a poll in a chat using Telegram's native poll feature. Args: chat_id: The ID of the chat to send the poll to question: The poll question options: List of answer options (2-10 options) multiple_choice: Whether users can select multiple answers quiz_mode: Whether this is a quiz (has correct answer) public_votes: Whether votes are public close_date: Optional close date in ISO format (YYYY-MM-DD HH:MM:SS)
Can change or delete data
Parameters
questionstring · requiredoptionsarray · requiredmultiple_choiceboolean · default falsequiz_modeboolean · default falsepublic_votesboolean · default trueclose_datestring · default nullaccountstring · default null