{"repo":"InsanusMokrassar/TelegramBotAPI-bot_template","free":true,"listed":false,"github":"https://github.com/InsanusMokrassar/TelegramBotAPI-bot_template","clone":"git clone https://github.com/InsanusMokrassar/TelegramBotAPI-bot_template.git","description":null,"language":"Kotlin","stars":14,"topics":["kotlin","telegram-bot","dev-inmo-tgbotapi","template-project","template","ktgbotapi"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Telegram Bot Template That is template for telegram bots based on next stack of technologies: Kotlin Coroutines Kotlin Serialization Telegram Bot API Library (by default everything is included like it was described here) Default Since you have used this repo as a template you can copy file example.config.json as local.config.json , put there your bot token and simply run command ./gradlew run --args=\"local.config.json\" . As an output you will get your bot information like: Docker In this template there is template-like docker-compose and docker files. Besides, there is Makefile and you may use something like make buildAndStartCompose to start your bot. It is important to replace \"TOKEN\" in Dockerfile or remove and add some config as a volume. Config But you may set up several things for your bot. You should start with adding client object: Required fields: token client/proxy/hostname (if you pass client and proxy fields) - hostname of proxy server client/proxy/password - password for authentication on proxy server, required if client/proxy/type is socks and client/proxy/username passed Optional fields: client - object with client configs client/connectionTimeoutMillis - timeout for connection to the server client/requestTimeoutMillis - timeout for request complete (when request taken on server) client/responseTimeoutMillis - timeout for getting a response after request taken on server client/proxy - proxy settings client/proxy/port - port of proxy server client/proxy/type - t","default_branch":null,"files":null,"tree":[],"storefront":"/r/InsanusMokrassar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/InsanusMokrassar/TelegramBotAPI-bot_template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}