MCPcopy Create free account
hub / github.com/HiddenCodeDevs/BlumTelegramBot / run_tapper

Function run_tapper

bot/core/tapper.py:352–358  ·  view source on GitHub ↗
(tg_client: Client, proxy: Proxy | None)

Source from the content-addressed store, hash-verified

350
351
352async def run_tapper(tg_client: Client, proxy: Proxy | None):
353 session_logger = SessionLogger(tg_client.name)
354 try:
355 await Tapper(tg_client, session_logger).run(proxy=proxy)
356 except TelegramInvalidSessionException:
357 move_session_to_deleted(tg_client)
358 session_logger.error(f"Telegram account {tg_client.name} is not work!")

Callers 1

run_tasksFunction · 0.90

Calls 4

SessionLoggerClass · 0.90
move_session_to_deletedFunction · 0.90
TapperClass · 0.85
runMethod · 0.80

Tested by

no test coverage detected