ConversationAttributes class
Conversation attributes that can be set using {@link ConversationBuilder.setAttributes} @public
- Annotations
-
- @JS()
- @anonymous
Constructors
- ConversationAttributes()
-
factory
Properties
- custom ↔ dynamic
-
Custom metadata that is stored with the conversation
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- photoUrl ↔ String?
-
The URL of a photo to be used for this conversation in the TalkJS UI in case there are more than 2 participants
(TalkJS shows the photo of the other participant in a 1-on-1 conversation)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject ↔ String?
-
A human-readable subject of the conversation. Supports formatted links in a Markdown-style syntax, e.g.
Beautiful <https://example.com/booking/18644|home by the sea>!
. URLs and email addresses are made clickable, and emojis made to work cross-platform.getter/setter pair - welcomeMessages ↔ dynamic
-
Messages which are sent at the beginning of a chat.
In this case the messages will appear as system messages.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited