1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-18 23:48:56 +02:00
OpenIntegrations/docs/en/md/Telegram/Forum-topic-management/Hide-main-forum-topic.md
2024-06-04 21:55:01 +03:00

791 B

sidebar_position
7

Hide main forum thread

Hides the main forum thread

Function HideMainForumTopic(Val Token, Val ChatID) ExportReturn ManageMainTopicVisibility(Token, ChatID, True);EndFunction

Parameter CLI option Type Destination
Token --token String Token
ChatID --forum String, Number Thread chat ID

Returns: Key-Value Pair - Serialized JSON response from Telegram

	
 Token = "6129457865:AAFyzNYOAFbu...";
 Chat = "-1001971186208";
 
 Result = OPI_Telegram.HideMainForumTopic(Token, Chat);

	
 
 oint telegram HideMainForumTopic --token "6129457865:AAFyzNYOAFbu..." --forum %forum%


{
 "ok": true,
 "result": true
}