1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-27 21:48:56 +02:00
OpenIntegrations/docs/en/examples/Telegram/CloseForumTopic.txt
2024-08-13 14:35:37 +03:00

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);