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 businessConnectionId, String ownedGiftId, long neOwnerChatId, Api api) Required -
Method Summary
Methods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
TransferGift
Required- Parameters:
businessConnectionId- Unique identifier of the business connectionownedGiftId- Unique identifier of the regular gift that should be transferredneOwnerChatId- Unique identifier of the chat which will own the giftapi- api
-
-
Method Details
-
starCount
Optional- Parameters:
starCount- The amount of Telegram Stars that will be paid for the transfer from the business account balance- Returns:
TransferGift
-