This commit is contained in:
shoopea 2020-02-05 12:53:21 +08:00
parent 692c5de6a2
commit cc503405c8

View File

@ -23,7 +23,7 @@ func logOnError(err error, msg string) {
func unmarshalCallbackQueryPayload(msg []byte) (tdlib.CallbackQueryPayload, error) { func unmarshalCallbackQueryPayload(msg []byte) (tdlib.CallbackQueryPayload, error) {
var rawMsg *json.RawMessage var rawMsg *json.RawMessage
rawMsg = msg rawMsg = msg.([]byte)
if rawMsg == nil { if rawMsg == nil {
return nil, nil return nil, nil