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

Function get_client

plugins/test.py:231–235  ·  view source on GitHub ↗
(bot_token, is_bot=True)

Source from the content-addressed store, hash-verified

229# Ask Doubt on telegram @KingVJ01
230
231async def get_client(bot_token, is_bot=True):
232 if is_bot:
233 return Client("BOT", Config.API_ID, Config.API_HASH, bot_token=bot_token, in_memory=True)
234 else:
235 return Client("USERBOT", Config.API_ID, Config.API_HASH, session_string=bot_token)
236
237# Don't Remove Credit Tg - @VJ_Botz
238# Subscribe YouTube Channel For Amazing Bot https://youtube.com/@Tech_VJ

Callers 3

pub_Function · 0.85
restart_pending_forwadsFunction · 0.85
unequifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected