Preparing search index...
The search index is not available
@xmtp/react-sdk
@xmtp/react-sdk
useStreamMessages
Function useStreamMessages
This hook streams new conversation messages on mount and exposes an error state.
use
Stream
Messages
(
conversation
,
options
?
)
:
{
error
:
null
|
Error
;
}
Parameters
conversation
:
CachedConversation
Optional
options
:
UseStreamMessagesOptions
Returns
{
error
:
null
|
Error
;
}
error
:
null
|
Error
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@xmtp/react-sdk
Loading...
This hook streams new conversation messages on mount and exposes an error state.