Skip to content

Commit

Permalink
Merge pull request #2056 from Badiboy/master
Browse files Browse the repository at this point in the history
Fix protect_content hint
  • Loading branch information
Badiboy authored Oct 3, 2023
2 parents 18cd798 + 94913a0 commit b4af88c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions telebot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@ def send_message(
:param disable_notification: Sends the message silently. Users will receive a notification with no sound.
:type disable_notification: :obj:`bool`
:param protect_content: If True, the message content will be hidden for all users except for the target user
:param protect_content: Protects the contents of the sent message from forwarding and saving
:type protect_content: :obj:`bool`
:param reply_to_message_id: If the message is a reply, ID of the original message
Expand Down Expand Up @@ -1733,7 +1733,7 @@ def send_dice(
:param allow_sending_without_reply: Pass True, if the message should be sent even if the specified replied-to message is not found
:type allow_sending_without_reply: :obj:`bool`
:param protect_content: Protects the contents of the sent message from forwarding
:param protect_content: Protects the contents of the sent message from forwarding and saving
:type protect_content: :obj:`bool`
:param message_thread_id: Identifier of a message thread, in which the message will be sent
Expand Down Expand Up @@ -3942,7 +3942,7 @@ def send_game(
:param allow_sending_without_reply: Pass True, if the message should be sent even if one of the specified replied-to messages is not found.
:type allow_sending_without_reply: :obj:`bool`
:param protect_content: Pass True, if content of the message needs to be protected from being viewed by the bot.
:param protect_content: Protects the contents of the sent message from forwarding and saving
:type protect_content: :obj:`bool`
:param message_thread_id: The identifier of a message thread, in which the game message will be sent.
Expand Down

0 comments on commit b4af88c

Please sign in to comment.