test
This commit is contained in:
parent
1e93f71bf4
commit
8ee95cb39e
3
td.go
3
td.go
@ -296,7 +296,8 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
|
|||||||
MQCWMsgQueue <- r
|
MQCWMsgQueue <- r
|
||||||
}
|
}
|
||||||
case commandCallback:
|
case commandCallback:
|
||||||
p := tdlib.NewCallbackQueryPayloadData(m.CallbackData).(tdlib.CallbackQueryPayload)
|
d := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
|
||||||
|
p := d.(tdlib.CallbackQueryPayload)
|
||||||
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, p)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user