{ "meta": {}, "group": { "title": "Available methods", "anchor": "available-methods" }, "object": { "anchor": "transfergift", "name": "transferGift", "description": "Transfers an owned unique gift to another user. Requires the can_transfer_and_upgrade_gifts business bot right. Requires can_transfer_stars business bot right if the transfer is paid. Returns True on success.", "html_description": "

Transfers an owned unique gift to another user. Requires the can_transfer_and_upgrade_gifts business bot right. Requires can_transfer_stars business bot right if the transfer is paid. Returns True on success.

", "rst_description": "Transfers an owned unique gift to another user. Requires the *can_transfer_and_upgrade_gifts* business bot right. Requires *can_transfer_stars* business bot right if the transfer is paid. Returns :code:`True` on success.", "annotations": [ { "type": "String", "required": true, "description": "Unique identifier of the business connection", "html_description": "Unique identifier of the business connection", "rst_description": "Unique identifier of the business connection\n", "name": "business_connection_id" }, { "type": "String", "required": true, "description": "Unique identifier of the regular gift that should be transferred", "html_description": "Unique identifier of the regular gift that should be transferred", "rst_description": "Unique identifier of the regular gift that should be transferred\n", "name": "owned_gift_id" }, { "type": "Integer", "required": true, "description": "Unique identifier of the chat which will own the gift. The chat must be active in the last 24 hours.", "html_description": "Unique identifier of the chat which will own the gift. The chat must be active in the last 24 hours.", "rst_description": "Unique identifier of the chat which will own the gift. The chat must be active in the last 24 hours.\n", "name": "new_owner_chat_id" }, { "type": "Integer", "required": false, "description": "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.", "html_description": "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.", "rst_description": "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.\n", "name": "star_count" } ], "category": "methods" } }