Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MessageBubbleConfig

Message bubble configuration

description

Customizes the appearance and display of message bubbles

Hierarchy

  • MessageBubbleConfig

Index

Properties

redius?: number

Border radius in pixels

layout?: BubbleLayout

Message alignment: left-justifying or left-right distribution

backgroundColorForMyself?: number

Background color for own messages (hex number, e.g., 0x007AFF)

backgroundColorForOthers?: number

Background color for others' messages (hex number)

textColorForMyself?: number

Text color for own messages (hex number)

textColorForOthers?: number

Text color for others' messages (hex number)

showMyProfileInDirectionChannel?: boolean

Show own avatar in private chats (default: false)

showMyNameInDirectionChannel?: boolean

Show own name in private chats (default: false)

showMyProfileInGroupChannel?: boolean

Show own avatar in group chats (default: false)

showMyNameInGroupChannel?: boolean

Show own name in group chats (default: false)

showOthersProfileInDirectionChannel?: boolean

Show others' avatars in private chats (default: false)

showOthersNameInDirectionChannel?: boolean

Show others' names in private chats (default: false)

showOthersProfileInGroupChannel?: boolean

Show others' avatars in group chats (default: true)

showOthersNameInGroupChannel?: boolean

Show others' names in group chats (default: false)