Skip to content

GramIO API Reference / gramio/dist / TransferGiftParams

Interface: TransferGiftParams

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

Params object for transferGift method

Properties

PropertyTypeDescriptionDefined in
business_connection_idstringUnique identifier of the business connection@gramio/types/out/params.d.ts:3127
new_owner_chat_idnumberUnique identifier of the chat which will own the gift. The chat must be active in the last 24 hours.@gramio/types/out/params.d.ts:3135
owned_gift_idstringUnique identifier of the regular gift that should be transferred@gramio/types/out/params.d.ts:3131
star_count?numberThe amount of Telegram Stars that will be paid for the transfer from the business account balance. If positive, then the can_transfer_stars business bot right is required.@gramio/types/out/params.d.ts:3139