IFactorySettings Interface

Summary

Factory settings are required to build the client
Namespace
OpenTl.ClientApi
Implementing Types
graph TD Type["IFactorySettings"] class Type type-node Type-.->Implementing0["FactorySettings"] click Implementing0 "/OpenTl.ClientApi/api/OpenTl.ClientApi/FactorySettings"

Syntax

public interface IFactorySettings

Properties

Name Value Summary
AppHash string
Application hash. You can take here - Telegram
AppId int
Application Id. You can take here - Telegram
Properties ApplicationProperties
Application properties
ProxyConfig Socks5ProxyConfig
SOCKS5 proxy configuration. Not required
ServerAddress string
Connection server address
ServerPort int
Connection server port
ServerPublicKey string
Server public RSA key. You can take here - Telegram
SessionStore ISessionStore
Session store. Not required
SessionTag string
Session tag. By default is "session"
UseIPv6 bool
Use IP v6 protocol. Defaults: True