Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 554 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 554 Bytes

Telegram Bot

Telegram bot in Golang. Currently implemented only /start command. Incoming messages are updated via webhooks.

Third-party library used:


How to run

Step 1: Create file config.env and write your API-token to it. (example: file config_env_example)

Step 2: Set webhook. To do this, use the command in the terminal: curl -F "url=https://<your_server_url>/" https://api.telegram.org/bot<your_api_token>/setWebhook

Step 3: Run Telegram Bot.