mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Remove bad comments.
This commit is contained in:
parent
07c7c1f32a
commit
5019a4f00b
3 changed files with 0 additions and 34 deletions
|
|
@ -13,15 +13,6 @@ class User(Deserializable):
|
|||
|
||||
@classmethod
|
||||
def de_json(cls, raw_data: str or dict) -> 'User':
|
||||
"""
|
||||
id Integer Unique identifier for this user or bot
|
||||
first_name String User‘s or bot’s first name
|
||||
last_name String Optional. User‘s or bot’s last name
|
||||
username String Optional. User‘s or bot’s username
|
||||
language_code String Optional. IETF language tag of the user's language
|
||||
:param raw_data:
|
||||
:return:
|
||||
"""
|
||||
raw_data = cls.check_json(raw_data)
|
||||
|
||||
id = raw_data.get('id')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue