@bcc-code/vue-bcc-chat-ui 7.1.62 → 7.2.0

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
@@ -86,9 +86,9 @@ declare type __VLS_Slots = {} & {
86
86
  } & {
87
87
  'message-header'?: (props: typeof __VLS_18) => any;
88
88
  } & {
89
- 'no-messages'?: (props: typeof __VLS_80) => any;
89
+ 'no-messages'?: (props: typeof __VLS_88) => any;
90
90
  } & {
91
- 'not-a-member'?: (props: typeof __VLS_83) => any;
91
+ 'not-a-member'?: (props: typeof __VLS_91) => any;
92
92
  };
93
93
 
94
94
  declare type __VLS_WithSlots<T, S> = T & {
@@ -347,6 +347,7 @@ export declare interface ChatClient {
347
347
  sendTextMessage: (text: string, options?: MessageSendOptions) => Promise<void>;
348
348
  sendAttachmentMessage: (input: AttachmentUploadInput, options?: MessageSendOptions) => Promise<void>;
349
349
  sendPollMessage: (input: PollComposerInput, options?: MessageSendOptions) => Promise<void>;
350
+ forwardMessage: (message: ChatMessageItem, target: ForwardMessageTarget) => Promise<void>;
350
351
  fetchScheduledMessages: (originalChatUid?: string) => Promise<void>;
351
352
  loadOlderMessages: () => Promise<boolean>;
352
353
  loadOlderThreadMessages: () => Promise<boolean>;
@@ -363,6 +364,7 @@ export declare interface ChatClient {
363
364
  includeThread?: boolean;
364
365
  }) => Promise<void>;
365
366
  fetchMessageReceipts: (message: ChatMessageItem) => Promise<ChatMessageReceiptItem[]>;
367
+ fetchMessageReactions: (message: ChatMessageItem) => Promise<ChatReactionDetailItem[]>;
366
368
  deleteMessage: (message: ChatMessageItem) => Promise<void>;
367
369
  votePoll: (message: ChatMessageItem, optionId: string) => Promise<void>;
368
370
  toggleReaction: (message: ChatMessageItem, emoji: string) => Promise<void>;
@@ -416,6 +418,10 @@ declare interface ChatEnvironmentConfig {
416
418
  chatApiBaseUrl: string;
417
419
  }
418
420
 
421
+ export declare interface ChatForwardedFromInfo {
422
+ senderName: string;
423
+ }
424
+
419
425
  export declare interface ChatInstallOptions {
420
426
  environment: Environment;
421
427
  language?: Language;
@@ -472,6 +478,7 @@ export declare interface ChatMessageItem {
472
478
  scheduled?: ChatScheduledInfo;
473
479
  translatedText?: string;
474
480
  replyTo?: ChatReplyPreview;
481
+ forwardedFrom?: ChatForwardedFromInfo;
475
482
  parentMessageId?: string;
476
483
  replyCount: number;
477
484
  reactions: ChatReactionItem[];
@@ -530,6 +537,12 @@ export declare interface ChatPollOptionItem {
530
537
  voters: ChatUserProfile[];
531
538
  }
532
539
 
540
+ export declare interface ChatReactionDetailItem {
541
+ emoji: string;
542
+ user: ChatUserProfile;
543
+ reactedAt?: Date;
544
+ }
545
+
533
546
  export declare interface ChatReactionItem {
534
547
  emoji: string;
535
548
  count: number;
@@ -605,6 +618,11 @@ export declare interface DispatchData {
605
618
 
606
619
  export declare type Environment = "prod" | "sandbox";
607
620
 
621
+ export declare interface ForwardMessageTarget {
622
+ chatUid: string;
623
+ type: "user" | "group";
624
+ }
625
+
608
626
  export declare interface FuseResultMatch {
609
627
  indices: ReadonlyArray<[number, number]>;
610
628
  key?: {