mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 04:51:13 +01:00
Support empty DataJSON fields
This commit is contained in:
parent
a5b0e95159
commit
1f55447a3a
@ -702,6 +702,10 @@ class TL
|
||||
case 'vector':
|
||||
$arguments[$current_argument['name']] = [];
|
||||
break;
|
||||
case 'DataJSON':
|
||||
case '%DataJSON':
|
||||
$arguments[$current_argument['name']] = null;
|
||||
break;
|
||||
default:
|
||||
throw new Exception("Missing required parameter ".$current_argument['name']);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user