From e061aa051a0c87cb8c56fd963d12a0d255e2b042 Mon Sep 17 00:00:00 2001 From: pieter Date: Fri, 3 Jul 2015 19:34:02 +0200 Subject: [PATCH] Fixed API inconsistency (Message.fromUser -> Message.from_user) --- telebot/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/types.py b/telebot/types.py index 2ec183b..ea7923f 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -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: