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,17 +13,6 @@ class Chat(Deserializable):
|
|||
|
||||
@classmethod
|
||||
def de_json(cls, raw_data) -> 'Chat':
|
||||
"""
|
||||
id Integer Unique identifier for this chat. This number may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier.
|
||||
type String Type of chat, can be either “private”, “group”, “supergroup” or “channel”
|
||||
title String Optional. Title, for supergroups, channels and group chats
|
||||
username String Optional. Username, for private chats, supergroups and channels if available
|
||||
first_name String Optional. First name of the other party in a private chat
|
||||
last_name String Optional. Last name of the other party in a private chat
|
||||
all_members_are_administrators Boolean Optional. True if a group has ‘All Members Are Admins’ enabled.
|
||||
:param raw_data:
|
||||
:return:
|
||||
"""
|
||||
raw_data = cls.check_json(raw_data)
|
||||
|
||||
id: int = raw_data.get('id')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue