sendGiftPurchaseOffer¶
Sends an offer to purchase an upgraded gift
sendGiftPurchaseOffer(
owner_id: MessageSender,
gift_name: string,
price: GiftResalePrice,
duration: int32,
paid_message_star_count: int53
) → Ok
owner_id¶
Identifier of the user or the channel chat that currently owns the gift and will receive the offer
gift_name¶
string
Name of the upgraded gift
price¶
The price that the user agreed to pay for the gift
duration¶
int32
Duration of the offer, in seconds; must be one of 21600, 43200, 86400, 129600, 172800, or 259200. Can also be 120 if Telegram test environment is used
paid_message_star_count¶
int53
The number of Telegram Stars the user agreed to pay additionally for sending of the offer message to the current gift owner; pass userFullInfo.outgoing_paid_message_star_count for users and 0 otherwise