-
Notifications
You must be signed in to change notification settings - Fork 26
ChatFacade
Celine Sarafa edited this page May 19, 2023
·
1 revision
The chat facade provides all methods available in the Chat API.
It also has a couple of extra things on top of the chat API to achieve the features in Web3Inbox.
The chat facade manages a message queue within web3inbox, implemented here.
It simply uses RxJS features to create a queue and provides a function called getUnsentMessages
to
retrieve messages that failed or pending.
This is configured through messageReplayMaxCount
and messageSendTimeout
.
Another feature Web3Inbox will provide is muted contacts, which simply communicates with an added function in the chat provider.