GiveawayCreated class

This object represents a service message about the creation of a scheduled giveaway. Currently holds no information.

Constructors

GiveawayCreated({int? prizeStarCount})
Creates a GiveawayCreated object.
const
GiveawayCreated.fromJson(Map<String, dynamic> json)
Creates a GiveawayCreated object from a JSON object.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
prizeStarCount int?
Optional. The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only
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>
Converts the GiveawayCreated object to a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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