InputStorePaymentStarsGiveaway class

Input Store Payment Stars Giveaway.

ID: 751f08fa.

Inheritance

Constructors

InputStorePaymentStarsGiveaway({required bool onlyNewSubscribers, required bool winnersAreVisible, required int stars, required InputPeerBase boostPeer, List<InputPeerBase>? additionalPeers, List<String>? countriesIso2, String? prizeDescription, required int randomId, required DateTime untilDate, required String currency, required int amount, required int users})
Input Store Payment Stars Giveaway constructor.
const
InputStorePaymentStarsGiveaway.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

additionalPeers → List<InputPeerBase>?
Additional Peers.
final
amount → int
Amount.
final
boostPeer → InputPeerBase
Boost Peer.
final
countriesIso2 → List<String>?
Countries Iso2.
final
currency → String
Currency.
final
flags → int
Flags.
no setter
hashCode → int
The hash code for this object.
no setterinherited
onlyNewSubscribers → bool
only_new_subscribers: bit 0 of flags.0?true
final
prizeDescription → String?
Prize Description.
final
randomId → int
Random Id.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stars → int
Stars.
final
untilDate → DateTime
Until Date.
final
users → int
Users.
final
winnersAreVisible → bool
winners_are_visible: bit 3 of flags.3?true
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() → Map<String, dynamic>
Converts an object to JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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