orvachat

Chats

Star Message

POST/api/v1/chat/star

Star or unstar a message.

Parameters

  • ChatstringRequired

    The chat id: a person (…@s.whatsapp.net or …@lid) or a group (…@g.us).

  • SenderstringOptional

    Who sent the message. Needed in groups.

  • IdstringRequired

    The message id.

  • FromMebooleanRequired

    true if you sent the message.

  • StarbooleanRequired

    true to star, false to unstar.

Code Examples

cURL
curl -X POST "https://orvachat.com/api/v1/chat/star" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "Chat": "[email protected]",
  "Sender": "[email protected]",
  "Id": "3EB0ABCDEF1234567890",
  "FromMe": false,
  "Star": true
}'