Skip to main content

Show main forum thread

Shows a previously hidden main forum thread

Function ShowMainForumTopic(Val Token, Val ChatID) Export

ParameterCLI optionTypeRequiredDescription
Token--tokenStringToken
ChatID--forumString, NumberThread chat ID

Returns: Map Of KeyAndValue - serialized JSON response from Telegram


tip

Method at API documentation: unhideGeneralForumTopic


1C:Enterprise/OneScript code example
    Token = "6129457865:AAFyzNYOAFbu...";
Chat = "-1001971186208";

Result = OPI_Telegram.ShowMainForumTopic(Token, Chat);
    oint telegram ShowMainForumTopic \
--token "***" \
--forum "-1001971186208"
Result
{
"ok": true,
"result": true
}