1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/examples/GreenAPI/ForwardMessages.txt

13 lines
605 B
Plaintext
Raw Normal View History

2025-06-27 11:47:43 +03:00
 ApiUrl = FunctionParameters["GreenAPI_ApiURL"];
MediaUrl = FunctionParameters["GreenAPI_MediaURL"];
IdInstance = FunctionParameters["GreenAPI_IdInstance"];
ApiTokenInstance = FunctionParameters["GreenAPI_Token"];
2025-03-10 21:48:17 +03:00
From = "11001234567@c.us";
2025-06-27 11:47:43 +03:00
Target = FunctionParameters["GreenAPI_TestGroupID"];
2025-03-10 21:48:17 +03:00
2025-06-27 11:47:43 +03:00
Message = FunctionParameters["GreenAPI_MessageID"];
2025-03-10 21:48:17 +03:00
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
Result = OPI_GreenAPI.ForwardMessages(AccessParameters, From, Target, Message);