test
This commit is contained in:
parent
958e5e2636
commit
007f9e4c76
2
td.go
2
td.go
@ -296,7 +296,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
|
|||||||
}
|
}
|
||||||
case commandCallback:
|
case commandCallback:
|
||||||
d := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
d := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
||||||
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, tdlib.CallbackQueryPayload(d))
|
_, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, tdlib.CallbackQueryPayload(d))
|
||||||
logOnError(err, "clientMsg : GetCallbackQueryAnswer")
|
logOnError(err, "clientMsg : GetCallbackQueryAnswer")
|
||||||
default:
|
default:
|
||||||
log.Printf("clientMsg : No handler for command %d.\n", m.Type)
|
log.Printf("clientMsg : No handler for command %d.\n", m.Type)
|
||||||
|
Loading…
Reference in New Issue
Block a user