check_can_send_gift()

async Client.check_can_send_gift()

Check if a limited Star Gift can still be sent or is sold out.

Usable by Users Bots
Parameters:

gift_id (int) – The gift identifier.

Returns:

CheckCanSendGiftResult – The check result.

Example

res = await app.check_can_send_gift(123456)