package
0.0.0-20221118014540-79c50470ff02
Repository: https://github.com/syhlion/glua-libs.git
Documentation: pkg.go.dev
# README
telegram
Usage
local telegram = require("telegram")
local token=""
local chatId = 0
local msg ="helloworld"
bot , err := telegram.new(token)
if err then error(err) end
reply,err = bot.send(chatId,chatMsg)
if err then error(err) end
How to generate your token
How to get self chat Id
open your browser:
https://api.telegram.org/bot{token}/getUpdates