@linktr.ee/messaging-react 1.3.0 → 1.4.0-rc-1761046174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -119,6 +119,15 @@ export declare interface MessagingShellProps {
119
119
  renderMessageInputActions?: (channel: Channel) => React.ReactNode;
120
120
  onChannelSelect?: (channel: Channel) => void;
121
121
  onParticipantSelect?: (participant: Participant) => void;
122
+ /**
123
+ * Auto-select a conversation with this participant on mount.
124
+ * Useful for deep-linking to a specific conversation (e.g., /messages/[accountUuid])
125
+ *
126
+ * If a channel with this participant exists, it will be auto-selected.
127
+ * If no channel exists and participantSource is provided,
128
+ * the participant picker can be shown to create a new conversation.
129
+ */
130
+ initialParticipantFilter?: string;
122
131
  }
123
132
 
124
133
  /**