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

Method set_data

telebot/storage/base_storage.py:8–16  ·  view source on GitHub ↗

Set data for a user in a particular chat.

(self, chat_id, user_id, key, value,
        business_connection_id=None,
        message_thread_id=None,
        bot_id=None,
    )

Source from the content-addressed store, hash-verified

6 pass
7
8 def set_data(self, chat_id, user_id, key, value,
9 business_connection_id=None,
10 message_thread_id=None,
11 bot_id=None,
12 ):
13 """
14 Set data for a user in a particular chat.
15 """
16 raise NotImplementedError
17
18 def get_data(self, chat_id, user_id):
19 """

Callers 2

add_dataMethod · 0.45
add_dataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected