test
This commit is contained in:
parent
ff1780446b
commit
444c13ffc4
2
td.go
2
td.go
@ -301,7 +301,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
|
|||||||
log.Printf("CallbackQueryPayloadData :\n%s\n", string(b))
|
log.Printf("CallbackQueryPayloadData :\n%s\n", string(b))
|
||||||
log.Printf("Type : %s\n", d.GetCallbackQueryPayloadEnum())
|
log.Printf("Type : %s\n", d.GetCallbackQueryPayloadEnum())
|
||||||
|
|
||||||
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, CallbackQueryPayload(d))
|
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, tdlib.CallbackQueryPayload(d))
|
||||||
logOnError(err, "clientMsg : GetCallbackQueryAnswer")
|
logOnError(err, "clientMsg : GetCallbackQueryAnswer")
|
||||||
b, _ = json.Marshal(a)
|
b, _ = json.Marshal(a)
|
||||||
log.Printf("GetCallbackQueryAnswer :\n%s\n", string(b))
|
log.Printf("GetCallbackQueryAnswer :\n%s\n", string(b))
|
||||||
|
Loading…
Reference in New Issue
Block a user