tdjson

package
v0.1.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TdJson

type TdJson struct {
	ClientID C.int
}

func NewTdJson

func NewTdJson(create_client bool, verbosity int, log_file string) *TdJson

New initializes a new TdJson instance and sets the log verbosity level.

func (*TdJson) Execute

func (td *TdJson) Execute(request string) string

Execute synchronously executes a TDLib request.

func (*TdJson) Receive

func (td *TdJson) Receive(timeout float32) string

Receive receives incoming updates and request responses

func (*TdJson) Send

func (td *TdJson) Send(request string)

Send sends request to the TDLib client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL