1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fixed API inconsistency (Message.fromUser -> Message.from_user)

This commit is contained in:
pieter 2015-07-03 19:34:02 +02:00
parent 645c0b7fb4
commit e061aa051a

View File

@ -175,7 +175,7 @@ class Message(JsonDeserializable):
def __init__(self, message_id, from_user, date, chat, content_type, options):
self.chat = chat
self.date = date
self.fromUser = from_user
self.from_user = from_user
self.message_id = message_id
self.content_type = content_type
for key in options: