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

Method de_json

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

Source from the content-addressed store, hash-verified

607 """
608 @classmethod
609 def de_json(cls, json_string):
610 if json_string is None: return None
611 obj = cls.check_json(json_string, dict_copy=False)
612 return cls(**obj)
613
614 def __init__(self, id, title, **kwargs):
615 self.id: int = id

Callers

nothing calls this directly

Calls 1

check_jsonMethod · 0.80

Tested by

no test coverage detected