PaidMediaInfo class
Describes the paid media added to a message.
Constructors
-
PaidMediaInfo({required int starCount, required List<
PaidMedia> paidMedia}) -
Constructs a PaidMediaInfo object.
const
-
PaidMediaInfo.fromJson(Map<
String, dynamic> json) -
Creates a PaidMediaInfo object from JSON.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
paidMedia
→ List<
PaidMedia> -
Information about the paid media.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- starCount → int
-
The number of Telegram Stars that must be paid to buy access to the media.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a PaidMediaInfo object to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited