tset
This commit is contained in:
parent
7b887d2419
commit
1e93f71bf4
3
td.go
3
td.go
@ -296,8 +296,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
|
||||
MQCWMsgQueue <- r
|
||||
}
|
||||
case commandCallback:
|
||||
d := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
||||
p := d.(tdlib.CallbackQueryPayload)
|
||||
p := tdlib.NewCallbackQueryPayloadData(m.CallbackData).(tdlib.CallbackQueryPayload)
|
||||
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