Where It Fits
CometChatMessageBubble is the layout shell for every message in the message list. The plugin system’s renderBubble() produces the inner content (text, image, video, etc.), and the bubble wraps it with shared chrome.
Live Preview — interact with the message bubble component.Open in Storybook ↗
Shared Chrome Elements
GlobalConfig Integration
hideReceipts reads from GlobalConfigContext when the prop is not explicitly set:
Props
message
The SDK message object. Required.alignment
Bubble alignment:'left' (incoming), 'right' (outgoing), 'center' (action).
contentView
The inner content from the plugin’srenderBubble(). Required.