telegramx.js

TransferGiftParams

interface

Declaration

interface TransferGiftParams 

Properties

business_connection_id: string;

Unique identifier of the business connection

new_owner_chat_id: number;

Unique identifier of the chat which will own the gift. The chat must be active in the last 24 hours.

owned_gift_id: string;

Unique identifier of the regular gift that should be transferred

star_countproperty#
star_count?: number;

The 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.