This commit is contained in:
shoopea 2019-05-10 10:44:31 +08:00
parent 7c13208cc1
commit 43d8be2e35

2
bot.go
View File

@ -33,7 +33,7 @@ func StartBot() {
fmt.Println("botHello : hello world") fmt.Println("botHello : hello world")
}) })
b.Handle("/rescan_msg", botRescanMsg) b.Handle("/rescan_msg", *botRescanMsg)
b.Handle(tb.OnPhoto, botPhoto) b.Handle(tb.OnPhoto, botPhoto)
b.Handle(tb.OnChannelPost, botChannelPost) b.Handle(tb.OnChannelPost, botChannelPost)
b.Handle(tb.OnQuery, botQuery) b.Handle(tb.OnQuery, botQuery)