PaidMediaPurchased class

Represents a paid media purchase made by a user.

Implemented types

Constructors

PaidMediaPurchased({required User from, required String paidMediaPayload})
Creates a PaidMediaPurchased object.
const
PaidMediaPurchased.fromJson(Map<String, dynamic> json)
Creates a PaidMediaPurchased object from a JSON map.
factory

Properties

from User
The user who purchased the media.
final
hashCode int
The hash code for this object.
no setterinherited
paidMediaPayload String
A bot-specified payload related to the paid media.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this object to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited