1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/VKTeams/Common-methods/Check-token.md
T
Vitaly the Alpaca (bot) 4a9fd2c336 Main build (Jenkins)
2024-09-24 11:38:18 +03:00

764 B

sidebar_position
sidebar_position
1

Check token

Checks if the bot token is functional

Function CheckToken(Val Token) Export

Parameter CLI option Type Description
Token --token String Bot token

Returns: Map Of KeyAndValue - Serialized JSON response from VK Teams


:::tip Method at API documentation: GET /self/get :::

    Token  = "001.3501506236.091...";
    Result = OPI_VKTeams.CheckToken(Token);
    
  oint vkteams CheckToken --token "001.3501506236.091..."

{
 "userId": "1011893356",
 "ok": true
}