test
This commit is contained in:
parent
1ec37c7fcf
commit
15c37822e7
4
bot.go
4
bot.go
@ -1,6 +1,8 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
tb "gopkg.in/tucnak/telebot.v2"
|
||||
)
|
||||
|
||||
@ -33,7 +35,7 @@ func botDocument(m *tb.Message) {
|
||||
func botChannelPost(m *tb.Message) {
|
||||
PrintText(m)
|
||||
b, _ := json.Marshal(m)
|
||||
llogInfoDebug("botChannelPost : %s\n", string(b))
|
||||
logInfoDebug("botChannelPost : %s\n", string(b))
|
||||
|
||||
// channel posts only
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user