Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
Text = "Text of the new rules";
Result = OPI_VKTeams.SetChatRules(Token, ChatID, Text);