Interface StarTransaction

Represents a transaction changing the amount of owned Telegram Stars.

interface StarTransaction {
    @type: "starTransaction";
    date: number;
    id: string;
    is_refund?: boolean;
    star_amount: StarAmount;
    type: StarTransactionType;
}

Properties

@type: "starTransaction"
date: number

Point in time (Unix timestamp) when the transaction was completed.

id: string

Unique identifier of the transaction.

is_refund?: boolean

True, if the transaction is a refund of a previous transaction.

star_amount: StarAmount

The amount of added owned Telegram Stars; negative for outgoing transactions.

Type of the transaction.