Hide main forum thread
Hides the main forum thread
Function HideMainForumTopic(Val Token, Val ChatID) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Token |
ChatID | --forum | String, Number | ✔ | Thread 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);
- Bash
- CMD/Bat
oint telegram HideMainForumTopic \
--token "***" \
--forum "-1001971186208"
oint telegram HideMainForumTopic ^
--token "***" ^
--forum "-1001971186208"
Result
{
"ok": true,
"result": true
}