test
This commit is contained in:
parent
2448fea3cd
commit
39c6a628cd
3
td.go
3
td.go
@ -300,9 +300,8 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
|
||||
b, _ := json.Marshal(d)
|
||||
log.Printf("CallbackQueryPayloadData :\n%s\n", string(b))
|
||||
log.Printf("Type : %s\n", d.GetCallbackQueryPayloadEnum())
|
||||
p, err := unmarshalCallbackQueryPayload(b)
|
||||
|
||||
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, p)
|
||||
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, CallbackQueryPayload(d))
|
||||
logOnError(err, "clientMsg : GetCallbackQueryAnswer")
|
||||
b, _ = json.Marshal(a)
|
||||
log.Printf("GetCallbackQueryAnswer :\n%s\n", string(b))
|
||||
|
Loading…
Reference in New Issue
Block a user