messages
messages.markAsImportant
Marks and unmarks messages as important (starred).
Parameters
message_ids
integer
IDs of messages to mark as important.
cmids
integer
peer_id
integer
important
positive
1 — to add a star (mark as important) 0 — to remove the star
Result
Return a list of IDs for successfully marked messages.
Error codes
Common errors may occur during execution
Related methods
messages.markAsRead
Marks messages as read.