1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/md/Telegram/Data-retrieval-and-settings/Process-tma-data.mdx
Vitaly the Alpaca (bot) abbcdf3723 Main build (Jenkins)
2025-09-18 13:55:48 +03:00

40 lines
973 B
Plaintext
Vendored

---
sidebar_position: 6
description: Process Telegram Mini App data and other functions to work with Telegram in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Telegram]
---
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/>