stop_poll#
-
template<class Connector>
api_result<poll_t, Connector&&> stop_poll(Connector &&connector, stop_poll_args_t args)#
-
template<class Connector>
api_result<poll_t, Connector&&> call(Connector &&connector, stop_poll_args_t args)# connector
is any object satisfying connector concept.Use this method to stop a poll which was sent by the bot. On success, the stopped Poll with the final results is returned.
-
struct stop_poll_args_t#
Arguments that should be passed to
stop_poll()
.Unique identifier for the target chat or username of the target channel (in the format @channelusername)
Identifier of the original message with the poll
-
optional_t<inline_keyboard_markup_t> reply_markup#
A JSON-serialized object for a new message inline keyboard.
-
optional_t<inline_keyboard_markup_t> reply_markup#