Skip to content

GramIO API Reference / gramio/dist / GetChatGiftsParams

Interface: GetChatGiftsParams

Defined in: @gramio/types/out/params.d.ts:3037

Params object for getChatGifts method

Properties

PropertyTypeDescriptionDefined in
chat_idstring | numberUnique identifier for the target chat or username of the target channel (in the format @channelusername)@gramio/types/out/params.d.ts:3041
exclude_from_blockchain?booleanPass True to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram@gramio/types/out/params.d.ts:3065
exclude_limited_non_upgradable?booleanPass True to exclude gifts that can be purchased a limited number of times and can't be upgraded to unique@gramio/types/out/params.d.ts:3061
exclude_limited_upgradable?booleanPass True to exclude gifts that can be purchased a limited number of times and can be upgraded to unique@gramio/types/out/params.d.ts:3057
exclude_saved?booleanPass 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.@gramio/types/out/params.d.ts:3049
exclude_unique?booleanPass True to exclude unique gifts@gramio/types/out/params.d.ts:3069
exclude_unlimited?booleanPass True to exclude gifts that can be purchased an unlimited number of times@gramio/types/out/params.d.ts:3053
exclude_unsaved?booleanPass 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.@gramio/types/out/params.d.ts:3045
limit?numberThe maximum number of gifts to be returned; 1-100. Defaults to 100@gramio/types/out/params.d.ts:3081
offset?stringOffset of the first entry to return as received from the previous request; use an empty string to get the first chunk of results@gramio/types/out/params.d.ts:3077
sort_by_price?booleanPass True to sort results by gift price instead of send date. Sorting is applied before pagination.@gramio/types/out/params.d.ts:3073