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.
func Execute ¶
Execute synchronously executes a TDLib request. Returns a JSON-serialized request response.
func Receive ¶
Receive receives incoming updates and request responses. Returns a JSON-serialized update or request response, or an empty string if the timeout expires.
func SetLogMessageCallback ¶ added in v0.5.0
func SetLogMessageCallback(maxVerbosityLevel int32, callback func(verbosityLevel int32, message string))
SetLogMessageCallback registers a callback for TDLib log messages. The callback function receives the verbosity level and the log message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.