MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / run

Method run

camel/bots/telegram_bot.py:61–64  ·  view source on GitHub ↗

r"""Start the Telegram bot.

(self)

Source from the content-addressed store, hash-verified

59 self.bot.message_handler(func=lambda message: True)(self.on_message)
60
61 def run(self) -> None:
62 r"""Start the Telegram bot."""
63 print("Telegram bot is running...")
64 self.bot.infinity_polling()
65
66 def on_message(self, message: 'Message') -> None:
67 r"""Handles incoming messages from the user.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected