mirror of
https://github.com/bit1001/tdl.git
synced 2024-11-10 16:33:04 +08:00
28 lines
452 B
Go
28 lines
452 B
Go
package consts
|
|
|
|
import (
|
|
"github.com/gotd/td/telegram"
|
|
"runtime"
|
|
)
|
|
|
|
// TODO(iyear): usr -X flag to set id and hash
|
|
// Telegram desktop client
|
|
const (
|
|
AppID = 17349
|
|
AppHash = "344583e45741c457fe1862106095a5eb"
|
|
)
|
|
|
|
var (
|
|
Device = telegram.DeviceConfig{
|
|
DeviceModel: "tdl",
|
|
SystemVersion: runtime.GOOS,
|
|
AppVersion: Version,
|
|
}
|
|
)
|
|
|
|
const (
|
|
ChatGroup = "group"
|
|
ChatPrivate = "private"
|
|
ChatChannel = "channel"
|
|
ChatUnknown = "unknown"
|
|
)
|