---
# System prepended metadata

title: Chat API

---

# Chat API

### `mailservers_addMailserver`

### `mailservers_getMailservers`

### `loadFilters`

%* [filter(filters, proc(x:JsonNode):bool = x.kind != JNull)])

### `removeFilters`

### `saveChat`

### `createPublicChat`

%* [{"ID": chatId}])

### `createOneToOneChat`

%* [{"ID": chatId}])

### `deactivateChat`

%* [{ "ID": chat.id }])

### `createProfileChat`

%* [{ "ID": pubKey }])

### `chats`

### `chatMessages`

%* [chatId, cursorVal, limit])

### `emojiReactionsByChatID`

%* [chatId, cursorVal, limit])

### `sendEmojiReaction`

%* [chatId, messageId, emojiId]))["result"]

### `sendEmojiReactionRetraction`

%* [emojiReactionId]))["result"]

### `waku_generateSymKeyFromPassword`

### `sendChatMessage`

### `sendChatMessages`

%* [imagesJson])

### `markAllRead`

%* [chatId])

### `markMessagesSeen`

%* [chatId, messageIds])

### `deleteMessagesByChatID`

%* [chatId])

### `updateMessageOutgoingStatus`

%* [messageId, status])

### `reSendChatMessage`

%*[messageId])

### `muteChat`

%*[chatId])

### `unmuteChat`

%*[chatId])

### `getLinkPreviewData`

### `getLinkPreviewWhitelist`
%*[link])

### `mailservers_ping`

### `updateMailservers`

%* [[peer]])

### `mailservers_deleteMailserver`

%* [peer])

### `requestAllHistoricMessages`

### `syncChatFromSyncedFrom`

%*[chatId])

### `fillGaps`

%*[chatId, messageIds])

### `AllMessagesFromChatWhichMatchTerm`

%*[chatId, searchTem, caseSensitive]

### `AllMessagesFromChatsAndCommunitiesWhichMatchTerm`

%*[[communityIds], [chatIds], searchTem, caseSensitive]

