Conversation class
Constructors
-
Conversation({required Session session, required String id, Map<
String, String?> ? custom, List<String> ? welcomeMessages, String? photoUrl, String? subject, required Set<Participant> participants}) - Conversation.of(Conversation other)
Properties
-
custom
→ Map<
String, String?> ? -
Custom metadata for this conversation
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
The unique conversation identifier.
finalinherited
-
participants
→ Set<
Participant> -
final
- photoUrl → String?
-
The URL to a photo which will be shown as the photo for the conversation.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → String?
-
The conversation subject which will be displayed in the chat header.
finalinherited
-
welcomeMessages
→ List<
String> ? -
Messages sent at the beginning of a chat.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendMessage(
String text, {SendMessageOptions? options}) → Future< void> - Sends a text message in a given conversation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override