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