Telegram API binding in Lua, part of my bot.
Go to file
Er2 30f7203c5f move from bot 2021-08-16 11:47:49 +03:00
.gitignore move from bot 2021-08-16 11:47:49 +03:00
LICENSE move from bot 2021-08-16 11:47:49 +03:00
api.lua move from bot 2021-08-16 11:47:49 +03:00
core.lua move from bot 2021-08-16 11:47:49 +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
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 move from bot 2021-08-16 11:47:49 +03:00

readme.org

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.