InputPaidMediaPhoto class
The paid media to send is a photo.
- Implemented types
Constructors
- InputPaidMediaPhoto({required InputFile media})
-
Constructs a InputPaidMediaPhoto object.
const
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 setteroverride
Methods
-
getValue(
[String? field, String? thumb]) → Map< String, dynamic> -
Converts InputPaidMedia to a Map for JSON encoding
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts a InputPaidMediaPhoto object to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited