v1
latestOpenAPI 3.0.02026-07-14181255304.7 KBChats
⚙️Chat Settings Management: Pin, Mute, Read, Disappearing.
This method is responsible for pinning and unpinning, for muting and unmuting your chats. Also this method is responsible for performing the action of reading an entire chat or marking a chat as unread
patch/chats/{ChatID}
Path parameters
ChatIDstring required
Chat ID
Chat ID
Request body
Example request
{
"pin": true,
"mute_until": 1810364624000,
"mark_unread": true,
"ephemeral": "week"
}Response
OK