EditMessageParams class
Encapsulates the information necessary for performing an edit operation on a message.
- Available extensions
Constructors
- EditMessageParams({required String messageId, required String editedTextContent})
- Constructs an instance of EditMessageParams.
Properties
- editedTextContent ↔ String
-
The new text content for the message.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mentionedUsersIds
↔ List<
String> ? -
The IDs of users mentioned in the message. Optional.
getter/setter pair
- messageId ↔ String
-
The unique identifier of the message to be edited.
getter/setter pair
- 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
-
toMap(
) → Map< String, dynamic> -
Available on EditMessageParams, provided by the ExtractEditMessage extension
Converts an instance of EditMessageParams to a map. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited