MonetizationSettingsDonation class

Monetization settings of Donations.

Annotations

Constructors

MonetizationSettingsDonation({bool enabled = true, required Price min})
MonetizationSettingsDonation.fromJson(Map<String, dynamic> json)
Constructs a MonetizationSettingsDonation from the provided json.
factory

Properties

enabled bool
Indicator whether the User accepts Donations or not.
final
hashCode int
The hash code for this object.
no setterinherited
min Price
Minimal Price of Donations allowed in the Chat with the User.
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>
Returns a Map representing this MonetizationSettingsDonation.
toString() String
A string representation of this object.
inherited

Operators

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