Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagProxy = "proxy" FlagNamespace = "ns" FlagDebug = "debug" FlagPartSize = "size" FlagThreads = "threads" FlagLimit = "limit" FlagNTP = "ntp" FlagUpPath = "path" FlagUpExcludes = "excludes" FlagLoginDesktop = "desktop" FlagDlUrl = "url" FlagDlFile = "file" )
View Source
const ( AppBuiltin = "builtin" AppDesktop = "desktop" )
View Source
const ( ChatGroup = "group" ChatPrivate = "private" ChatChannel = "channel" ChatUnknown = "unknown" )
External designation, different from Telegram mtproto
View Source
const (
DownloadModeURL = "url"
)
View Source
const DownloadPath = "downloads"
Variables ¶
View Source
var ( DataDir string KVPath string DocsPath = "docs" )
View Source
var ( Version = "dev" Commit = "unknown" CommitDate = "unknown" )
vars below are set by '-X' flag
View Source
var Apps = map[string]struct { AppID int AppHash string }{ AppBuiltin: {AppID: 15055931, AppHash: "021d433426cbb920eeb95164498fe3d3"}, AppDesktop: {AppID: 17349, AppHash: "344583e45741c457fe1862106095a5eb"}, }
View Source
var ( Device = telegram.DeviceConfig{ DeviceModel: "tdl", SystemVersion: runtime.GOOS, AppVersion: Version, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.