mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 00:46:56 +01:00
26 lines
908 B
Markdown
26 lines
908 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|[int53](../types/int53.md) | Yes|Chat identifier of the Invoice message|
|
|
|message\_id|[int53](../types/int53.md) | Yes|Message identifier|
|
|
|order\_info|[orderInfo](../constructors/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)
|
|
|