This commit is contained in:
shoopea 2020-06-21 19:54:07 +02:00
parent 1ec37c7fcf
commit 15c37822e7

4
bot.go
View File

@ -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
}