You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-27 22:18:36 +02:00
40 lines
973 B
Plaintext
Vendored
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/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|