InteractiveMessage class
Represents a message with interactive elements.
- Inheritance
-
- Object
- AppEntity
- BaseMessage
- InteractiveMessage
Constructors
-
InteractiveMessage({required Map<
String, dynamic> interactiveData, List<Interaction> ? interactions, InteractionGoal? interactionGoal, List<String> ? tags, int? id, String? muid, User? sender, AppEntity? receiver, required String receiverUid, required String type, required String receiverType, DateTime? sentAt, DateTime? deliveredAt, DateTime? readAt, Map<String, dynamic> ? metadata, DateTime? readByMeAt, DateTime? deliveredToMeAt, DateTime? deletedAt, DateTime? editedAt, String? deletedBy, String? editedBy, DateTime? updatedAt, String? conversationId, int? parentMessageId, int? replyCount, bool allowSenderInteraction = false, int? unreadRepliesCount}) - InteractiveMessage.fromMap(dynamic map, {AppEntity? receiver})
-
factory
Properties
- allowSenderInteraction ↔ bool
-
read / write
- category ↔ String
-
read / writeinherited
- conversationId ↔ String?
-
read / writeinherited
- deletedAt ↔ DateTime?
-
read / writeinherited
- deletedBy ↔ String?
-
read / writeinherited
- deliveredAt ↔ DateTime?
-
read / writeinherited
- deliveredToMeAt ↔ DateTime?
-
read / writeinherited
- editedAt ↔ DateTime?
-
read / writeinherited
- editedBy ↔ String?
-
read / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ int
-
read / writeinherited
- interactionGoal ↔ InteractionGoal?
-
read / write
-
interactions
↔ List<
Interaction> ? -
read / write
-
interactiveData
↔ Map<
String, dynamic> -
read / write
-
metadata
↔ Map<
String, dynamic> ? -
read / writeinherited
- muid ↔ String
-
read / writeinherited
- parentMessageId ↔ int
-
read / writeinherited
- readAt ↔ DateTime?
-
read / writeinherited
- readByMeAt ↔ DateTime?
-
read / writeinherited
- receiver ↔ AppEntity?
-
read / writeinherited
- receiverType ↔ String
-
read / writeinherited
- receiverUid ↔ String
-
read / writeinherited
- replyCount ↔ int
-
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sender ↔ User?
-
read / writeinherited
- sentAt ↔ DateTime?
-
read / writeinherited
-
read / write
- type ↔ String
-
read / writeinherited
- unreadRepliesCount ↔ int
-
unreadRepliesCount is the count of unread replies for the message.
read / writeinherited
- updatedAt ↔ DateTime?
-
read / writeinherited
Methods
-
getMentionedUsers(
) → List< User> -
inherited
-
getReactions(
) → List< ReactionCount> -
inherited
-
hasMentionedMe(
) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited