MCPcopy Index your code
hub / github.com/eternnoir/pyTelegramBotAPI / de_json

Method de_json

telebot/types.py:457–460  ·  view source on GitHub ↗
(cls, json_string)

Source from the content-addressed store, hash-verified

455 """
456 @classmethod
457 def de_json(cls, json_string):
458 if json_string is None: return None
459 obj = cls.check_json(json_string, dict_copy=False)
460 return cls(**obj)
461
462 def __init__(self, url, has_custom_certificate, pending_update_count, ip_address=None,
463 last_error_date=None, last_error_message=None, last_synchronization_error_date=None,

Callers

nothing calls this directly

Calls 1

check_jsonMethod · 0.80

Tested by

no test coverage detected