1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-06 21:04:14 +02:00
Files
OpenIntegrations/docs/en/examples/GreenAPI/GetMessage.txt
T
Vitaly the Alpaca (bot) c666f4e470 Main build (Jenkins)
2026-02-10 22:03:20 +03:00

21 lines
836 B
Plaintext
Vendored

ApiUrl = "https://7105.api.greenapi.com";
MediaUrl = "https://7105.media.greenapi.com";
IdInstance = "71051...";
ApiTokenInstance = "425010d90e114aa6b78f0969e...";
ChatID = "120363410406221140@g.us";
MessageID = "BAE5777A5F7C5685";
Options = New Structure;
Options.Insert("api" , ApiUrl);
Options.Insert("media", MediaUrl);
Options.Insert("id" , IdInstance);
Options.Insert("token", ApiTokenInstance);
AccessParameters = OPI_TestDataRetrieval.ExecuteTestCLI("greenapi", "FormAccessParameters", Options);
Options = New Structure;
Options.Insert("access", AccessParameters);
Options.Insert("chat" , ChatID);
Options.Insert("msg" , MessageID);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("greenapi", "GetMessage", Options);