Correction
This commit is contained in:
parent
9817608eb7
commit
59af689364
12 changed files with 17 additions and 12 deletions
|
@ -24,7 +24,7 @@
|
|||
$parameters['permissions'] = json_encode($parameters['permissions']);
|
||||
}
|
||||
|
||||
return (bool)$bot->sendRequest(Methods::RESTRICT_CHAT_MEMBER->value, $parameters);
|
||||
return (bool)self::executeCurl(self::buildPost($bot, Methods::RESTRICT_CHAT_MEMBER->value, $parameters));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue