Gift.send()

Gift.send()

Bound method send of Gift.

Note

For regular gifts only. May return an error with a message “STARGIFT_USAGE_LIMITED” if the gift was sold out.

Use as a shortcut for:

await client.send_gift(
    chat_id="me",
    gift_id=gift.id
)

Example

await gift.send("me")
Returns:

Message – On success, the sent message is returned.