(bot_token, is_bot=True)
| 229 | # Ask Doubt on telegram @KingVJ01 |
| 230 | |
| 231 | async 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 |
no outgoing calls
no test coverage detected