Creates a new instance of the Client class from a provided key bundle.
This method is useful for scenarios where you want to manually handle private key storage,
allowing the application to have access to XMTP keys without exposing wallet keys.
\ No newline at end of file
diff --git a/classes/ConsentListEntry.html b/classes/ConsentListEntry.html
index db4b523ad..4fabb4a01 100644
--- a/classes/ConsentListEntry.html
+++ b/classes/ConsentListEntry.html
@@ -1,6 +1,6 @@
-ConsentListEntry | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/classes/Conversation.html b/classes/Conversation.html
index d1eebad63..5ac422b51 100644
--- a/classes/Conversation.html
+++ b/classes/Conversation.html
@@ -1,4 +1,4 @@
-Conversation | @xmtp/react-native-sdk
Retrieves the consent state for the current conversation.
This asynchronous method determine the consent state
for the current conversation, indicating whether the user has allowed, denied,
or is yet to provide consent.
Returns Promise<"allowed" | "denied" | "unknown">
A Promise that resolves to the consent state, which can be "allowed," "denied," or "unknown."
Prepares a message to be sent, yielding a PreparedLocalMessage object.
Instead of immediately sending a message, you can prepare it first using this method.
This yields a PreparedLocalMessage object, which you can send later.
This is useful to help construct a robust pending-message queue
@@ -44,18 +44,18 @@
Todo
Support pagination and conversation ID in future implementations
Parameters
content: any
The content of the message. It can be either a string or a structured MessageContent object.
A Promise that resolves to a string identifier for the sent message.
Throws
Throws an error if there is an issue with sending the prepared message.
-
streamMessages
streamMessages(callback): (() => void)
Sets up a real-time message stream for the current conversation.
+
streamMessages
streamMessages(callback): (() => void)
Sets up a real-time message stream for the current conversation.
This method subscribes to incoming messages in real-time and listens for new message events.
When a new message is detected, the provided callback function is invoked with the details of the message.
Additionally, this method returns a function that can be called to unsubscribe and end the message stream.
@@ -66,4 +66,4 @@
Todo
Support specifying a conversation ID in future implementations.<
When a new message is detected, the provided callback function is invoked with the details of the message.
Additionally, this method returns a function that can be called to unsubscribe and end the message stream.
Returns void
A function that, when called, unsubscribes from the message stream and ends real-time updates.
\ No newline at end of file
diff --git a/classes/DecodedMessage.html b/classes/DecodedMessage.html
index 46e3aafaa..707bd6bfe 100644
--- a/classes/DecodedMessage.html
+++ b/classes/DecodedMessage.html
@@ -1,4 +1,4 @@
-DecodedMessage | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/classes/ReactionCodec.html b/classes/ReactionCodec.html
index d3b659cd4..338c0240e 100644
--- a/classes/ReactionCodec.html
+++ b/classes/ReactionCodec.html
@@ -1,7 +1,7 @@
-ReactionCodec | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/classes/ReadReceiptCodec.html b/classes/ReadReceiptCodec.html
index 620c1dfef..9d6ffd7b9 100644
--- a/classes/ReadReceiptCodec.html
+++ b/classes/ReadReceiptCodec.html
@@ -1,7 +1,7 @@
-ReadReceiptCodec | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/classes/RemoteAttachmentCodec.html b/classes/RemoteAttachmentCodec.html
index 216cca21a..55ed3c304 100644
--- a/classes/RemoteAttachmentCodec.html
+++ b/classes/RemoteAttachmentCodec.html
@@ -1,7 +1,7 @@
-RemoteAttachmentCodec | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/classes/ReplyCodec.html b/classes/ReplyCodec.html
index f2644951e..c4b4095b2 100644
--- a/classes/ReplyCodec.html
+++ b/classes/ReplyCodec.html
@@ -1,7 +1,7 @@
-ReplyCodec | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/classes/StaticAttachmentCodec.html b/classes/StaticAttachmentCodec.html
index a458b5d6f..1aedbe5d0 100644
--- a/classes/StaticAttachmentCodec.html
+++ b/classes/StaticAttachmentCodec.html
@@ -1,7 +1,7 @@
-StaticAttachmentCodec | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/classes/TextCodec.html b/classes/TextCodec.html
index deb534758..c583d3627 100644
--- a/classes/TextCodec.html
+++ b/classes/TextCodec.html
@@ -1,7 +1,7 @@
-TextCodec | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/classes/XMTPPush.html b/classes/XMTPPush.html
index 916e58411..424101f75 100644
--- a/classes/XMTPPush.html
+++ b/classes/XMTPPush.html
@@ -1,4 +1,4 @@
-XMTPPush | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/address.html b/functions/address.html
index b26bdee7c..08fe724e9 100644
--- a/functions/address.html
+++ b/functions/address.html
@@ -1 +1 @@
-address | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/allowContacts.html b/functions/allowContacts.html
index aebcab78c..6740cfbae 100644
--- a/functions/allowContacts.html
+++ b/functions/allowContacts.html
@@ -1 +1 @@
-allowContacts | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/auth.html b/functions/auth.html
index d48d8267c..2d11e59ed 100644
--- a/functions/auth.html
+++ b/functions/auth.html
@@ -1 +1 @@
-auth | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/canMessage.html b/functions/canMessage.html
index 379915944..387f24ecb 100644
--- a/functions/canMessage.html
+++ b/functions/canMessage.html
@@ -1 +1 @@
-canMessage | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/consentList.html b/functions/consentList.html
index 18378cbfe..f004d54c4 100644
--- a/functions/consentList.html
+++ b/functions/consentList.html
@@ -1 +1 @@
-consentList | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/conversationConsentState.html b/functions/conversationConsentState.html
index 018c0dc7d..920811272 100644
--- a/functions/conversationConsentState.html
+++ b/functions/conversationConsentState.html
@@ -1 +1 @@
-conversationConsentState | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/createConversation.html b/functions/createConversation.html
index 22217f574..6eb13e713 100644
--- a/functions/createConversation.html
+++ b/functions/createConversation.html
@@ -1 +1 @@
-createConversation | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/createFromKeyBundle.html b/functions/createFromKeyBundle.html
index f947f5543..cae42c8c6 100644
--- a/functions/createFromKeyBundle.html
+++ b/functions/createFromKeyBundle.html
@@ -1 +1 @@
-createFromKeyBundle | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/createRandom.html b/functions/createRandom.html
index 9cbb5b18b..7c51eb888 100644
--- a/functions/createRandom.html
+++ b/functions/createRandom.html
@@ -1 +1 @@
-createRandom | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/decodeMessage.html b/functions/decodeMessage.html
index d1eb08214..c8885a0a6 100644
--- a/functions/decodeMessage.html
+++ b/functions/decodeMessage.html
@@ -1 +1 @@
-decodeMessage | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/decryptAttachment.html b/functions/decryptAttachment.html
index c458a1c9e..bc6bdb776 100644
--- a/functions/decryptAttachment.html
+++ b/functions/decryptAttachment.html
@@ -1 +1 @@
-decryptAttachment | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/denyContacts.html b/functions/denyContacts.html
index fa06a8c22..ecb96b2eb 100644
--- a/functions/denyContacts.html
+++ b/functions/denyContacts.html
@@ -1 +1 @@
-denyContacts | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/encryptAttachment.html b/functions/encryptAttachment.html
index 98449df8b..4a1b6ba4f 100644
--- a/functions/encryptAttachment.html
+++ b/functions/encryptAttachment.html
@@ -1 +1 @@
-encryptAttachment | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/exportConversationTopicData.html b/functions/exportConversationTopicData.html
index 9c82a2b6e..5d6a7b7b8 100644
--- a/functions/exportConversationTopicData.html
+++ b/functions/exportConversationTopicData.html
@@ -1 +1 @@
-exportConversationTopicData | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/exportKeyBundle.html b/functions/exportKeyBundle.html
index 6b31d22cf..c5a6a9179 100644
--- a/functions/exportKeyBundle.html
+++ b/functions/exportKeyBundle.html
@@ -1 +1 @@
-exportKeyBundle | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/importConversationTopicData.html b/functions/importConversationTopicData.html
index 6e7bdf166..7eef51db9 100644
--- a/functions/importConversationTopicData.html
+++ b/functions/importConversationTopicData.html
@@ -1 +1 @@
-importConversationTopicData | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/isAllowed.html b/functions/isAllowed.html
index ae9c7c783..8c29edc61 100644
--- a/functions/isAllowed.html
+++ b/functions/isAllowed.html
@@ -1 +1 @@
-isAllowed | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/isDenied.html b/functions/isDenied.html
index addf771c2..dfae9a04f 100644
--- a/functions/isDenied.html
+++ b/functions/isDenied.html
@@ -1 +1 @@
-isDenied | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/listBatchMessages.html b/functions/listBatchMessages.html
index c6ecdf38b..03e07d886 100644
--- a/functions/listBatchMessages.html
+++ b/functions/listBatchMessages.html
@@ -1 +1 @@
-listBatchMessages | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/listConversations.html b/functions/listConversations.html
index d6a7269ca..6456d8ade 100644
--- a/functions/listConversations.html
+++ b/functions/listConversations.html
@@ -1 +1 @@
-listConversations | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/listMessages.html b/functions/listMessages.html
index e9747b542..2461d4f3a 100644
--- a/functions/listMessages.html
+++ b/functions/listMessages.html
@@ -1 +1 @@
-listMessages | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/prepareMessage.html b/functions/prepareMessage.html
index 9cc9af241..fcabc1d6a 100644
--- a/functions/prepareMessage.html
+++ b/functions/prepareMessage.html
@@ -1 +1 @@
-prepareMessage | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/receiveSignature.html b/functions/receiveSignature.html
index 9e1b74095..e98aeb047 100644
--- a/functions/receiveSignature.html
+++ b/functions/receiveSignature.html
@@ -1 +1 @@
-receiveSignature | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/refreshConsentList.html b/functions/refreshConsentList.html
index 1edb00f90..d7ff1c9fd 100644
--- a/functions/refreshConsentList.html
+++ b/functions/refreshConsentList.html
@@ -1 +1 @@
-refreshConsentList | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/registerPushToken.html b/functions/registerPushToken.html
index 1d9c06334..d2df71124 100644
--- a/functions/registerPushToken.html
+++ b/functions/registerPushToken.html
@@ -1 +1 @@
-registerPushToken | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/sendMessage.html b/functions/sendMessage.html
index 61a61e923..e951ed175 100644
--- a/functions/sendMessage.html
+++ b/functions/sendMessage.html
@@ -1 +1 @@
-sendMessage | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/sendPreparedMessage.html b/functions/sendPreparedMessage.html
index baf3eeec7..b6b9fe669 100644
--- a/functions/sendPreparedMessage.html
+++ b/functions/sendPreparedMessage.html
@@ -1 +1 @@
-sendPreparedMessage | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/sendWithContentType.html b/functions/sendWithContentType.html
index 638a368ef..a4d4aa503 100644
--- a/functions/sendWithContentType.html
+++ b/functions/sendWithContentType.html
@@ -1 +1 @@
-sendWithContentType | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/staticCanMessage.html b/functions/staticCanMessage.html
index 147ab57e3..a7cc28901 100644
--- a/functions/staticCanMessage.html
+++ b/functions/staticCanMessage.html
@@ -1 +1 @@
-staticCanMessage | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/subscribePushTopics.html b/functions/subscribePushTopics.html
index bf0db1fe9..a7d9911a9 100644
--- a/functions/subscribePushTopics.html
+++ b/functions/subscribePushTopics.html
@@ -1 +1 @@
-subscribePushTopics | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/subscribeToAllMessages.html b/functions/subscribeToAllMessages.html
index 080988f30..73c75e2ac 100644
--- a/functions/subscribeToAllMessages.html
+++ b/functions/subscribeToAllMessages.html
@@ -1 +1 @@
-subscribeToAllMessages | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/subscribeToConversations.html b/functions/subscribeToConversations.html
index 5824b1188..6e39055cd 100644
--- a/functions/subscribeToConversations.html
+++ b/functions/subscribeToConversations.html
@@ -1 +1 @@
-subscribeToConversations | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/subscribeToMessages.html b/functions/subscribeToMessages.html
index 87a306c66..c510a2e02 100644
--- a/functions/subscribeToMessages.html
+++ b/functions/subscribeToMessages.html
@@ -1 +1 @@
-subscribeToMessages | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/unsubscribeFromAllMessages.html b/functions/unsubscribeFromAllMessages.html
index a7a42bab8..eded8e3ed 100644
--- a/functions/unsubscribeFromAllMessages.html
+++ b/functions/unsubscribeFromAllMessages.html
@@ -1 +1 @@
-unsubscribeFromAllMessages | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/unsubscribeFromConversations.html b/functions/unsubscribeFromConversations.html
index 91f62a9e0..f14f9d1c5 100644
--- a/functions/unsubscribeFromConversations.html
+++ b/functions/unsubscribeFromConversations.html
@@ -1 +1 @@
-unsubscribeFromConversations | @xmtp/react-native-sdk
\ No newline at end of file
diff --git a/functions/unsubscribeFromMessages.html b/functions/unsubscribeFromMessages.html
index d46b328c5..2aafb7b27 100644
--- a/functions/unsubscribeFromMessages.html
+++ b/functions/unsubscribeFromMessages.html
@@ -1 +1 @@
-unsubscribeFromMessages | @xmtp/react-native-sdk
Use the XMTP React Native example app as a tool to start building an app with XMTP. This basic messaging app has an intentionally unopinionated UI to help make it easier for you to build with.
Use the XMTP React Native example app as a tool to start building an app with XMTP. This basic messaging app has an intentionally unopinionated UI to help make it easier for you to build with. See example/README.md for more instructions.
The production network is configured to store messages indefinitely. XMTP may occasionally delete messages and keys from the dev network, and will provide advance notice in the XMTP Discord community.
Determines whether the current user can send messages to a specified peer.
+