mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-27 21:48:56 +02:00
10 lines
372 B
Plaintext
10 lines
372 B
Plaintext
Token = FunctionParameters["Telegram_Token"];
|
|
Chat = FunctionParameters["Telegram_ForumID"];
|
|
Topic = FunctionParameters["Telegram_TopicID"];
|
|
|
|
Result = OPI_Telegram.CloseForumThread(Token, Chat); // Closes main topic
|
|
|
|
OPI_TestDataRetrieval.WriteLog(Result, "CloseForumTopic (main)");
|
|
|
|
Result = OPI_Telegram.CloseForumThread(Token, Chat, Topic);
|