You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: telebot/types.py
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -6916,16 +6916,13 @@ class Poll(JsonDeserializable):
6916
6916
:param allows_multiple_answers: True, if the poll allows multiple answers
6917
6917
:type allows_multiple_answers: :obj:`bool`
6918
6918
6919
-
:param correct_option_id: Optional. 0-based identifier of the correct answer option. Available only for polls in
6920
-
the quiz mode, which are closed, or was sent (not forwarded) by the bot or to the private chat with the bot.
6919
+
:param correct_option_id: Optional. 0-based identifier of the correct answer option. Available only for polls in the quiz mode, which are closed, or was sent (not forwarded) by the bot or to the private chat with the bot.
6921
6920
:type correct_option_id: :obj:`int`
6922
6921
6923
-
:param explanation: Optional. Text that is shown when a user chooses an incorrect answer or taps on the lamp icon in a
6924
-
quiz-style poll, 0-200 characters
6922
+
:param explanation: Optional. Text that is shown when a user chooses an incorrect answer or taps on the lamp icon in a quiz-style poll, 0-200 characters
6925
6923
:type explanation: :obj:`str`
6926
6924
6927
-
:param explanation_entities: Optional. Special entities like usernames, URLs, bot commands, etc. that appear in
6928
-
the explanation
6925
+
:param explanation_entities: Optional. Special entities like usernames, URLs, bot commands, etc. that appear in the explanation
6929
6926
:type explanation_entities: :obj:`list` of :class:`telebot.types.MessageEntity`
6930
6927
6931
6928
:param open_period: Optional. Amount of time in seconds the poll will be active after creation
@@ -6934,6 +6931,9 @@ class Poll(JsonDeserializable):
6934
6931
:param close_date: Optional. Point in time (Unix timestamp) when the poll will be automatically closed
6935
6932
:type close_date: :obj:`int`
6936
6933
6934
+
:param question_entities: Optional. Special entities that appear in the question. Currently, only custom emoji entities are allowed in poll questions
6935
+
:type question_entities: :obj:`list` of :class:`telebot.types.MessageEntity`
0 commit comments