Mark a Chat as Read
View All Telegram Messaging API APIs →Mark a peer's history as read up to a given message. Send a JSON body with peer (@username, +phone, me, or a user:<id> / chat:<id> / channel:<id> peer from inbox or chat responses) and an optional maxId; when maxId is omitted, everything up to the latest message is marked read.
API Features
Up to any message Pass maxId to mark a precise point, or omit it for the latest
Peer-flexible Works with @username, +phone, me, or typed peer ids from other responses
Chat-scoped Targets one peer's history for precise control
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
POST
/api/project/telegram-messaging/mark-read API Response (JSON)
{} Query Result
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Use Cases
- Auto-acknowledge inbound messages after your bot processes them
- Clear unread badges in a synced support inbox
- Simulate human read behavior in a conversational flow