payments.GetPaymentReceipt

class pyrogram.raw.functions.payments.GetPaymentReceipt

Get payment receipt

Details:
  • Layer: 227

  • ID: 2478D1CC

Parameters:
  • peer (InputPeer) – The peer where the payment receipt was sent

  • msg_id (int 32-bit) – Message ID of receipt

Returns:

payments.PaymentReceipt

TL Schema

payments.getPaymentReceipt#2478d1cc
peer:InputPeer
msg_id:int

= payments.PaymentReceipt

Parameter Tree

GetPaymentReceipt
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_id → long
│ ├── InputPeerUser
│ │ ├── user_id → long
│ │ └── access_hash → long
│ ├── InputPeerChannel
│ │ ├── channel_id → long
│ │ └── access_hash → long
│ │ ├── peer → InputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_id → int
│ │ └── user_id → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── channel_id → long
└── msg_id → int

Example

await app.invoke(
    GetPaymentReceipt(
        peer=await app.resolve_peer(chat_id),
        msg_id=0,
    )
)