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
{{ message }}
Repository navigation
Commit d35afa0
Browse filesBrowse the repository at this point in the historyBrowse files
:return: On success, the sent Message is returned.
@@ -2732,7 +2732,7 @@ def send_live_photo(
2732
2732
:param message_thread_id: Identifier of a message thread, in which the message will be sent
2733
2733
:type message_thread_id: :obj:`int`
2734
2734
2735
-
:param direct_messages_topic_id: Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
2735
+
:param direct_messages_topic_id: Optional. Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
2736
2736
:type direct_messages_topic_id: :obj:`int`
2737
2737
2738
2738
:param business_connection_id: Unique identifier of the business connection on behalf of which the message will be sent
@@ -2790,7 +2790,7 @@ def send_live_photo(
2790
2790
:type reply_markup: :class:`telebot.types.InlineKeyboardMarkup` or :class:`telebot.types.ReplyKeyboardMarkup` or :class:`telebot.types.ReplyKeyboardRemove`
2791
2791
or :class:`telebot.types.ForceReply`
2792
2792
2793
-
:param ephemeral_message_parameters: Parameters of the ephemeral message to send
2793
+
:param ephemeral_message_parameters: Optional. A JSON-serialized object containing the parameters of the ephemeral message to send
:return: On success, the sent Message is returned.
@@ -4679,10 +4679,10 @@ def send_message_draft(
4679
4679
:param entities: A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode
4680
4680
:type entities: :obj:`list` of :class:`telebot.types.MessageEntity
4681
4681
4682
-
:param can_stop: Optional. Pass True if the user can stop message generation
4682
+
:param can_stop: Optional. Pass True to show the user a button to stop further drafts. The bot will receive an Update “stopped_message_generation” if the user presses the button.
4683
4683
:type can_stop: :obj:`bool`
4684
4684
4685
-
:param keep_on_stop: Optional. Pass True if the generated message must be kept after the user stops generation
4685
+
:param keep_on_stop: Optional. Pass True to keep the draft in the chat when the button is pressed. The draft will still disappear after a short time or if the bot sends a message. To fully preserve the partial draft, the bot should send it as a new message.
4686
4686
:type keep_on_stop: :obj:`bool`
4687
4687
4688
4688
:return: Returns True on success.
@@ -4750,7 +4750,7 @@ def send_rich_message(
4750
4750
:param direct_messages_topic_id: Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
4751
4751
:type direct_messages_topic_id: :obj:`int`
4752
4752
4753
-
:param ephemeral_message_parameters: Parameters of the ephemeral message to send
4753
+
:param ephemeral_message_parameters: Optional. A JSON-serialized object containing the parameters of the ephemeral message to send
:param message_thread_id: Unique identifier for the target message thread
4794
4794
:type message_thread_id: :obj:`int`
4795
4795
4796
-
:param can_stop: Optional. Pass True if the user can stop message generation
4796
+
:param can_stop: Optional. Pass True to show the user a button to stop further drafts. The bot will receive an Update “stopped_message_generation” if the user presses the button.
4797
4797
:type can_stop: :obj:`bool`
4798
4798
4799
-
:param keep_on_stop: Optional. Pass True if the generated message must be kept after the user stops generation
4799
+
:param keep_on_stop: Optional. Pass True to keep the draft in the chat when the button is pressed. The draft will still disappear after a short time or if the bot sends a message. To fully preserve the partial draft, the bot should send it as a new message.
4800
4800
:type keep_on_stop: :obj:`bool`
4801
4801
4802
4802
:return: Returns True on success.
@@ -5099,7 +5099,7 @@ def promote_chat_member(
5099
5099
:param can_delete_stories: Pass True if the administrator can delete the channel's stories
5100
5100
:type can_delete_stories: :obj:`bool`
5101
5101
5102
-
:param can_send_welcome_messages: Pass True if the administrator can manage or send chat welcome messages
5102
+
:param can_send_welcome_messages: Optional. Pass True if the administrator can manage chat welcome messages or directly send them in the case of bots
5103
5103
:type can_send_welcome_messages: :obj:`bool`
5104
5104
5105
5105
:param can_manage_direct_messages: Pass True if the administrator can manage direct messages
:param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
7102
7102
:type caption_entities: :obj:`list` of :obj:`MessageEntity`
7103
7103
7104
-
:param show_caption_above_media: Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
7104
+
:param show_caption_above_media: Optional. Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
7105
7105
:type show_caption_above_media: :obj:`bool`
7106
7106
7107
7107
:param reply_markup: A JSON-serialized object for an inline keyboard
0 commit comments