I am new to rocketchat and API calls but I was able to figure out how to make REST calls. Now I am looking to create a REALTIME call that will set a user status from Online to Away. The call is documented as this:
I can successfully connect to my webhook URL but I’m not sure how to use the above example to set a users presence. How do I specify a user? What is the “id” value? I see id:42 in other api examples and i’m not sure if thats just an example or if its required.