Skip to content

Commit 82e09e0

Browse files
committed
fix(telegram): modify official client APP_ID and APP_HASH
1 parent db7814f commit 82e09e0

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

pkg/consts/telegram.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ import (
55
"runtime"
66
)
77

8-
// TODO(iyear): usr -X flag to set id and hash
9-
// Telegram desktop client
8+
// https://core.telegram.org/api/obtaining_api_id#using-telegrams-open-source-code
9+
// so we can not use Telegram Desktop ID
10+
// below is iyear's application
1011
const (
11-
AppID = 17349
12-
AppHash = "344583e45741c457fe1862106095a5eb"
12+
AppID = 15055931
13+
AppHash = "021d433426cbb920eeb95164498fe3d3"
1314
)
1415

1516
var (

0 commit comments

Comments
 (0)