mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-27 21:48:56 +02:00
41 lines
712 B
Plaintext
41 lines
712 B
Plaintext
---
|
|
sidebar_position: 6
|
|
---
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
# Process Telegram Mini App data
|
|
Processes Telegram Mini App data and determines its validity
|
|
|
|
|
|
|
|
`Function ProcessTMAData(Val DataString, Val Token) Export`
|
|
|
|
| Parameter | CLI option | Type | Required | Description |
|
|
|-|-|-|-|-|
|
|
| DataString | - | String | ✔ | query from Telegram.WebApp.initData |
|
|
| Token | - | String | ✔ | Bot token |
|
|
|
|
|
|
Returns: Map of String - Map of data with the result of verification in the passed field
|
|
|
|
<br/>
|
|
|
|
|
|
:::caution
|
|
**NOCLI:** this method is not available in CLI version
|
|
:::
|
|
<br/>
|
|
|
|
|
|
|
|
```bsl title="1C:Enterprise/OneScript code example"
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|