mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-02-18 03:16:35 +01:00
14 lines
314 B
Python
14 lines
314 B
Python
#!/usr/bin/env python
|
|
|
|
|
|
class GroupChat(object):
|
|
def __init__(self,
|
|
id,
|
|
title):
|
|
self.id = id
|
|
self.title = title
|
|
|
|
@staticmethod
|
|
def de_json(data):
|
|
return GroupChat(id=data.get('id', None),
|
|
title=data.get('title', None))
|