orvachat

Chats

Mark Voice Note as Played

POST/api/v1/chat/markplayed

Mark a voice note as played.

Parameters

  • IdarrayRequired

    The voice note message ids.

  • ChatPhonestringRequired

    The chat: a person or a group id.

  • SenderPhonestringOptional

    Who sent the voice note. Needed in groups.

Code Examples

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