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

Method de_json

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

Source from the content-addressed store, hash-verified

538 """
539 @classmethod
540 def de_json(cls, json_string):
541 if json_string is None: return None
542 obj = cls.check_json(json_string, dict_copy=False)
543 return cls(**obj)
544
545 # noinspection PyShadowingBuiltins
546 def __init__(self, id, is_bot, first_name, last_name=None, username=None, language_code=None,

Callers 15

_make_fake_meFunction · 0.45
test_json_userFunction · 0.45
test_json_messageFunction · 0.45
test_json_message_groupFunction · 0.45
test_json_GroupChatFunction · 0.45
test_json_DocumentFunction · 0.45
test_json_Message_AudioFunction · 0.45

Calls 1

check_jsonMethod · 0.80

Tested by 15

_make_fake_meFunction · 0.36
test_json_userFunction · 0.36
test_json_messageFunction · 0.36
test_json_message_groupFunction · 0.36
test_json_GroupChatFunction · 0.36
test_json_DocumentFunction · 0.36
test_json_Message_AudioFunction · 0.36