@bcc-code/vue-bcc-chat-ui 5.0.0 → 5.1.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.
@@ -12,3 +12,5 @@ export declare function scrollToMessage(messageId: string): void;
12
12
  export declare function getSenderDisplayName(message: BaseMessage | undefined, group?: Ref<Group | undefined>): any;
13
13
  export declare function getMessageTextPreview(message?: BaseMessage, showEmoji?: boolean, showAttachmentName?: boolean): string;
14
14
  export declare function proxyImage(imageUrl: string): string;
15
+ export declare function getMutedUntil(chatUid: string): Promise<Date | null>;
16
+ export declare function muteChat(chatUid: string, mutedUntil: Date | null): Promise<Date | null>;
@@ -435,6 +435,8 @@ declare const _default: {
435
435
  getSenderDisplayName(message: import('@cometchat/chat-sdk-javascript').BaseMessage | undefined, group?: Ref<import('@cometchat/chat-sdk-javascript').Group | undefined>): any;
436
436
  getMessageTextPreview(message?: import('@cometchat/chat-sdk-javascript').BaseMessage, showEmoji?: boolean, showAttachmentName?: boolean): string;
437
437
  proxyImage(imageUrl: string): string;
438
+ getMutedUntil(chatUid: string): Promise<Date | null>;
439
+ muteChat(chatUid: string, mutedUntil: Date | null): Promise<Date | null>;
438
440
  userChats: Ref<import('./types').UserChatInfo[]>;
439
441
  install: typeof install;
440
442
  updateGetGroupMessages: typeof updateGetGroupMessages;
@@ -54,6 +54,7 @@ export interface UserChatInfo {
54
54
  lastMessage: MessageInfo;
55
55
  membersCount: number;
56
56
  tags: string[];
57
+ muteSettings?: Date | null;
57
58
  }
58
59
  export interface MessageInfo {
59
60
  text?: string;
@@ -93,3 +94,8 @@ export interface SearchedItems {
93
94
  conversations: Conversation[];
94
95
  messages: Message[];
95
96
  }
97
+ export interface ParticipantSettings {
98
+ chatUid: string;
99
+ personUid: string;
100
+ mutedUntil: Date | null;
101
+ }