InputStorePaymentPremiumGiveaway class
Input Store Payment Premium Giveaway.
ID: 160544ca
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- InputStorePaymentPurposeBase
- InputStorePaymentPremiumGiveaway
Constructors
-
InputStorePaymentPremiumGiveaway({required bool onlyNewSubscribers, required bool winnersAreVisible, required InputPeerBase boostPeer, List<
InputPeerBase> ? additionalPeers, List<String> ? countriesIso2, String? prizeDescription, required int randomId, required DateTime untilDate, required String currency, required int amount}) -
Input Store Payment Premium Giveaway constructor.
const
- InputStorePaymentPremiumGiveaway.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
- untilDate → DateTime
-
Until Date.
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