FactorySettings Class

Summary

Factory settings are required to build the client
Namespace
OpenTl.ClientApi
Interfaces
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IFactorySettings"]-.->Type click Interface0 "/OpenTl.ClientApi/api/OpenTl.ClientApi/IFactorySettings" Type["FactorySettings"] class Type type-node

Syntax

public sealed class FactorySettings : 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