@bcc-code/vue-bcc-chat-ui 7.1.18 → 7.1.20

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
@@ -191,6 +191,7 @@ declare const chat: {
191
191
  getChatMembersInfo: typeof getChatMembersInfo;
192
192
  getUserChats: typeof getUserChats;
193
193
  clearChatCount: typeof clearChatCount;
194
+ refreshVisibleMessages: () => Promise<void> | undefined;
194
195
  getChatOnlineCount: typeof getChatOnlineCount;
195
196
  searchChat: (searchQuery: string, limit?: number) => SearchedItems | undefined;
196
197
  getSenderDisplayName: typeof getSenderDisplayName;
@@ -297,6 +298,9 @@ export declare interface ChatClient {
297
298
  setEditingMessage: (message: ChatMessageItem | null) => void;
298
299
  openThread: (message: ChatMessageItem) => Promise<void>;
299
300
  closeThread: () => void;
301
+ refreshVisibleMessages: (options?: {
302
+ includeThread?: boolean;
303
+ }) => Promise<void>;
300
304
  fetchMessageReceipts: (message: ChatMessageItem) => Promise<ChatMessageReceiptItem[]>;
301
305
  deleteMessage: (message: ChatMessageItem) => Promise<void>;
302
306
  votePoll: (message: ChatMessageItem, optionId: string) => Promise<void>;
@@ -5318,6 +5318,7 @@ function cc({ environment: e }) {
5318
5318
  setEditingMessage: Me,
5319
5319
  openThread: Ne,
5320
5320
  closeThread: Pe,
5321
+ refreshVisibleMessages: St,
5321
5322
  fetchMessageReceipts: bt,
5322
5323
  deleteMessage: Ve,
5323
5324
  votePoll: W,
@@ -6200,6 +6201,7 @@ var gu = {
6200
6201
  getChatMembersInfo: dl,
6201
6202
  getUserChats: uu,
6202
6203
  clearChatCount: du,
6204
+ refreshVisibleMessages: () => Q.value?.refreshVisibleMessages(),
6203
6205
  getChatOnlineCount: fu,
6204
6206
  searchChat: (e, t = 25) => ul(e, t, Q.value?.currentUser.value?.uid),
6205
6207
  getSenderDisplayName: ll,