PaymentsCheckedGiftCode class
Payments Checked Gift Code.
ID: 284a1096
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- PaymentsCheckedGiftCodeBase
- PaymentsCheckedGiftCode
Constructors
-
PaymentsCheckedGiftCode({required bool viaGiveaway, PeerBase? fromId, int? giveawayMsgId, int? toId, required DateTime date, required int months, DateTime? usedDate, required List<
ChatBase> chats, required List<UserBase> users}) -
Payments Checked Gift Code constructor.
const
- PaymentsCheckedGiftCode.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
-
chats
→ List<
ChatBase> -
Chats.
final
- date → DateTime
-
Date.
final
- flags → int
-
Flags.
no setter
- fromId → PeerBase?
-
From Id.
final
- giveawayMsgId → int?
-
Giveaway Msg Id.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- months → int
-
Months.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toId → int?
-
To Id.
final
- usedDate → DateTime?
-
Used Date.
final
-
users
→ List<
UserBase> -
Users.
final
- viaGiveaway → bool
-
via_giveaway: bit 2 of flags.2?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