telegram.base module

Base class for Telegram Objects.

class telegram.base.TelegramObject

Bases: object

Base class for most telegram objects.

static de_json(data, bot)
Parameters:
Returns:

Return type:

dict

to_dict()
Returns:
Return type:dict
to_json()
Returns:
Return type:str