Merge branch 'master' of https://github.com/danog/MadelineProto
This commit is contained in:
commit
b57f7e957d
@ -162,7 +162,9 @@ description: '.$this->settings['description'].'
|
|||||||
$params .= (isset($param['subtype']) ? '['.$ptype.']' : $ptype).', ';
|
$params .= (isset($param['subtype']) ? '['.$ptype.']' : $ptype).', ';
|
||||||
$lua_params .= $param['name'].'=';
|
$lua_params .= $param['name'].'=';
|
||||||
$lua_params .= (isset($param['subtype']) ? '{'.$ptype.'}' : $ptype).', ';
|
$lua_params .= (isset($param['subtype']) ? '{'.$ptype.'}' : $ptype).', ';
|
||||||
if ($param['name'] === 'reply_markup') $hasreplymarkup = true;
|
if ($param['name'] === 'reply_markup') {
|
||||||
|
$hasreplymarkup = true;
|
||||||
|
}
|
||||||
if ($param['name'] === 'entities') {
|
if ($param['name'] === 'entities') {
|
||||||
$hasentities = true;
|
$hasentities = true;
|
||||||
$table .= '|parse\_mode| [string](../types/string.md) | Optional |
|
$table .= '|parse\_mode| [string](../types/string.md) | Optional |
|
||||||
@ -407,8 +409,9 @@ description: List of methods
|
|||||||
$params .= (isset($param['subtype']) ? '['.$ptype.']' : $ptype).', ';
|
$params .= (isset($param['subtype']) ? '['.$ptype.']' : $ptype).', ';
|
||||||
$lua_params .= $param['name'].'=';
|
$lua_params .= $param['name'].'=';
|
||||||
$lua_params .= (isset($param['subtype']) ? '{'.$ptype.'}' : $ptype).', ';
|
$lua_params .= (isset($param['subtype']) ? '{'.$ptype.'}' : $ptype).', ';
|
||||||
if ($param['name'] === 'reply_markup') $hasreplymarkup = true;
|
if ($param['name'] === 'reply_markup') {
|
||||||
|
$hasreplymarkup = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$params = "['_' => '".$rconstructor."', ".$params.']';
|
$params = "['_' => '".$rconstructor."', ".$params.']';
|
||||||
$lua_params = "{_='".$rconstructor."', ".$lua_params.'}';
|
$lua_params = "{_='".$rconstructor."', ".$lua_params.'}';
|
||||||
|
Loading…
Reference in New Issue
Block a user