ReplyMessage class
Constructors
- ReplyMessage({String messageId = '', String message = '', String replyTo = '', String replyBy = '', MessageType messageType = MessageType.text, Duration? voiceMessageDuration})
-
const
-
ReplyMessage.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Provides reply message.
final
- messageId → String
-
Id of message, it replies to.
final
- messageType → MessageType
-
final
- replyBy → String
-
Provides user id of who replied message.
final
- replyTo → String
-
Provides user id of whom to reply.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- voiceMessageDuration → Duration?
-
Provides max duration for recorded voice message.
final
Methods
-
copyWith(
{String? messageId, String? message, String? replyTo, String? replyBy, MessageType? messageType, Duration? voiceMessageDuration, bool forceNullValue = false}) → ReplyMessage -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited