Class GetChatGifts
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<GetChatGifts,OwnedGifts>
io.github.natanimn.telebof.requests.get.GetChatGifts
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexcludeFromBlockchain(Boolean excludeFromBlockchain) OptionalexcludeLimitedNonUpgradable(Boolean excludeLimitedNonUpgradable) OptionalexcludeLimitedUpgradable(Boolean excludeLimitedUpgradable) OptionalexcludeSaved(Boolean excludeSaved) OptionalexcludeUnique(Boolean excludeUnique) OptionalexcludeUnlimited(Boolean excludeUnlimited) OptionalexcludeUnsaved(Boolean excludeUnsaved) Optionallimit(int limit) OptionalOptionalsortByPrice(Boolean sortByPrice) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
GetChatGifts
-
-
Method Details
-
excludeUnsaved
Optional- Parameters:
excludeUnsaved- Pass True to exclude gifts that aren't saved to the chat's profile page. Always True, unless the bot has the can_post_messages administrator right in the channel.- Returns:
GetChatGifts
-
excludeSaved
Optional- Parameters:
excludeSaved- Pass True to exclude gifts that are saved to the chat's profile page. Always False, unless the bot has the can_post_messages administrator right in the channel.- Returns:
GetChatGifts
-
excludeUnlimited
Optional- Parameters:
excludeUnlimited- Pass True to exclude gifts that can be purchased an unlimited number of times- Returns:
GetChatGifts
-
excludeLimitedUpgradable
Optional- Parameters:
excludeLimitedUpgradable- Pass True to exclude gifts that can be purchased a limited number of times and can be upgraded to unique- Returns:
GetChatGifts
-
excludeLimitedNonUpgradable
Optional- Parameters:
excludeLimitedNonUpgradable- Pass True to exclude gifts that can be purchased a limited number of times and can't be upgraded to unique- Returns:
GetChatGifts
-
excludeFromBlockchain
Optional- Parameters:
excludeFromBlockchain- Pass True to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram- Returns:
GetChatGifts
-
excludeUnique
Optional- Parameters:
excludeUnique- Pass True to exclude unique gifts- Returns:
GetChatGifts
-
sortByPrice
Optional- Parameters:
sortByPrice- Pass True to sort results by gift price instead of send date. Sorting is applied before pagination.- Returns:
GetChatGifts
-
offset
Optional- Parameters:
offset- Offset of the first entry to return as received from the previous request; use an empty string to get the first chunk of results- Returns:
GetChatGifts
-
limit
Optional- Parameters:
limit- The maximum number of gifts to be returned; 1-100. Defaults to 100- Returns:
GetChatGifts
-