mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 13:06:55 +01:00
26 lines
909 B
Markdown
26 lines
909 B
Markdown
|
---
|
||
|
title: validateOrderInfo
|
||
|
description: Validates order information provided by the user and returns available shipping options for flexible invoice
|
||
|
---
|
||
|
## Method: validateOrderInfo
|
||
|
[Back to methods index](index.md)
|
||
|
|
||
|
|
||
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
||
|
|
||
|
|
||
|
Validates order information provided by the user and returns available shipping options for flexible invoice
|
||
|
|
||
|
### Params:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|chat\_id|[InputPeer](../types/InputPeer.md) | Yes|Chat identifier of the Invoice message|
|
||
|
|message\_id|[int53](../types/int53.md) | Yes|Message identifier|
|
||
|
|order\_info|[orderInfo](../types/orderInfo.md) | Yes|Order information, provided by the user|
|
||
|
|allow\_save|[Bool](../types/Bool.md) | Yes|True, if order information can be saved|
|
||
|
|
||
|
|
||
|
### Return type: [ValidatedOrderInfo](../types/ValidatedOrderInfo.md)
|
||
|
|