Closed morfeusys closed 1 year ago
Nothing special is required to run Telegram channel in webhook mode:
embeddedServer(Netty, 8080) { routing { httpBotRouting( "/telegram" to TelegramChannel(TelegramBot, System.getenv("TELEGRAM_BOT_TOKEN")) ) } }.start(wait = true)
Nothing special is required to run Telegram channel in webhook mode: