Skip to content
Cloudflare Docs

rtk-chat-composer-ui

@deprecated . This component is deprecated, please use rtk-chat-composer-view instead.

Properties

PropertyTypeRequiredDefaultDescription
canSendFilesboolean-Whether user can send file messages
canSendTextMessageboolean-Whether user can send text messages
iconPackIconPack1defaultIconPackIcon pack
prefill{ suggestedReplies?: string[]; editMessage?: TextMessage; replyMessage?: TextMessage; }-prefill the composer
sizeSize1-Size
tRtkI18nuseLanguage()Language

Usage Examples

Basic Usage

<!-- component.html -->
<rtk-chat-composer-ui></rtk-chat-composer-ui>

With Properties

<!-- component.html -->
<rtk-chat-composer-ui
[canSendFiles]="true"
[canSendTextMessage]="true"
size="md">
</rtk-chat-composer-ui>