get_payment_receipt()¶
- async Client.get_payment_receipt()¶
Get payment receipt for a successful payment message.
Usable by Users Bots- Parameters:
chat_id (
int|str) – Target chat ID where the invoice/receipt message is located.message_id (
int) – Message identifier of the payment.
- Returns:
PaymentReceipt– Payment receipt object.
Example
receipt = await app.get_payment_receipt(chat_id, 123)