Telegram API binding in Lua, part of my bot.
Find a file
2022-02-13 15:22:12 +03:00
.gitignore move from bot 2021-08-16 11:47:49 +03:00
api.lua setmycommands languages and scope 2022-01-23 21:42:53 +03:00
core.lua quoted args are optional 2022-02-13 15:22:12 +03:00
init.lua move from bot 2021-08-16 11:47:49 +03:00
inline.lua move from bot 2021-08-16 11:47:49 +03:00
LICENSE move from bot 2021-08-16 11:47:49 +03:00
multipart.lua move from bot 2021-08-16 11:47:49 +03:00
readme.org move from bot 2021-08-16 11:47:49 +03:00
tools.lua quoted args are optional 2022-02-13 15:22:12 +03:00

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 /api files event.lua and json.lua They can be taken from here.