Skip to main content

Hide main forum thread

Hides the main forum thread

Function HideMainForumTopic(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: hideGeneralForumTopic


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

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