Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>InputInvoicePremiumGiftCode_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class InputInvoicePremiumGiftCode_
import { InputInvoicePremiumGiftCode_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Used if the user wishes to start a channel giveaway or send some giftcodes to members of a channel, in exchange for boosts.

Constructors

new
InputInvoicePremiumGiftCode_(params: { purpose: enums.InputStorePaymentPurpose; option: enums.PremiumGiftCodeOption; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
option: enums.PremiumGiftCodeOption

Should be populated with one of the giveaway options returned by payments.getPremiumGiftCodeOptions, see the giveaways » documentation for more info.

purpose: enums.InputStorePaymentPurpose

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc