(cls, json_string)
| 6364 | """ |
| 6365 | @classmethod |
| 6366 | def de_json(cls, json_string): |
| 6367 | if json_string is None: return None |
| 6368 | obj = cls.check_json(json_string) |
| 6369 | obj['photo'] = Game.parse_photo(obj['photo']) |
| 6370 | if 'text_entities' in obj: |
| 6371 | obj['text_entities'] = Game.parse_entities(obj['text_entities']) |
| 6372 | if 'animation' in obj: |
| 6373 | obj['animation'] = Animation.de_json(obj['animation']) |
| 6374 | return cls(**obj) |
| 6375 | |
| 6376 | @classmethod |
| 6377 | def parse_photo(cls, photo_size_array) -> List[PhotoSize]: |
nothing calls this directly
no test coverage detected