C
C
ctariy2020-02-10 16:37:26
API
ctariy, 2020-02-10 16:37:26

How to attach a playlist to a VK Api message?

Is it possible to do this at all now, or is the functionality not yet possible?

As I understand it, you can only send audio to an attachment, not a playlist. So how do you send a playlist?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Sokolov, 2020-02-10
@sergiks

The playlist link looks like this:

https://vk.com/audios111111?section=playlists&z=audio_playlist111111_55555555

What if I send a link in a message?
Well, I would try through the API, suddenly it's just not documented, but it works?
Now they write in messages.send() that they attachmentsare waiting for a line in the field <type><owner_id>_<media_id>,
where typethis is one of:
  • photo - photo;
  • video - video;
  • audio - audio recording;
  • doc - document;
  • wall - post on the wall;
  • market - product.
  • poll - poll.

Try specifying both in the link, audio_playlist, audio-playlistor playlist.
Report results.)

V
vitalhit, 2020-05-26
@vitalhit

Try specifying as in the link, audio_playlist, audio-playlist or playlist.

None of the above options seem to work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question