Check if the specified gift » can be sent.
payments.checkCanSendGiftResultOk#374fa7ad = payments.CheckCanSendGiftResult;
payments.checkCanSendGiftResultFail#d5e58274 reason:TextWithEntities = payments.CheckCanSendGiftResult;
---functions---
payments.checkCanSendGift#c0c4edc9 gift_id:long = payments.CheckCanSendGiftResult;
Name | Type | Description |
---|---|---|
gift_id | long | Gift ID. |
payments.CheckCanSendGiftResult
Code | Type | Description |
---|---|---|
400 | STARGIFT_INVALID | The passed gift is invalid. |
Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.