package
0.108.0
Repository: https://github.com/gotd/td.git
Documentation: pkg.go.dev

# Functions

CreateConn creates new connection.
NewAtomicConfig creates new AtomicConfig.

# Constants

ConnModeCDN is CDN connection mode.
ConnModeData is data connection mode.
ConnModeUpdates is update connection mode.

# Structs

AtomicConfig is atomic tg.Config.
Conn is a Telegram client connection.
ConnOptions is a Telegram client connection options.
DeviceConfig is config which send when Telegram connection session created.
NoopHandler is a noop handler.

# Interfaces

Handler abstracts updates and session handler.

# Type aliases

ConnMode represents connection mode.
SetupCallback is an optional setup connection callback.