pub async fn set_poll_answer(
chat_id: i64,
message_id: i64,
option_ids: Vec<i32>,
client_id: i32,
) -> Result<(), Error>
Expand description
Changes the user answer to a poll. A poll in quiz mode can be answered only once
ยงArguments
chat_id
- Identifier of the chat to which the poll belongsmessage_id
- Identifier of the message containing the polloption_ids
- 0-based identifiers of answer options, chosen by the user. User can choose more than 1 answer option only is the poll allows multiple answersclient_id
- The client id to send the request to