Skip to content

Commit c27cb70

Browse files
author
Zhou Xiaopeng
committed
new bot chat_id for BTC Faucet v6,会话 ID:684499845
1 parent aee6b8f commit c27cb70

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

btcFaucet.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ import (
1616
"github.com/howeyc/gopass"
1717
)
1818

19+
const (
20+
// CHATID old BTC Faucet,会话 ID:848714900
21+
CHATID int64 = 684499845 // BTC Faucet v6
22+
)
23+
1924
var (
2025
version, tagName, branch, commitID, buildTime string
2126
)
@@ -174,7 +179,7 @@ func main() {
174179
go func() {
175180
rand.Seed(time.Now().UnixNano())
176181
// Should get chatID somehow, check out "getChats" example
177-
chatID := int64(848714900)
182+
chatID := int64(CHATID)
178183
inputMsgTxt := tdlib.NewInputMessageText(tdlib.NewFormattedText("💦 Faucet", nil), true, true)
179184
var w int
180185
for {

0 commit comments

Comments
 (0)