Skip to content

payments.sendStarGiftOffer

Layer 225

Constructor ID: 0x8fb86b41
Returns: Updates

Parameters

NameTypeDescription
peerInputPeer
slugstring
priceStarsAmount
durationint32
random_idint64
allow_paid_starsint64 (flags.0, optional)

Example

go
result, err := client.Raw(&tg.SendStarGiftOfferRequest{
    peer: nil, // InputPeer
    slug: "",
    price: nil, // StarsAmount
    duration: 0,
    random_id: 0,
    allow_paid_stars: 0,
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.