This commit is contained in:
Daniil Gentili 2018-07-09 21:45:09 +02:00
parent b89e41a650
commit a1de0903e5

View File

@ -439,6 +439,9 @@ trait BotAPI
public function parse_mode($arguments)
{
if ($arguments['message'] === '' || !isset($arguments['message'])) {
return $arguments;
}
if (isset($arguments['parse_mode']['_'])) {
$arguments['parse_mode'] = str_replace('textParseMode', '', $arguments['parse_mode']['_']);
}