import { type StarTransaction } from "https://deno.land/x/grammy@v1.32.0/types.deno.ts";
Describes a Telegram Star transaction.
Properties
Unique identifier of the transaction. Coincides with the identifier of the original transaction for refund transactions. Coincides with SuccessfulPayment.telegram_payment_charge_id for successful incoming payments from users.
optional
source: TransactionPartnerSource of an incoming transaction (e.g., a user purchasing goods or services, Fragment refunding a failed withdrawal). Only for incoming transactions
optional
receiver: TransactionPartnerReceiver of an outgoing transaction (e.g., a user for a purchase refund, Fragment for a withdrawal). Only for outgoing transactions