Gift.send_purchase_offer()¶
- Gift.send_purchase_offer()¶
Shortcut for method
send_gift_purchase_offerwill automatically fill method attributes:owner_id
gift_id
- Parameters:
price (
GiftResalePrice) – The price that the user agreed to pay for the gift.duration (
int) – Duration of the offer, in seconds. Must be one of 21600, 43200, 86400, 129600, 172800, or 259200.paid_message_star_count (
int, optional) – The number of Telegram Stars the user agreed to pay additionally for sending of the offer message to the current gift owner. Pass User.paid_message_star_count for users and None otherwise.
- Returns:
Message– On success, the sent Message is returned.