Layer 220
constructor
prepaidStarsGiveaway#9a9d77e0 id:long stars:long quantity:int boosts:int date:int = PrepaidGiveaway;

Parameters

Name Type Description
Id long Prepaid giveaway ID.
Stars long Number of given away Telegram Stars
Quantity int Number of giveaway winners
Boosts int Number of boosts the channel will gain by launching the giveaway.
Date int When was the giveaway paid for

Returns

PrepaidGiveaway

Gogram Example

// Creating PrepaidStarsGiveaway constructor
obj := &tg.PrepaidStarsGiveaway{
    Id: int64(0),
    Stars: int64(0),
    Quantity: 0,
    Boosts: 0,
    Date: 0,
}