Skip to content

StarTransaction

Type · TDLib 1.8.67 · d1085f9c

Represents a transaction changing the amount of owned Telegram Stars

StarTransaction(
  id: string,
  star_amount: StarAmount,
  is_refund: Bool,
  date: int32,
  type: StarTransactionType
) → StarTransaction

id

string

Unique identifier of the transaction

star_amount

StarAmount

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

is_refund

Bool

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

date

int32

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

type

StarTransactionType

Type of the transaction