Telegram API binding in Lua, part of my bot.
.gitignore | ||
api.lua | ||
core.lua | ||
init.lua | ||
inline.lua | ||
LICENSE | ||
multipart.lua | ||
readme.org | ||
tools.lua |
Telegram API
This is bindings of Telegram API on Lua, part of my bot.
Installation
We recommended to use .gitmodules file for that. To include, add to gitmodules this:
[submodule "tg-api"]
path = # enter your path
url = https://gitdab.com/er2/tg-api-lua
Also you need to:
- Install LuaSec for https requests.
-
Execute this code before include this API:
package.path = 'yourpath/?.lua;yourpath/?/init.lua;' .. package.path
- Copy to yourpath
/apifiles event.lua and json.lua They can be taken from here.