lib/tdlib/client_methods.rb
# Stops a poll.
# A poll in a message can be stopped when the message has can_be_edited flag set.
#
# @param chat_id [Integer] Identifier of the chat to which the poll belongs.
# @param message_id [Integer] Identifier of the message containing the poll.
# @param reply_markup [TD::Types::ReplyMarkup] The new message reply markup; pass null if none; for bots only.
# @return [TD::Types::Ok]
Stops a poll.
A poll in a message can be stopped when the message has can_be_edited flag set.
Stops a poll . A poll in a message can be stopped when the message has can_be_edited flag set .
def stop_poll(chat_id:, message_id:, reply_markup:)
    broadcast('@type'        => 'stopPoll',
              'chat_id'      => chat_id,
              'message_id'   => message_id,
              'reply_markup' => reply_markup)
  end
def stop_poll ( chat_id : , message_id : , reply_markup : ) broadcast ( '@type' => 'stopPoll' , 'chat_id' => chat_id , 'message_id' => message_id , 'reply_markup' => reply_markup ) end
Stops a poll.
Stops a poll .
None
TD::Types::Ok
chat_id
Identifier of the chat to which the poll belongs.
Identifier of the chat to which the poll belongs .
message_id
Identifier of the message containing the poll.
Identifier of the message containing the poll .
reply_markup
The new message reply markup; pass null if none; for bots only.
The new message reply markup ; pass null if none ; for bots only .