@here and @all using rest api

Description

q is very simple. How to send @all/@here using rest API to room?

example -
curl -H “X-Auth-Token: my-token”
-H “X-User-Id: my-key”
-H “Content-type:application/json”
https://rchat.my.com:443/api/v1/chat.sendMessage
-d ‘{“message”: { “rid”: “rid”, “msg”: “@here test message” }}’

rchat response - {“success”:false,“error”:“Cannot read property ‘starred’ of undefined”}