tlgechobot

command module
v0.0.0-...-f61ad43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2018 License: MIT Imports: 8 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL