Component | Description |
---|---|
MessageList | CometChatMessageList is a component that displays a list of Messages |
MessageComposer | CometChatMessageComposer is a component that helps in writing and editing of messages and also sending attachments |
CometChatThreadedMessages
is a view controller, you can launch it by adding the following code snippet.
threadedMessage
. If a navigation controller is already in use, utilize the pushViewController function instead of directly presenting the view controller.setOnThreadRepliesClick
of the MessageList Component using MessageListConfiguration
and applying it to ThreadedMessages.
Component
. By using event you can extend existing functionality. Being global events, they can be applied in Multiple Locations and are capable of being Added or Removed.
The MessageList Component does not emit any events of its own.
ThreadedMessagesStyle
contains various properties which can be used to customize the UI of CometChatThreadedMessages
.
Property | Description | Code |
---|---|---|
doneButtonTextColor | allows to modify the color of the text in the done button. Defaults to CometChatTheme.palatte.primary. | .set(doneButtonTextColor:UIColor) |
doneButtonTextFont | allows to modify the font of the text in the done button | .set(doneButtonTextFont:UIFont) |
background | Used to customize the background color. Defaults to CometChatTheme.palatte.background . | .set(background:UIColor) |
actionItemTitleFont | allows to modify the font of the title in the action item view | .set(actionItemTitleFont:UIFont) |
actionItemTitleColor | allows to modify the color of the title in the action item view | .set(actionItemTitleColor:UIColor) |
bubbleViewBackgroundColor | Used to set background color of the bubble view for a message that has been received or a message other than text that has been sent . Defaults to CometChatTheme.palatte.background . | .set(bubbleViewBackgroundColor:UIColor) |
bubbleViewPrimaryBackgroundColor | Used to set background color of the bubble view for a text message that has been sent. Defaults to CometChatTheme.palatte.primary . | .set(bubbleViewPrimaryBackgroundColor:UIColor) |
bubbleViewSecondaryBackgroundColor | Used to set background color of the bubble view for a message that has been received or a message other than text that has been sent. Defaults to CometChatTheme.palatte.secondary . | .set(bubbleViewSecondaryBackgroundColor:UIColor) |
actionItemBackgroundColor | allows to modify the background color of the action item view. Defaults to CometChatTheme.palatte.background . | .set(actionItemBackgroundColor:UIColor) |
.set(templates: allTempalte)
, You can set styling to message bubble view inside ThreadedMessage Component.
setOnThreadRepliesClick
Action of MessageList Component and apply custom styles on it.
setMessageActionView()
method, you can assign custom actions to the parent message bubble view inside the ThreadedMessage Component.
MessageListConfiguration
object.
MessageListConfiguration
provides access to all the Action, Filters, Styles, Functionality, and Advanced properties of the MessageList component.
Please note that the Properties marked with the symbol are not accessible within the Configuration Object.Example
MessageListConfiguration
.
MessageComposerConfiguration
object.
MessageComposerConfiguration
provides access to all the Action, Filters, Styles, Functionality, and Advanced properties of the MessageComposer component.
Please note that the Properties marked with the symbol are not accessible within the Configuration Object.Example
MessageComposerConfiguration
.