When receiving a data message fails to pull the data?

Immediately apologize for the title.
So. When the request message.attachments gives me this data:
5e1130be88d3b016587723.png
I need to WallAttachment or id, ownerId.
I can't do something
April 4th 20 at 00:48
2 answers
April 4th 20 at 00:50
Solution
const [wall] = message.getAttachments('wall');

wall.id // => number
wall.ownerId // => number
April 4th 20 at 00:52
message.attachment.for example ownerId
I suppose you use the library vk-io so you can see in the documentation
documentation
5e11836e89399406400625.jpeg

Find more questions by tags VKontakteNode.js