diff --git a/telebot/types.py b/telebot/types.py index 21c43aa..9cad691 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -183,7 +183,7 @@ class User(JsonDeserializable, Dictionaryable, JsonSerializable): def full_name(self): full_name = self.first_name if self.last_name: - full_name += f' {self.last_name}' + full_name += ' {0}'.format(self.last_name) return full_name def to_json(self):