Layer 220
PaymentsGetPaymentReceipt
Get payment receipt
method
Users
payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | The peer where the payment receipt was sent |
| MsgId | int | Message ID of receipt |
Returns
payments.PaymentReceiptPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | MESSAGE_ID_INVALID | The provided message id is invalid. |
Gogram Example
// PaymentsGetPaymentReceipt - positional arguments result, err := client.PaymentsGetPaymentReceipt(&tg.InputPeerUser{UserID: int64(123456789)}, 0) if err != nil { // handle error } // result is *tg.PaymentsPaymentReceipt