Class TransferGift
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<TransferGift, Boolean>
io.github.natanimn.telebof.requests.service.TransferGift
TransferGift class. Returns True on success.
- Since:
- 19 August 2025
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransferGift
(String business_connection_id, String owned_gift_id, long new_owner_chat_id, Api api) Required -
Method Summary
Methods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
TransferGift
public TransferGift(String business_connection_id, String owned_gift_id, long new_owner_chat_id, Api api) Required- Parameters:
business_connection_id
- Unique identifier of the business connectionowned_gift_id
- Unique identifier of the regular gift that should be transferrednew_owner_chat_id
- Unique identifier of the chat which will own the giftapi
- api
-
-
Method Details
-
starCount
Optional- Parameters:
star_count
- The amount of Telegram Stars that will be paid for the transfer from the business account balance- Returns:
TransferGift
-