GramIO API Reference / @gramio/contexts/dist / GiveawayCreated
Class: GiveawayCreated
Defined in: contexts/index.d.ts:2234
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:2236
Parameters
| Parameter | Type |
|---|---|
payload | TelegramGiveawayCreated |
Returns
GiveawayCreated
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramGiveawayCreated | contexts/index.d.ts:2235 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:2238
Returns
string
prizeStarCount
Get Signature
get prizeStarCount():
number
Defined in: contexts/index.d.ts:2240
The number of Telegram Stars that were split between giveaway winners; for Telegram Star giveaways only
Returns
number