test
This commit is contained in:
parent
7e83ccae51
commit
7a04471f17
6
td.go
6
td.go
@ -296,10 +296,8 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
|
||||
MQCWMsgQueue <- r
|
||||
}
|
||||
case commandCallback:
|
||||
p := tdlib.CallbackQueryPayloadData{
|
||||
Data: m.CallbackData,
|
||||
}
|
||||
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, p)
|
||||
p := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
||||
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, p.(tdlib.CallbackQueryPayload))
|
||||
logOnError(err, "clientMsg : GetCallbackQueryAnswer")
|
||||
b, _ := json.Marshal(a)
|
||||
log.Printf("GetCallbackQueryAnswer :\n%s\n", string(b))
|
||||
|
Loading…
Reference in New Issue
Block a user