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

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
@@ -124,10 +124,18 @@ export declare interface MessagingShellProps {
124
124
  * Useful for deep-linking to a specific conversation (e.g., /messages/[accountUuid])
125
125
  *
126
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.
127
+ * If no channel exists, you can provide initialParticipantData to automatically
128
+ * create the channel using the existing ChannelCreator.
129
129
  */
130
130
  initialParticipantFilter?: string;
131
+ /**
132
+ * Participant data for auto-creating a channel when initialParticipantFilter
133
+ * is provided but no channel exists. If this is provided, MessagingShell will
134
+ * automatically call service.startChannelWithParticipant() to create the channel.
135
+ *
136
+ * This reuses the existing ChannelCreator from StreamChatServiceConfig.
137
+ */
138
+ initialParticipantData?: Participant;
131
139
  }
132
140
 
133
141
  /**