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

telegram api

How to get self chat Id

open your browser:

https://api.telegram.org/bot{token}/getUpdates

# Functions

Loader is the module loader function.
No description provided by the author
Preload adds db to the given Lua state's package.preload table.
No description provided by the author