Answer the question
In order to leave comments, you need to log in
Why error 100 in vk bot?
Hello! There is a code, the bot should, in theory, mark messages as read:
$vk->request('messages.markAsRead', ['message_ids' => $msg_id, 'peer_id' => $peer_id]);
$vk->request('messages.markAsRead', ['message_ids' => $msg_id, 'peer_id' => 'ID группы']);
Answer the question
In order to leave comments, you need to log in
The error is not in messages.markAsRead, but in sendMessage('476598060', ''). Message is empty
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question