mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-18 23:48:56 +02:00
792 B
792 B
sidebar_position |
---|
8 |
Show main forum thread
Shows a previously hidden main forum thread
Function ShowMainForumTopic(Val Token, Val ChatID) Export
Parameter | CLI option | Type | Destination |
---|---|---|---|
Token | --token | String | Token |
ChatID | --forum | String, Number | Thread chat ID |
Returns: Map Of KeyAndValue - Serialized JSON response from Telegram
Token = "6129457865:AAFyzNYOAFbu...";
Chat = "-1001971186208";
Result = OPI_Telegram.ShowMainForumTopic(Token, Chat);
oint telegram ShowMainForumTopic --token "6129457865:AAFyzNYOAFbu..." --forum %forum%
{
"ok": true,
"result": true
}