Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Telegram TelegramConfig `yaml:":telegram"` XMPP XMPPConfig `yaml:":xmpp"` }
Config is for top-level struct for config
type TelegramConfig ¶
type TelegramConfig struct { Loglevel string `yaml:":loglevel"` Content TelegramContentConfig `yaml:":content"` Verbosity uint8 `yaml:":tdlib_verbosity"` Tdlib TelegramTdlibConfig `yaml:":tdlib"` }
TelegramConfig is for :telegram: subtree
type TelegramContentConfig ¶
type TelegramContentConfig struct { Path string `yaml:":path"` Link string `yaml:":link"` Upload string `yaml:":upload"` User string `yaml:":user"` Quota string `yaml:":quota"` }
TelegramContentConfig is for :content: subtree
type TelegramTdlibClientConfig ¶
type TelegramTdlibClientConfig struct { APIID string `yaml:":api_id"` APIHash string `yaml:":api_hash"` DeviceModel string `yaml:":device_model"` ApplicationVersion string `yaml:":application_version"` UseChatInfoDatabase bool `yaml:":use_chat_info_database"` UseSecretChats bool `yaml:":use_secret_chats"` CatchTimeout int64 `yaml:":catch_timeout"` }
TelegramTdlibClientConfig is for :client: subtree
type TelegramTdlibConfig ¶
type TelegramTdlibConfig struct { Datadir string `yaml:":datadir"` Client TelegramTdlibClientConfig `yaml:":client"` }
TelegramTdlibConfig is for :tdlib: subtree
Click to show internal directories.
Click to hide internal directories.