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
+19-3Lines changed: 19 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7431,11 +7431,20 @@ class PollOption(JsonDeserializable):
7431
7431
:param text: Option text, 1-100 characters
7432
7432
:type text: :obj:`str`
7433
7433
7434
+
:param text_entities: Optional. Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts
7435
+
:type text_entities: :obj:`list` of :class:`telebot.types.MessageEntity`
7436
+
7434
7437
:param voter_count: Number of users that voted for this option
7435
7438
:type voter_count: :obj:`int`
7436
7439
7437
-
:param text_entities: Optional. Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts
7438
-
:type text_entities: :obj:`list` of :class:`telebot.types.MessageEntity`
7440
+
:param added_by_user: Optional. User who added the option; omitted if the option wasn't added by a user after poll creation
7441
+
:type added_by_user: :class:`telebot.types.User`
7442
+
7443
+
:param added_by_chat: Optional. Chat that added the option; omitted if the option wasn't added by a chat after poll creation
7444
+
:type added_by_chat: :class:`telebot.types.Chat`
7445
+
7446
+
:param addition_date: Optional. Point in time (Unix timestamp) when the option was added; omitted if the option existed in the original poll
0 commit comments