payments.paymentReceiptStars
Receipt for payment made using Telegram Stars.
type tg.PaymentsPaymentReceiptStars struct { /* ... */ }
Implements payments.PaymentReceipt.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Date | int | yes | Date of generation |
BotID | int64 | yes | Bot ID |
Title | string | yes | Title |
Description | string | yes | Description |
Photo | WebDocumentClass | — | Product photo |
Invoice | Invoice | yes | Invoice |
Currency | string | yes | Currency, always XTR. |
TotalAmount | int64 | yes | Amount of Telegram Stars. |
TransactionID | string | yes | Transaction ID |
Users | []UserClass | yes | Info about users mentioned in the other fields. |
References
- Official documentation
- Generated Go reference
- TL definition:
payments.paymentReceiptStars#dabbf83a