[ Web Proxy ]
URL:
Viewing: https://developers.cloudflare.com/realtime/realtimekit/ui-kit/api-reference/core/rtk-file-message/ [Back]  [Original]

rtk-file-message Cloudflare Realtime docsSkip to content
SearchCtrlKLog in
  1. Home
  2. /Realtime
  3. /
  4. /Web Components (HTML)
  5. /rtk-file-message

rtk-file-message

Last updated Apr 21, 2026Copy as MarkdownView as MarkdownAgent setup
OverviewPropertiesUsage ExamplesBasic UsageWith Properties

@deprecated rtk-file-message is deprecated and will be removed soon. Use rtk-file-message-view instead. A component which renders a file message from chat.

Properties

Property Type Required Default Description
iconPack IconPack defaultIconPack Icon pack
isContinued boolean - Whether the message is continued by same user
message FileMessage - Text message object
now Date - Date object of now, to calculate distance between dates
showBubble boolean - show message in bubble
t RtkI18n useLanguage() Language

Usage Examples

Basic Usage

<rtk-file-message></rtk-file-message>

With Properties

<rtk-file-message>
</rtk-file-message>
<script>
  const el = document.querySelector("rtk-file-message");

  el.isContinued= true;
</script>
Previousrtk-file-dropzoneNextrtk-file-message-view

Was this helpful?

YesNo
Edit pageReport issue
[]

Web Proxy Viewer  |  New URL  |  Original Page