tdl/pkg/consts/telegram.go

22 lines
343 B
Go
Raw Normal View History

2022-09-05 19:14:21 +08:00
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,
}
)