MCPcopy Create free account
hub / github.com/eternnoir/pyTelegramBotAPI / de_json

Method de_json

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

Source from the content-addressed store, hash-verified

934 """
935 @classmethod
936 def de_json(cls, json_string):
937 if json_string is None: return None
938 obj = cls.check_json(json_string, dict_copy=False)
939 return cls(**obj)
940
941 def __init__(self, message_id, **kwargs):
942 self.message_id: int = message_id

Callers

nothing calls this directly

Calls 1

check_jsonMethod · 0.80

Tested by

no test coverage detected