Метод Bot API
sendPoll
34 параметрів. Обов'язкові позначено.
Параметри
ПараметрТипОбов'язковий
business_connection_idStringні
chat_idInteger or Stringтак
message_thread_idIntegerні
questionStringтак
question_parse_modeStringні
question_entitiesArray of MessageEntityні
optionsArray of InputPollOptionтак
is_anonymousBooleanні
typeStringні
allows_multiple_answersBooleanні
allows_revotingBooleanні
shuffle_optionsBooleanні
allow_adding_optionsBooleanні
hide_results_until_closesBooleanні
members_onlyBooleanні
country_codesArray of Stringні
correct_option_idsArray of Integerні
explanationStringні
explanation_parse_modeStringні
explanation_entitiesArray of MessageEntityні
explanation_mediaInputPollMediaні
open_periodIntegerні
close_dateIntegerні
is_closedBooleanні
descriptionStringні
description_parse_modeStringні
description_entitiesArray of MessageEntityні
mediaInputPollMediaні
disable_notificationBooleanні
protect_contentBooleanні
allow_paid_broadcastBooleanні
message_effect_idStringні
reply_parametersReplyParametersні
reply_markupInlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReplyні
Споріднені методи
Пораховані за спільними параметрами — такого зрізу в першоджерелі немає.
Опис методу — у Telegram: першоджерело · весь довідник