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
- Version:
- 1.3.0
- Author:
- Natanim
- See Also:
-
Field Summary
Fields inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
api, methodName, parameters -
Constructor Summary
ConstructorsConstructorDescriptionTransferGift(String businessConnectionId, String ownedGiftId, long neOwnerChatId, Api api) Required -
Method Summary
Methods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
add, exec, getContentType, getMethodName, getParameters, getResponseType, hasMultipart, setHasMultipart
-
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
-