Update chat
Update supported chat fields. Non-empty drafts are accepted only when the current draft is empty. Send draft=null to clear the draft before setting new draft text or attachments.
Parameters
Chat ID. Input routes also accept the local chat ID from this installation when available.
Group chat description/topic. Support depends on the chat account and chat permissions.
Draft object to set or clear. Non-empty drafts are only accepted when the current draft is empty. Send draft=null to clear text and attachments together before setting a new draft.
Local filesystem path to a group chat avatar image. Support depends on the chat account and chat permissions.
Mark or unmark the chat as low priority when supported by the account.
Update chat
beeper-desktop chats update \
--access-token 'My Access Token' \
--chat-id '!NCdzlIaMjZUmvmvyHU:beeper.com'{
"id": "!whatsapp_15550101002:ba_EvYDBBsZbRQAy3UOSWqG0LuTVkc.local-whatsapp.localhost",
"accountID": "local-whatsapp_ba_EvYDBBsZbRQAy3UOSWqG0LuTVkc",
"network": "WhatsApp",
"participants": {
"hasMore": false,
"items": [
{
"id": "@15550101002:local-whatsapp.localhost",
"cannotMessage": false,
"email": "email",
"fullName": "Kishan Bagaria",
"imgURL": "imgURL",
"isSelf": false,
"phoneNumber": "+15550101002",
"username": "username",
"isAdmin": true,
"isNetworkBot": true,
"isPending": true
},
{
"id": "@ba_EvYDBBsZbRQAy3UOSWqG0LuTVkc:local-whatsapp.localhost",
"cannotMessage": false,
"email": "email",
"fullName": "Batuhan İçöz",
"imgURL": "imgURL",
"isSelf": true,
"phoneNumber": "phoneNumber",
"username": "username",
"isAdmin": true,
"isNetworkBot": true,
"isPending": true
}
],
"total": 2
},
"title": "Kishan Bagaria",
"type": "single",
"unreadCount": 0,
"capabilities": {
"allowedReactions": [
"string"
],
"archive": true,
"attachments": {
"foo": {
"mimeTypes": {
"foo": -2
},
"caption": -2,
"maxCaptionLength": 0,
"maxDuration": 0,
"maxHeight": 0,
"maxSize": 0,
"maxWidth": 0,
"viewOnce": true
}
},
"customEmojiReactions": true,
"delete": -2,
"deleteChat": true,
"deleteChatForEveryone": true,
"deleteForMe": true,
"deleteMaxAge": 0,
"disappearingTimer": {
"omitEmptyTimer": true,
"timers": [
0
],
"types": [
"afterRead"
]
},
"edit": -2,
"editMaxAge": 0,
"editMaxCount": 0,
"formatting": {
"foo": -2
},
"locationMessage": -2,
"markAsUnread": true,
"maxTextLength": 0,
"messageRequest": {
"acceptWithButton": -2,
"acceptWithMessage": -2
},
"participantActions": {
"ban": -2,
"invite": -2,
"kick": -2,
"leave": -2,
"revokeInvite": -2
},
"poll": -2,
"reaction": -2,
"reactionCount": 0,
"readReceipts": true,
"reply": -2,
"state": {
"avatar": {
"level": -2
},
"description": {
"level": -2
},
"disappearingTimer": {
"level": -2
},
"title": {
"level": -2
}
},
"thread": -2,
"typingNotifications": true
},
"description": "description",
"draft": {
"text": "text",
"attachments": {
"foo": {
"id": "id",
"type": "file",
"audioDurationSeconds": 0,
"fileName": "fileName",
"filePath": "filePath",
"fileSize": 0,
"mimeType": "mimeType",
"size": {
"height": 0,
"width": 0
},
"stickerID": "stickerID"
}
}
},
"imgURL": "imgURL",
"isArchived": false,
"isLowPriority": true,
"isMarkedUnread": true,
"isMuted": false,
"isPinned": false,
"isReadOnly": true,
"lastActivity": "2026-05-05T20:11:54.000Z",
"lastReadMessageSortKey": "455171049984",
"localChatID": "5639",
"messageExpirySeconds": 0,
"reminder": {
"dismissOnIncomingMessage": true,
"remindAt": "2025-08-31T23:30:12.520Z"
},
"snooze": {
"snoozeUntil": "2025-08-31T23:30:12.520Z",
"userSnoozedAt": "2025-08-31T23:30:12.520Z"
},
"unreadMentionsCount": 0
}Returns Examples
{
"id": "!whatsapp_15550101002:ba_EvYDBBsZbRQAy3UOSWqG0LuTVkc.local-whatsapp.localhost",
"accountID": "local-whatsapp_ba_EvYDBBsZbRQAy3UOSWqG0LuTVkc",
"network": "WhatsApp",
"participants": {
"hasMore": false,
"items": [
{
"id": "@15550101002:local-whatsapp.localhost",
"cannotMessage": false,
"email": "email",
"fullName": "Kishan Bagaria",
"imgURL": "imgURL",
"isSelf": false,
"phoneNumber": "+15550101002",
"username": "username",
"isAdmin": true,
"isNetworkBot": true,
"isPending": true
},
{
"id": "@ba_EvYDBBsZbRQAy3UOSWqG0LuTVkc:local-whatsapp.localhost",
"cannotMessage": false,
"email": "email",
"fullName": "Batuhan İçöz",
"imgURL": "imgURL",
"isSelf": true,
"phoneNumber": "phoneNumber",
"username": "username",
"isAdmin": true,
"isNetworkBot": true,
"isPending": true
}
],
"total": 2
},
"title": "Kishan Bagaria",
"type": "single",
"unreadCount": 0,
"capabilities": {
"allowedReactions": [
"string"
],
"archive": true,
"attachments": {
"foo": {
"mimeTypes": {
"foo": -2
},
"caption": -2,
"maxCaptionLength": 0,
"maxDuration": 0,
"maxHeight": 0,
"maxSize": 0,
"maxWidth": 0,
"viewOnce": true
}
},
"customEmojiReactions": true,
"delete": -2,
"deleteChat": true,
"deleteChatForEveryone": true,
"deleteForMe": true,
"deleteMaxAge": 0,
"disappearingTimer": {
"omitEmptyTimer": true,
"timers": [
0
],
"types": [
"afterRead"
]
},
"edit": -2,
"editMaxAge": 0,
"editMaxCount": 0,
"formatting": {
"foo": -2
},
"locationMessage": -2,
"markAsUnread": true,
"maxTextLength": 0,
"messageRequest": {
"acceptWithButton": -2,
"acceptWithMessage": -2
},
"participantActions": {
"ban": -2,
"invite": -2,
"kick": -2,
"leave": -2,
"revokeInvite": -2
},
"poll": -2,
"reaction": -2,
"reactionCount": 0,
"readReceipts": true,
"reply": -2,
"state": {
"avatar": {
"level": -2
},
"description": {
"level": -2
},
"disappearingTimer": {
"level": -2
},
"title": {
"level": -2
}
},
"thread": -2,
"typingNotifications": true
},
"description": "description",
"draft": {
"text": "text",
"attachments": {
"foo": {
"id": "id",
"type": "file",
"audioDurationSeconds": 0,
"fileName": "fileName",
"filePath": "filePath",
"fileSize": 0,
"mimeType": "mimeType",
"size": {
"height": 0,
"width": 0
},
"stickerID": "stickerID"
}
}
},
"imgURL": "imgURL",
"isArchived": false,
"isLowPriority": true,
"isMarkedUnread": true,
"isMuted": false,
"isPinned": false,
"isReadOnly": true,
"lastActivity": "2026-05-05T20:11:54.000Z",
"lastReadMessageSortKey": "455171049984",
"localChatID": "5639",
"messageExpirySeconds": 0,
"reminder": {
"dismissOnIncomingMessage": true,
"remindAt": "2025-08-31T23:30:12.520Z"
},
"snooze": {
"snoozeUntil": "2025-08-31T23:30:12.520Z",
"userSnoozedAt": "2025-08-31T23:30:12.520Z"
},
"unreadMentionsCount": 0
}