1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-18 23:48:56 +02:00
OpenIntegrations/docs/en/examples/VKTeams/ForwardMessage.txt
2024-08-13 14:35:37 +03:00

13 lines
506 B
Plaintext

Token = FunctionParameters["VkTeams_Token"];
ChatID = FunctionParameters["VkTeams_ChatID"];
FromChatID = FunctionParameters["VkTeams_ChatID2"];
MessageID = FunctionParameters["VkTeams_MessageID"];
Result = OPI_VKTeams.ForwardMessage(Token, MessageID, FromChatID, ChatID);
OPI_TestDataRetrieval.WriteLog(Result, "ForwardMessage (simple)", "VkTeams");
Text = "Additional text";
Result = OPI_VKTeams.ForwardMessage(Token, MessageID, FromChatID, ChatID, Text);