Show main forum thread
Shows a previously hidden main forum thread
Function ShowMainForumTopic(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: unhideGeneralForumTopic
1C:Enterprise/OneScript code example
Token = "6129457865:AAFyzNYOAFbu...";
Chat = "-1001971186208";
Result = OPI_Telegram.ShowMainForumTopic(Token, Chat);
- Bash
- CMD/Bat
oint telegram ShowMainForumTopic \
--token "***" \
--forum "-1001971186208"
oint telegram ShowMainForumTopic ^
--token "***" ^
--forum "-1001971186208"
Result
{
"ok": true,
"result": true
}