VKAPI: Messages.getHistory fixed error code 500 due missing parameter (#702)

This commit is contained in:
El psy congroo desu 2022-08-29 22:29:55 +05:00 committed by GitHub
parent d9ec6a1692
commit 5769d4060f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -284,7 +284,7 @@ final class Messages extends VKAPIRequestHandler
return (object) $output; return (object) $output;
} }
function getHistory(int $offset = 0, int $count = 20, int $user_id = -1, int $peer_id = -1, int $start_message_id = 0, int $rev = 0, int $extended = 0): object function getHistory(int $offset = 0, int $count = 20, int $user_id = -1, int $peer_id = -1, int $start_message_id = 0, int $rev = 0, int $extended = 0, string $fields = ""): object
{ {
$this->requireUser(); $this->requireUser();