orvachat

Messages

Edit Message

POST/api/v1/chat/send/edit

Edit a text message you sent.

Parameters

  • PhonestringRequired

    The chat the message is in: phone number or chat id.

  • IdstringRequired

    The id of the message to edit.

  • BodystringRequired

    The new text.

  • MentionAllbooleanOptional

    In a group, mention every member without showing their numbers.

Code Examples

cURL
curl -X POST "https://orvachat.com/api/v1/chat/send/edit" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "Phone": "923001234567",
  "Id": "3EB0ABCDEF1234567890",
  "Body": "Corrected text"
}'