From d6935355ae044809d5f916055f4119ceeac61930 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sat, 28 Apr 2018 13:42:36 +0200 Subject: [PATCH] Fix two tiny typos --- telethon/events/chataction.py | 3 +-- telethon/telegram_client.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/telethon/events/chataction.py b/telethon/events/chataction.py index 3ca18f5e..2927c8d0 100644 --- a/telethon/events/chataction.py +++ b/telethon/events/chataction.py @@ -95,7 +95,6 @@ class ChatAction(EventBuilder): photo (:tl:`Photo`, optional): The new photo (or ``None`` if it was removed). - user_added (`bool`): ``True`` if the user was added by some other. @@ -111,7 +110,7 @@ class ChatAction(EventBuilder): created (`bool`, optional): ``True`` if this chat was just created. - new_title (`bool`, optional): + new_title (`str`, optional): The new title string for the chat, if applicable. unpin (`bool`): diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index 91627ded..23af0f57 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -2593,7 +2593,7 @@ class TelegramClient(TelegramBareClient): raise ValueError( 'Could not find the input entity for "{}". Please read https://' 'telethon.readthedocs.io/en/latest/extra/basic/entities.html to' - 'find out more details.' + ' find out more details.' .format(peer) )