test
This commit is contained in:
parent
028996f4e7
commit
99a6290b73
5
td.go
5
td.go
@ -299,8 +299,9 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
|
|||||||
p := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
p := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
||||||
b, _ := json.Marshal(p)
|
b, _ := json.Marshal(p)
|
||||||
log.Printf("CallbackQueryPayloadData :\n%s\n", string(b))
|
log.Printf("CallbackQueryPayloadData :\n%s\n", string(b))
|
||||||
d := *p
|
d := *p.(tdlib.CallbackQueryPayload)
|
||||||
b, _ = json.Marshal(d)
|
e := d.(tdlib.CallbackQueryPayload)
|
||||||
|
b, _ = json.Marshal(e)
|
||||||
log.Printf("CallbackQueryPayloadData2 :\n%s\n", string(b))
|
log.Printf("CallbackQueryPayloadData2 :\n%s\n", string(b))
|
||||||
/*
|
/*
|
||||||
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, p)
|
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, p)
|
||||||
|
Loading…
Reference in New Issue
Block a user