List all conversations with the current wallet found in the network.
List all conversations stored in the client cache, which may not include conversations on the network.
Creates a new conversation for the given address. Will throw an error if the peer is not found in the XMTP network
Optional
context: InvitationContextReturns a stream of any newly created conversations. Will dedupe to not return the same conversation twice in the same stream. Does not dedupe any other previously seen conversations
Optional
onConnectionLost: OnConnectionLostCallbackStreams messages from all conversations.
When a new conversation is initiated with the client's address, this function will automatically register it and add it to the list of conversations to watch. Callers should be aware the first messages in a newly created conversation are picked up on a best effort basis and there are other potential race conditions which may cause some newly created conversations to be missed.
Optional
onConnectionLost: OnConnectionLostCallbackOptional
startTime: DateGenerated using TypeDoc
Conversations allows you to view ongoing 1:1 messaging sessions with another wallet