zolamk / telegram-echo-bot

A Simple Telegram Echo Bot Built With Golang And Deployed To Netlify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Telegram Echo Bot Using Netlify Functions

This is a simple telegram echo bot built using golang and Netlify Functions.

Steps

  1. Clone This Repo

  2. Set TELEGRAM_BOT_TOKEN environment variable in netlify

  3. set your web hook like this curl --request POST --url https://api.telegram.org/bot<TELEGRAM_BOT_TOKEN>/setWebhook --header 'content-type: application/json' --data '{"url": "<netlify site url>/.netlify/functions/echo"}'

  4. and you're good to go.

About

A Simple Telegram Echo Bot Built With Golang And Deployed To Netlify

License:MIT License


Languages

Language:Go 85.6%Language:HTML 9.4%Language:Makefile 5.0%