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
:param text: Text that will be shown along with the gift; 0-255 characters
6884
6884
:type text: :obj:`str`
6885
6885
6886
-
:param text_parse_mode: Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored.
6886
+
:param text_parse_mode: Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, “custom_emoji”, and “date_time” are ignored.
6887
6887
:type text_parse_mode: :obj:`str`
6888
6888
6889
-
:param text_entities: A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored.
6889
+
:param text_entities: A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, “custom_emoji”, and “date_time” are ignored.
6890
6890
:type text_entities: :obj:`list` of :obj:`types.MessageEntity`
:param text: Text that will be shown along with the service message about the subscription; 0-128 characters
7591
7591
:type text: :obj:`str`
7592
7592
7593
-
:param text_parse_mode: Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored.
7593
+
:param text_parse_mode: Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, “custom_emoji”, and “date_time” are ignored.
7594
7594
:type text_parse_mode: :obj:`str`
7595
7595
7596
-
:param text_entities: A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored.
7596
+
:param text_entities: A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, “custom_emoji”, and “date_time” are ignored.
7597
7597
:type text_entities: :obj:`list` of :class:`telebot.types.MessageEntity`
:param text: Text that will be shown along with the gift; 0-255 characters
8411
8411
:type text: :obj:`str`
8412
8412
8413
-
:param text_parse_mode: Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored.
8413
+
:param text_parse_mode: Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, “custom_emoji”, and “date_time” are ignored.
8414
8414
:type text_parse_mode: :obj:`str`
8415
8415
8416
-
:param text_entities: A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored.
8416
+
:param text_entities: A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, “custom_emoji”, and “date_time” are ignored.
8417
8417
:type text_entities: :obj:`list` of :obj:`types.MessageEntity`
:param text: Text that will be shown along with the service message about the subscription; 0-128 characters
9160
9160
:type text: :obj:`str`
9161
9161
9162
-
:param text_parse_mode: Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored.
9162
+
:param text_parse_mode: Mode for parsing entities in the text. See formatting options for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, “custom_emoji”, and “date_time” are ignored.
9163
9163
:type text_parse_mode: :obj:`str`
9164
9164
9165
-
:param text_entities: A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom_emoji” are ignored.
9165
+
:param text_entities: A JSON-serialized list of special entities that appear in the gift text. It can be specified instead of text_parse_mode. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, “custom_emoji”, and “date_time” are ignored.
9166
9166
:type text_entities: :obj:`list` of :class:`telebot.types.MessageEntity`
Copy file name to clipboardExpand all lines: telebot/types.py
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -9650,7 +9650,7 @@ class TextQuote(JsonDeserializable):
9650
9650
:param text: Text of the quoted part of a message that is replied to by the given message
9651
9651
:type text: :obj:`str`
9652
9652
9653
-
:param entities: Optional. Special entities that appear in the quote. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are kept in quotes.
9653
+
:param entities: Optional. Special entities that appear in the quote. Currently, only bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities are kept in quotes.
9654
9654
:type entities: :obj:`list` of :class:`MessageEntity`
9655
9655
9656
9656
:param position: Approximate quote position in the original message in UTF-16 code units as specified by the sender
@@ -9698,13 +9698,18 @@ class ReplyParameters(JsonDeserializable, Dictionaryable, JsonSerializable):
9698
9698
:param message_id: Identifier of the message that will be replied to in the current chat, or in the chat chat_id if it is specified
9699
9699
:type message_id: :obj:`int`
9700
9700
9701
-
:param chat_id: Optional. If the message to be replied to is from a different chat, unique identifier for the chat or username of the channel (in the format @channelusername)
9701
+
:param chat_id: Optional. If the message to be replied to is from a different chat, unique identifier for the chat or username
9702
+
of the channel (in the format @channelusername)
9702
9703
:type chat_id: :obj:`int` or :obj:`str`
9703
9704
9704
-
:param allow_sending_without_reply: Optional. Pass True if the message should be sent even if the specified message to be replied to is not found; can be used only for replies in the same chat and forum topic.
9705
+
:param allow_sending_without_reply: Optional. Pass True if the message should be sent even if the specified message to be replied to is not found;
9706
+
can be used only for replies in the same chat and forum topic.
9705
9707
:type allow_sending_without_reply: :obj:`bool`
9706
9708
9707
-
:param quote: Optional. Quoted part of the message to be replied to; 0-1024 characters after entities parsing. The quote must be an exact substring of the message to be replied to, including bold, italic, underline, strikethrough, spoiler, and custom_emoji entities. The message will fail to send if the quote isn't found in the original message.
9709
+
:param quote: Optional. Quoted part of the message to be replied to; 0-1024 characters after entities parsing.
9710
+
The quote must be an exact substring of the message to be replied to, including bold, italic, underline,
9711
+
strikethrough, spoiler, custom_emoji, and date_time entities. The message will fail to send if the quote
9712
+
isn't found in the original message.
9708
9713
:type quote: :obj:`str`
9709
9714
9710
9715
:param quote_parse_mode: Optional. Mode for parsing entities in the quote. See formatting options for more details.
@@ -13133,7 +13138,8 @@ class InputChecklistTask(JsonSerializable):
13133
13138
:param parse_mode: Optional. Mode for parsing entities in the text. See formatting options for more details.
13134
13139
:type parse_mode: :obj:`str`
13135
13140
13136
-
:param text_entities: Optional. List of special entities that appear in the text, which can be specified instead of parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are allowed.
13141
+
:param text_entities: Optional. List of special entities that appear in the text, which can be specified instead of parse_mode.
13142
+
Currently, only bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities are allowed.
13137
13143
:type text_entities: :obj:`list` of :class:`MessageEntity`
13138
13144
13139
13145
:return: Instance of the class
@@ -13173,7 +13179,8 @@ class InputChecklist(JsonSerializable):
13173
13179
:param parse_mode: Optional. Mode for parsing entities in the title. See formatting options for more details.
13174
13180
:type parse_mode: :obj:`str`
13175
13181
13176
-
:param title_entities: Optional. List of special entities that appear in the title, which can be specified instead of parse_mode. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are allowed.
13182
+
:param title_entities: Optional. List of special entities that appear in the title, which can be specified instead of parse_mode.
13183
+
Currently, only bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities are allowed.
13177
13184
:type title_entities: :obj:`list` of :class:`MessageEntity`
0 commit comments