test
This commit is contained in:
parent
8c97cb81ab
commit
7b887d2419
5
td.go
5
td.go
@ -296,8 +296,9 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
|
|||||||
MQCWMsgQueue <- r
|
MQCWMsgQueue <- r
|
||||||
}
|
}
|
||||||
case commandCallback:
|
case commandCallback:
|
||||||
p := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
d := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
||||||
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, *p.(tdlib.CallbackQueryPayload))
|
p := d.(tdlib.CallbackQueryPayload)
|
||||||
|
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, p)
|
||||||
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