test
This commit is contained in:
parent
86fec4550c
commit
11665577ee
2
td.go
2
td.go
@ -299,7 +299,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
|
||||
d := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
||||
b, _ := json.Marshal(p)
|
||||
log.Printf("CallbackQueryPayloadData :\n%s\n", string(b))
|
||||
log.Printf("Type : %s\n", p.GetCallbackQueryPayloadEnum())
|
||||
log.Printf("Type : %s\n", d.GetCallbackQueryPayloadEnum())
|
||||
p, err := tdlib.unmarshalCallbackQueryPayload(b)
|
||||
|
||||
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, p)
|
||||
|
Loading…
Reference in New Issue
Block a user