class MessageActionGiftCode_
extends _MessageAction_
import { MessageActionGiftCode_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";
Contains a Telegram Premium giftcode link.
Properties
protected
readonly
[params]: ParamsTotal price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45
pass amount = 145
. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
Identifier of the channel that created the gift code either directly or through a giveaway: if we import this giftcode link, we will also automatically boost this channel.
If set, this gift code was received from a giveaway » started by a channel we're subscribed to.
Static Properties
readonly
[paramDesc]: ParamDesc