test
This commit is contained in:
parent
11665577ee
commit
7e8dc69d6a
2
td.go
2
td.go
@ -297,7 +297,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
|
|||||||
}
|
}
|
||||||
case commandCallback:
|
case commandCallback:
|
||||||
d := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
d := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
||||||
b, _ := json.Marshal(p)
|
b, _ := json.Marshal(d)
|
||||||
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())
|
||||||
p, err := tdlib.unmarshalCallbackQueryPayload(b)
|
p, err := tdlib.unmarshalCallbackQueryPayload(b)
|
||||||
|
Loading…
Reference in New Issue
Block a user