Skip to content
Download Beeper

Delete a message

$ beeper-desktop messages delete
DELETE/v1/chats/{chatID}/messages/{messageID}

Delete a message by final message ID. Pending message IDs are not accepted because messages cannot be deleted while sending.

ParametersExpand Collapse
--chat-id: string

Path param: Chat ID. Input routes also accept the local chat ID from this installation when available.

--message-id: string

Path param: Message ID.

--for-everyone: optional boolean

Query param: True to request deletion for everyone when the network supports it; false to delete only for the authenticated user when supported.

Delete a message

beeper-desktop messages delete \
  --access-token 'My Access Token' \
  --chat-id '!NCdzlIaMjZUmvmvyHU:beeper.com' \
  --message-id 1343993
Returns Examples