MCPcopy Create free account
hub / github.com/VJBots/VJ-Forward-Bot / user_session

Method user_session

plugins/test.py:48–49  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

46 self.api_hash = Config.API_HASH
47
48 def user_session(self, data):
49 return Client("USERBOT", self.api_id, self.api_hash, session_string=data)
50
51 async def add_bot(self, bot, message):
52 user_id = int(message.from_user.id)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected