@linktr.ee/messaging-react 1.13.1 → 1.14.1

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
@@ -311,6 +311,17 @@ declare module 'stream-chat' {
311
311
  * Used by CustomSystemMessage component.
312
312
  */
313
313
  hide_date?: boolean;
314
+ /**
315
+ * Message metadata from backend.
316
+ * Contains type and payment information.
317
+ */
318
+ metadata?: {
319
+ custom_type?: 'MESSAGE_TIP' | 'MESSAGE_PAID' | 'MESSAGE_CHATBOT';
320
+ amount_text?: string;
321
+ payment_status?: string;
322
+ payment_intent_id?: string;
323
+ listing_id?: string;
324
+ };
314
325
  }
315
326
  }
316
327