test
This commit is contained in:
parent
8ee95cb39e
commit
007a3f6be4
4
td.go
4
td.go
@ -296,8 +296,8 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
|
||||
MQCWMsgQueue <- r
|
||||
}
|
||||
case commandCallback:
|
||||
d := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
||||
p := d.(tdlib.CallbackQueryPayload)
|
||||
p := tdlib.CallbackQueryPayload{}
|
||||
d := p.(tdlib.CallbackQueryPayloadData)
|
||||
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, p)
|
||||
logOnError(err, "clientMsg : GetCallbackQueryAnswer")
|
||||
b, _ := json.Marshal(a)
|
||||
|
Loading…
Reference in New Issue
Block a user