GramIO API Reference / @gramio/contexts/dist / GiveawayCreated
Class: GiveawayCreated
Defined in: contexts/index.d.ts:2645
This object represents a service message about the creation of a scheduled giveaway. Currently holds no information.
Constructors
Constructor
new GiveawayCreated(
payload):GiveawayCreated
Defined in: contexts/index.d.ts:2647
Parameters
| Parameter | Type |
|---|---|
payload | TelegramGiveawayCreated |
Returns
GiveawayCreated
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramGiveawayCreated | contexts/index.d.ts:2646 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:2649
Returns
string
prizeStarCount
Get Signature
get prizeStarCount():
number
Defined in: contexts/index.d.ts:2651
The number of Telegram Stars that were split between giveaway winners; for Telegram Star giveaways only
Returns
number