MessageInputMediaDraft class
Resolved media selected from the MessageInput extension panel.
Constructors
- MessageInputMediaDraft({required String path, int duration = 0, String? mimeType})
-
const
Properties
- duration → int
-
Media duration in seconds for voice and short-video messages.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isGif → bool
-
Whether the draft should be sent as a GIF image.
no setter
- mimeType → String?
-
Optional MIME type used to distinguish GIF and file payloads.
final
- path → String
-
Local or remote media path passed to ChatProvider send helpers.
final
- 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