Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.01 KB

File metadata and controls

40 lines (30 loc) · 1.01 KB

Star Message

Starring messages allows a user to quickly save for future reference, or something similar, for their own personal usage.

Requirements

Logged In Permission Setting
Yes none Message_AllowStarring - "Allow Message Starring"

Example Call

The only parameter that needs to be passed in is an object with the _id, rid, and starred properties. The starred property is a boolean and it determines whether the user is starring the message or removing the star from the message.

{
    "msg": "method",
    "method": "starMessage",
    "id": "21",
    "params": [{
        "_id": "sBYLyaHFkMdr7LKGt",
        "rid": "QFtTnPJ4XbG634Skm",
        "starred": true || false
    }]
}

Example Response

{
    "msg": "result",
    "id": "21",
    "result": 1
}

See Also: