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:
parent
645c0b7fb4
commit
e061aa051a
@ -175,7 +175,7 @@ class Message(JsonDeserializable):
|
|||||||
def __init__(self, message_id, from_user, date, chat, content_type, options):
|
def __init__(self, message_id, from_user, date, chat, content_type, options):
|
||||||
self.chat = chat
|
self.chat = chat
|
||||||
self.date = date
|
self.date = date
|
||||||
self.fromUser = from_user
|
self.from_user = from_user
|
||||||
self.message_id = message_id
|
self.message_id = message_id
|
||||||
self.content_type = content_type
|
self.content_type = content_type
|
||||||
for key in options:
|
for key in options:
|
||||||
|
Loading…
Reference in New Issue
Block a user