Answer the question
In order to leave comments, you need to log in
How to send video vk api messages.send php?
$request_params = array(
'message' => $answer_text,
'random_id' => rand(1, 999999),
'user_id' => $user_id,
'attachment' => 'video-189353548_456239010',
'access_token' => $token,
'v' => '5.103'
);
$get_params = http_build_query($request_params);
file_get_contents("https://api.vk.com/method/messages.send?". $get_params);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question