mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-27 08:50:38 +01:00
Fix lines too long
This commit is contained in:
parent
ba5902c1d4
commit
32dc05ed36
1 changed files with 4 additions and 2 deletions
|
@ -176,7 +176,8 @@ class Message(TelegramObject):
|
|||
|
||||
if 'new_chat_photo' in data:
|
||||
from telegram import PhotoSize
|
||||
new_chat_photo = [PhotoSize.de_json(x) for x in data['new_chat_photo']]
|
||||
new_chat_photo = \
|
||||
[PhotoSize.de_json(x) for x in data['new_chat_photo']]
|
||||
else:
|
||||
new_chat_photo = None
|
||||
|
||||
|
@ -248,7 +249,8 @@ class Message(TelegramObject):
|
|||
if self.new_chat_participant:
|
||||
data['new_chat_participant'] = self.new_chat_participant.to_dict()
|
||||
if self.left_chat_participant:
|
||||
data['left_chat_participant'] = self.left_chat_participant.to_dict()
|
||||
data['left_chat_participant'] = \
|
||||
self.left_chat_participant.to_dict()
|
||||
if self.new_chat_title:
|
||||
data['new_chat_title'] = self.new_chat_title
|
||||
if self.new_chat_photo:
|
||||
|
|
Loading…
Add table
Reference in a new issue