Skip to main content

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

CometChatTextBubble is the content view shown for TextMessage.

Properties

PropertiesTypeDescription
textStringthe text to display
styleTextBubbleStyleused to customize appearance of this widget

TextBubbleStyle

TextBubbleStyle is the class containing attributes to customize appearance of this widget.
PropertiesTypeDescription
textFontFontStyleused to set font style of the text of the message
textColorstringused to set text colour of the message
heightnumberused to set height
widthnumberused to set width
backgroundColorstringused to set background colour
borderBoxBorderused to set border
borderRadiusdoubleused to set border radius

Usage

<CometChatTextBubble
  text='	Hi! how are you?',
  style={{
    backgroundColor: 'cyan'
    }}
/>