pub async fn stop_poll(
chat_id: i64,
message_id: i64,
reply_markup: Option<ReplyMarkup>,
client_id: i32,
) -> Result<(), Error>Expand description
Stops a poll. A poll in a message can be stopped when the message has can_be_edited flag is set
ยงArguments
chat_id- Identifier of the chat to which the poll belongsmessage_id- Identifier of the message containing the pollreply_markup- The new message reply markup; pass null if none; for bots onlyclient_id- The client id to send the request to