You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-04 20:54:02 +02:00
23 lines
917 B
Plaintext
Vendored
23 lines
917 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";
|
|
Text = "New message text";
|
|
|
|
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("message", MessageID);
|
|
Options.Insert("text" , Text);
|
|
|
|
Result = OPI_TestDataRetrieval.ExecuteTestCLI("greenapi", "EditMessageText", Options); |