global_chat library

Global Chat provides backend-agnostic building blocks for real-time chat.

Classes

ChatAnimations
Controls built-in chat motion. Pass ChatAnimations.disabled for static UI.
ChatAttachment
References a media or file attachment owned by the host application.
ChatCapabilities
Enables optional built-in message interactions.
ChatComposer
Editable message input with optional host-supplied action controls.
ChatController
Bridge this controller to REST, WebSocket, Firebase, Stream, or your own SDK.
ChatConversation
Represents one loaded conversation and its current UI state.
ChatDraft
Stores locally unsent text for a conversation.
ChatLinkPreview
Defines metadata for a URL preview.
ChatMessage
Represents one immutable message in a conversation.
ChatPoll
Defines poll metadata for a message.
ChatReaction
Groups a reaction emoji and the users who selected it.
ChatSettings
Stores user-selectable privacy, composer, and display preferences.
ChatSettingsPage
A settings page for editing ChatController.settings.
ChatTheme
Immutable visual tokens consumed by Global Chat widgets.
ChatUser
Identifies a user participating in a conversation.
ConversationList
An inbox-style list of conversations managed by a ChatController.
ConversationScreen
A complete message timeline and composer for one conversation.

Enums

ChatBubbleStyle
Visual treatments available for message bubbles.
ChatWallpaper
Built-in canvas background choices for ChatSettings.
MessageKind
Content type represented by a ChatMessage.
MessageStatus
Delivery state reported by the host application's transport layer.
TypingState
Presence state shown for a conversation participant.