Skip to content

giuseppeM99/tdlua

Repository files navigation

TDLUA

A basic wrapper for the tdjson library

Installation

You first need to install

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

You can also use one of our precompiled binary from @tdlua Build with Lua 5.2 and the latest version of tdlib.

Special thanks for @danogentili for his work on php-libtgvoip Check out MadelineProto, a pure MTProto client written in PHP

Since i didn't wrote an actual installation script you'll need to manually copy the file tdlua.so into the appropriate directory

Usage

See example.lua See call.lua for an example on VoIP Calls [BETA]