(cls, json_string)
| 1983 | |
| 1984 | @classmethod |
| 1985 | def de_json(cls, json_string): |
| 1986 | if json_string is None: return None |
| 1987 | obj = cls.check_json(json_string) |
| 1988 | if 'user' in obj: |
| 1989 | obj['user'] = User.de_json(obj['user']) |
| 1990 | return cls(**obj) |
| 1991 | |
| 1992 | def __init__(self, type, offset, length, url=None, user=None, language=None, custom_emoji_id=None, |
| 1993 | unix_time=None, date_time_format=None, **kwargs): |
nothing calls this directly
no test coverage detected