AuctionStateFinished class final
Contains information about a finished auction
- Inheritance
-
- Object
- TdObject
- AuctionState
- AuctionStateFinished
Constructors
- AuctionStateFinished({required int startDate, required int endDate, required int averagePrice, required int acquiredItemCount, required int telegramListedItemCount, required int fragmentListedItemCount, required String fragmentUrl})
-
Contains information about a finished auction
const
-
AuctionStateFinished.fromJson(Map<
String, dynamic> json) -
Parses a AuctionStateFinished from TDLib JSON.
factory
Properties
- acquiredItemCount → int
-
The number of items that were purchased by the current user on the auction
final
- averagePrice → int
-
Average price of bought items in Telegram Stars
final
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
no setterinherited
- endDate → int
-
Point in time (Unix timestamp) when the auction will be ended
final
- extra → dynamic
-
"@extra" of the request this object answers; null for updates.
no setterinherited
- fragmentListedItemCount → int
-
Number of items from the auction being resold on Fragment
final
- fragmentUrl → String
-
The HTTPS link to the Fragment for the resold items; may be empty if there are no such items being sold on Fragment
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startDate → int
-
Point in time (Unix timestamp) when the auction started
final
- telegramListedItemCount → int
-
Number of items from the auction being resold on Telegram
final
Methods
-
copyWith(
{int? startDate, int? endDate, int? averagePrice, int? acquiredItemCount, int? telegramListedItemCount, int? fragmentListedItemCount, String? fragmentUrl}) → AuctionStateFinished -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it.override -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.