1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-16 11:38:11 +02:00
OpenIntegrations/docs/en/examples/VKTeams/EditMessageText.txt
2024-08-13 14:35:37 +03:00

14 lines
513 B
Plaintext

Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID2"];
MessageID = FunctionParameters["VkTeams_MessageID"];
Text = "New message text";
Result = OPI_VKTeams.EditMessageText(Token, ChatID, MessageID, Text);
OPI_TestDataRetrieval.WriteLog(Result, "EditMessageText (simple)", "VkTeams");
Text = "<b>New bold message text</b>";
Markup = "HTML";
Result = OPI_VKTeams.EditMessageText(Token, ChatID, MessageID, Text, Markup);