Delete a Message for Everyone

View all Telegram Messaging API endpoints →

Delete a message for everyone. Send a JSON body with peer and the numeric messageId of the target message. Use it to retract a message sent by the account or to moderate where permissions allow.

API Features

Delete for everyone Remove a message from the chat for all participants
Simple payload Just peer and messageId

Live API Demo

POST /api/project/telegram-messaging/revoke-message

API Response (JSON)

{}
curl -X POST 'https://api.opendata-api.com/api/project/telegram-messaging/revoke-message?key=<API_KEY>&sessionId=<sessionId>' \ -H 'Content-Type: application/json' \ -d '{"body":"{\"peer\":\"@username\",\"messageId\":123}"}'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Related operations

Guides

View Subscription Plans →