Shared types
Holds information about your TalkJS app.
Custom data set for this app.
This can be configured from your TalkJS dashboard.
The default locale.
This can be configured from your TalkJS dashboard.
Your app's unique TalkJS ID. You can find it on the Settings page of the TalkJS dashboard.
The name of your app.
A collection of props that's shared by every themed component used in the Chatbox UI.
Holds information about your TalkJS app.
The chatbox instance itself.
The conversation displayed in the chatbox.
The user that mounted this chatbox.
Describes the capabilities of the current device.
A list of participants that are part of the conversation that's currently being shown.
The underlying TalkJS session object that handles sending and receiving chat data.
A translation object which holds localized strings for internationalization purposes.
The theme object that the chatbox's is currently using.
Tells you which participants are currently typing
Arbitrary custom data passed down to the theme.
The data that you pass to ChatboxProps​.themeCustom will show up here so that you can use it from within theme components.
A collection of props that's shared by every themed component used in the ConversationList UI.
Holds information about your TalkJS app.
The conversation list instance itself.
The user that mounted this chatbox.
Describes the capabilities of the current device.
The underlying TalkJS session object that handles sending and receiving chat data.
A translation object which holds localized strings for internationalization purposes.
The theme object that the chatbox's is currently using.
Arbitrary custom data passed down to the theme.
The data that you pass to ConversationListProps​.themeCustom will show up here so that you can use it from within theme components.
Describes the capabilities of the current device.
True if the user agents reports the current device as a mobile/tablet.
True if the browser supports IndexedDB, which the emoji picker depends on.
A set of permissions the current user has for a given message.
The values of these permissions come from the user's role.
True if the user has the ability to add an emoji reaction to the given message.
True if the user has the ability to delete the given message.
True if the user has the ability to edit the given message.
True if the user has the permission to leave a given conversation.
True if the user has the permission to mark the given conversation as unread.
True if mentions are enabled.
True if the user has the ability to reply to the given message.
True if voice messages are enabled.
True if file sharing is enabled.
True if location sharing is enabled.
True if online status indicators are enabled.
True if typing indicators are enabled.
The current status of the message.
This type can have one of these values:
- "sending" - Message is still being sent to the server. a loading spinner is typically shown in chat UIs.
- "sent" - Message has arrived on the server. Typically represented using a single checkmark in chat UIs.
- "everyoneRead" - Everyone in the conversation has read this message. Typically represented using two checkmarks in chat UIs.
A theme can be used to customize the appearance & behavior of your TalkJS Chatbox and/or ConversationList.
The implementation of TalkJS's default theme is open-source and available on Github.
Translation object
A set of permissions for the current user.
The values of these permissions come from the user's role.
True if the user has the permission to leave a given conversation.
True if the user has the permission to mark the given conversation as unread.
True if mentions are enabled.
True if voice messages are enabled.
True if file sharing is enabled.
True if location sharing is enabled.
True if online status indicators are enabled.
True if typing indicators are enabled.