PaidMediaPhoto class
The paid media is a photo.
Constructors
-
PaidMediaPhoto({required List<
PhotoSize> photo}) -
Constructs a PaidMediaPhoto object.
const
-
PaidMediaPhoto.fromJson(Map<
String, dynamic> json) -
Creates a PaidMediaPhoto object from JSON.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
photo
→ List<
PhotoSize> -
The photo.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → PaidMediaType
-
Type of the paid media.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts a PaidMediaPhoto object to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited