Raw.payments.PaymentReceiptStars
Receipt for payment made using telegram stars.
payments.paymentReceiptStars#dabbf83a flags:# date:int bot_id:long title:string description:string photo:flags.2?WebDocument invoice:Invoice currency:string total_amount:long transaction_id:string users:Vector<User> = payments.PaymentReceipt;
export namespace Raw {
export namespace payments {
export class PaymentReceiptStars {
constructor(params: {
date: number;
botId: bigint;
title: string;
description: string;
photo?: Raw.TypeWebDocument;
invoice: Raw.TypeInvoice;
currency: string;
totalAmount: bigint;
transactionId: string;
users: Array<Raw.TypeUser>;
}) {}
}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xdabbf83a
Property
date
: numberDate of generation
botId
: bigintBot id
title
: stringTitle
description
: stringDescription
photo
: Raw.TypeWebDocument or undefinedProduct photo
invoice
: Raw.TypeInvoiceInvoice
currency
: stringCurrency, always xtr.
totalAmount
: bigintAmount of telegram stars.
transactionId
: stringTransaction id
users
: Array of Raw.TypeUserInfo about users mentioned in the other fields.