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 disable_notification: Sends the message silently. Users will receive a notification with no sound.
4483
+
:type disable_notification: :obj:`bool`
4484
+
4485
+
:param protect_content: Protects the contents of the sent message from forwarding and saving
4486
+
:type protect_content: :obj:`bool`
4456
4487
4488
+
:param allow_paid_broadcast: Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
4489
+
:type allow_paid_broadcast: :obj:`bool`
4490
+
4491
+
:param message_effect_id: Unique identifier of the message effect to be added to the message; for private chats only
4492
+
:type message_effect_id: :obj:`str`
4493
+
4494
+
:param suggested_post_parameters: A JSON-serialized object containing the parameters of the suggested post to send;
4495
+
for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.
:param reply_markup: Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user.
4502
+
:type reply_markup: :class:`telebot.types.InlineKeyboardMarkup` or :class:`telebot.types.ReplyKeyboardMarkup` or :class:`telebot.types.ReplyKeyboardRemove` or :class:`telebot.types.ForceReply`
4503
+
4504
+
:param business_connection_id: Identifier of a business connection
4505
+
:type business_connection_id: :obj:`str`
4506
+
4507
+
:param message_thread_id: The thread identifier of a message from which the reply will be sent
4508
+
:type message_thread_id: :obj:`int`
4509
+
4510
+
: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
4511
+
:type direct_messages_topic_id: :obj:`int`
4512
+
4513
+
:return: On success, the sent Message is returned.
4514
+
:rtype: :class:`telebot.types.Message`
4515
+
"""
4516
+
disable_notification = self.disable_notification if (disable_notification is None) else disable_notification
4517
+
protect_content = self.protect_content if (protect_content is None) else protect_content
0 commit comments