InputMedia class
This object represents the content of a media message to be sent. It should be one of
- Implementers
- Annotations
-
- @JsonSerializable.new(includeIfNull: false)
Constructors
- InputMedia({String? type, dynamic media, String? caption, ParseMode? parseMode})
-
InputMedia.fromJson(Map<
String, dynamic> json) -
factory
Properties
- caption ↔ String?
-
Caption, 0-1024 characters after entities parsing.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- media ↔ dynamic
-
Container of the media.
getter/setter pair
- parseMode ↔ ParseMode?
-
Optional.
Send Markdown or HTML,
if you want Telegram apps to show bold, italic,
fixed-width text or inline URLs in the media caption.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String?
-
Type of the result.
getter/setter pair
Methods
-
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