InteractiveMessageUtils class

Constructors

InteractiveMessageUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

checkElementDisabled(Map<String, bool?> interactionMap, BaseInteractiveElement element, bool isSentByMe, InteractiveMessage message) bool
checkInteractionGoalAchievedFromMap(InteractionGoal goal, Map<String, bool?> interactionMap) bool
checkIsSentByMe(User? loggedInUser, BaseMessage message) bool
getInteractiveRequestData({required InteractiveMessage message, required BaseInteractiveElement element, required String interactionTimezoneCode, required String interactedBy, Map<String, dynamic>? body}) Map<String, dynamic>
getSpecificMessageFromInteractiveMessage(InteractiveMessage message) InteractiveMessage
markInteracted(BaseInteractiveElement interactiveElement, InteractiveMessage message, Map<String, bool?> interactionMap, {required dynamic onSuccess(bool matched), dynamic onError(CometChatException excep)?}) Future<void>