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