Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions telegram/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ def send_message(self,
chat_id (int|str): Unique identifier for the target chat or
username of the target channel (in the format
@channelusername).
text (str): Text of the message to be sent. The current maximum
length is 4096 UTF-8 characters.
text (str): Text of the message to be sent. The maximum length
is available at ``telegram.constants.MAX_MESSAGE_LENGTH``.
parse_mode (Optional[str]): Send Markdown or HTML, if you want
Telegram apps to show bold, italic, fixed-width text or inline
URLs in your bot's message.
Expand Down
2 changes: 1 addition & 1 deletion telegram/ext/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Updater(object):
base_url (Optional[str]):
workers (Optional[int]): Amount of threads in the thread pool for
functions decorated with @run_async
bot (Optional[telegram.Bot]): A pre-initialized bot instance. If a pre-initizlied bot is
bot (Optional[telegram.Bot]): A pre-initialized bot instance. If a pre-initialized bot is
used, it is the user's responsibility to create it using a `Request` instance with
a large enough connection pool.
user_sig_handler (Optional[function]): Takes ``signum, frame`` as positional arguments.
Expand Down