InputPaidMedia class sealed
This object describes the paid media to be sent. Currently, it can be one of InputPaidMediaPhoto or InputPaidMediaVideo.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- media → InputFile
-
File to send.
Pass a file_id to send a file that exists on the Telegram servers (recommended),
pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>”
to upload a new one using multipart/form-data under <file_attach_name> name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → InputPaidMediaType
-
Type of the media.
no setter
Methods
-
getValue(
[String? field, String? thumb]) → Map< String, dynamic> - Converts InputPaidMedia to a Map for JSON encoding
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts an InputPaidMedia to a Map for JSON encoding.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited