Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClientID ¶
func CreateClientID() int
CreateClientID returns an opaque identifier of a new TDLib instance. The TDLib instance will not send updates until the first request is sent to it.
func Execute ¶
Execute synchronously executes a TDLib request. Only a few requests can be executed synchronously. Returns a JSON-serialized request response.
func Init ¶
Init initializes the TDLib JSON interface by loading the library. If libPath is empty, it attempts to load the library from the default system paths or the current directory using the default name (libtdjson.so, libtdjson.dylib, tdjson.dll).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.