Skip to content

Interface: EditMediaOptions ​

What to change in a post. Leave a field out to keep it.

Properties ​

PropertyModifierTypeDescription
captionreadonlystringThe new caption.
tag?readonlyreadonly UserTag[]People to tag, or to move if they are already tagged. Tags not listed are left alone. On a private account the server only applies a tag for someone who can see the post (a follower). For anyone else it answers ok and tags nobody, so read the result back from usertags.
untag?readonlyreadonly string[]Ids of people to remove from the post's tags. An empty list of tag does not remove.

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.