Layer 220
PaymentsPaymentReceiptStars
Receipt for payment made using Telegram Stars.
constructor
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;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Date | int | Date of generation |
| BotId | long | Bot ID |
| Title | string | Title |
| Description | string | Description |
| Photo | flags.2?WebDocument | Product photo |
| Invoice | Invoice | Invoice |
| Currency | string | Currency, always XTR. |
| TotalAmount | long | Amount of Telegram Stars. |
| TransactionId | string | Transaction ID |
| Users | Vector<User> | Info about users mentioned in the other fields. |
Returns
payments.PaymentReceiptGogram Example
// Creating PaymentsPaymentReceiptStars constructor obj := &tg.PaymentsPaymentReceiptStars{ Date: 0, BotId: int64(0), Title: "...", Description: "...", Invoice: &tg.Invoice{}, Currency: "...", // ... more required fields // Optional fields: // Photo: &tg.WebDocument{}, }