Add message hint to prevent media from being downloaded.

This commit is contained in:
Half-Shot
2025-07-03 12:35:55 +01:00
parent e481865aa6
commit 24cc2455f9
2 changed files with 7 additions and 0 deletions
@@ -78,6 +78,7 @@ originalComponent?: (props?: OriginalComponentProps) => React.JSX.Element) => JS
// @alpha
export type CustomMessageRenderHints = {
allowEditingEvent?: boolean;
allowDownloadingMedia?: boolean | Promise<boolean>;
};
// @alpha @deprecated (undocumented)