payments.getPaymentReceipt #
Получить чек об оплате¶
Слой 223
payments.paymentReceipt#70c4fe03 flags:# date:int bot_id:long provider_id:long title:string description:string photo:flags.2?WebDocument invoice:Invoice info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption tip_amount:flags.3?long currency:string total_amount:long credentials_title:string users:Vector<User> = payments.PaymentReceipt;
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;
---functions---
payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt; Параметры #
| Имя | Тип | Описание |
|---|---|---|
| peer | InputPeer | Пир, в который был отправлен чек об оплате |
| msg_id | int | Идентификатор сообщения с чеком |
Результат #
Этот метод доступен только пользователям #
Возможные ошибки #
| Код | Тип | Описание |
|---|---|---|
| 400 | MESSAGE_ID_INVALID | Указанный идентификатор сообщения недействителен. |