feat(API): updateMessage API for forcing re-renders

This commit is contained in:
Nuckyz 2024-05-29 04:57:18 -03:00
parent 9b9a5322c9
commit 537fc5e33d
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
8 changed files with 106 additions and 20 deletions

View file

@ -26,6 +26,7 @@ import * as $MessageAccessories from "./MessageAccessories";
import * as $MessageDecorations from "./MessageDecorations";
import * as $MessageEventsAPI from "./MessageEvents";
import * as $MessagePopover from "./MessagePopover";
import * as $MessageUpdater from "./MessageUpdater";
import * as $Notices from "./Notices";
import * as $Notifications from "./Notifications";
import * as $ServerList from "./ServerList";
@ -110,3 +111,8 @@ export const ContextMenu = $ContextMenu;
* An API allowing you to add buttons to the chat input
*/
export const ChatButtons = $ChatButtons;
/**
* An API allowing you to update and re-render messages
*/
export const MessageUpdater = $MessageUpdater;