method ApiMethods.convertGiftToStars
ApiMethods.convertGiftToStars(args: { business_connection_id: string; owned_gift_id: string; }): true

Converts a given regular gift to Telegram Stars. Requires the can_convert_gifts_to_stars business bot right. Returns True on success.

Parameters

args: { business_connection_id: string; owned_gift_id: string; }

Return Type

true

Usage

import { type ApiMethods } from "types";