Chat-level operations backed by app-state patches.
Summary
Functions
Archive or unarchive a chat using the Baileys archive patch shape.
Clear a chat history using the last-message range required by Syncd.
Delete a chat using the last-message range required by Syncd.
Delete a specific message for the current device.
Mark a chat read or unread.
Mute a chat until the given Unix timestamp, or pass nil to unmute.
Pin or unpin a chat.
Star or unstar one or more messages in a chat.
Toggle the privacy setting that disables link previews server-side.
Elixir-friendly alias for update_disable_link_previews_privacy/2.
Functions
Archive or unarchive a chat using the Baileys archive patch shape.
Clear a chat history using the last-message range required by Syncd.
Delete a chat using the last-message range required by Syncd.
@spec delete_message_for_me(term(), String.t(), map(), integer(), boolean()) :: {:ok, map()} | {:error, term()}
Delete a specific message for the current device.
Mark a chat read or unread.
Mute a chat until the given Unix timestamp, or pass nil to unmute.
Pin or unpin a chat.
Star or unstar one or more messages in a chat.
Toggle the privacy setting that disables link previews server-side.
Elixir-friendly alias for update_disable_link_previews_privacy/2.