Experimental
Start a new XMTP conversation between two Lens profiles.
You MUST be authenticated via useLogin to use this hook.
useLogin
const { startConversation, isLoading, error } = useStartLensConversation({ peerProfile,});const newConversation = await startConversation(peerProfile.ownedBy.address, firstMessage); Copy
const { startConversation, isLoading, error } = useStartLensConversation({ peerProfile,});const newConversation = await startConversation(peerProfile.ownedBy.address, firstMessage);
Start a new XMTP conversation between two Lens profiles.
You MUST be authenticated via
useLogin
to use this hook.