delete_gift()¶
- async Client.delete_gift()¶
Delete a regular gift without receiving Telegram Stars for it.
Note
Only unlimited gifts can be deleted.
Usable by Users Bots- Parameters:
owned_gift_id (
str) – Unique identifier of the regular gift that should be deleted.business_connection_id (
str, optional) – Unique identifier of the business connection. For bots only.
- Returns:
bool– On success, True is returned.
Example
await app.delete_gift(owned_gift_id="123456")