You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -39,7 +39,7 @@ Method at API documentation: [DeleteMessage](https://green-api.com/docs/api/serv
|
||||
ApiTokenInstance = "425010d90e114aa6b78f0969e...";
|
||||
|
||||
ChatID = "120363410406221140@g.us";
|
||||
MessageID = "BAE5D48CDB45B437";
|
||||
MessageID = "BAE57F28631FA1BC";
|
||||
|
||||
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
|
||||
Result = OPI_GreenAPI.DeleteMessage(AccessParameters, ChatID, MessageID);
|
||||
@@ -55,7 +55,7 @@ Method at API documentation: [DeleteMessage](https://green-api.com/docs/api/serv
|
||||
oint greenapi DeleteMessage \
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}" \
|
||||
--chat "120363410406221140@g.us" \
|
||||
--message "BAE5C5FA375FA242"
|
||||
--message "BAE51228C87FBDF8"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -66,7 +66,7 @@ Method at API documentation: [DeleteMessage](https://green-api.com/docs/api/serv
|
||||
oint greenapi DeleteMessage ^
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}" ^
|
||||
--chat "120363410406221140@g.us" ^
|
||||
--message "BAE5C5FA375FA242"
|
||||
--message "BAE51228C87FBDF8"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
@@ -39,7 +39,7 @@ Method at API documentation: [EditMessage](https://green-api.com/docs/api/servic
|
||||
ApiTokenInstance = "425010d90e114aa6b78f0969e...";
|
||||
|
||||
ChatID = "120363410406221140@g.us";
|
||||
MessageID = "BAE5D48CDB45B437";
|
||||
MessageID = "BAE57F28631FA1BC";
|
||||
Text = "New message text";
|
||||
|
||||
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
|
||||
@@ -56,7 +56,7 @@ Method at API documentation: [EditMessage](https://green-api.com/docs/api/servic
|
||||
oint greenapi EditMessageText \
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}" \
|
||||
--chat "120363410406221140@g.us" \
|
||||
--message "BAE5C5FA375FA242" \
|
||||
--message "BAE51228C87FBDF8" \
|
||||
--text "New message text"
|
||||
```
|
||||
</TabItem>
|
||||
@@ -68,7 +68,7 @@ Method at API documentation: [EditMessage](https://green-api.com/docs/api/servic
|
||||
oint greenapi EditMessageText ^
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}" ^
|
||||
--chat "120363410406221140@g.us" ^
|
||||
--message "BAE5C5FA375FA242" ^
|
||||
--message "BAE51228C87FBDF8" ^
|
||||
--text "New message text"
|
||||
```
|
||||
</TabItem>
|
||||
@@ -77,6 +77,6 @@ Method at API documentation: [EditMessage](https://green-api.com/docs/api/servic
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"idMessage": "BAE56756537DAE1A"
|
||||
"idMessage": "BAE515F0B7D50661"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -41,7 +41,7 @@ Method at API documentation: [ForwardMessages](https://green-api.com/docs/api/se
|
||||
From = "11001234567@c.us";
|
||||
Target = "120363410406221140@g.us";
|
||||
|
||||
Message = "BAE5D48CDB45B437";
|
||||
Message = "BAE57F28631FA1BC";
|
||||
|
||||
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
|
||||
Result = OPI_GreenAPI.ForwardMessages(AccessParameters, From, Target, Message);
|
||||
@@ -58,7 +58,7 @@ Method at API documentation: [ForwardMessages](https://green-api.com/docs/api/se
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}" \
|
||||
--from "120363410406221140@g.us" \
|
||||
--to "120363410406221140@g.us" \
|
||||
--msgs "BAE5C5FA375FA242"
|
||||
--msgs "BAE51228C87FBDF8"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -70,7 +70,7 @@ Method at API documentation: [ForwardMessages](https://green-api.com/docs/api/se
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}" ^
|
||||
--from "120363410406221140@g.us" ^
|
||||
--to "120363410406221140@g.us" ^
|
||||
--msgs "BAE5C5FA375FA242"
|
||||
--msgs "BAE51228C87FBDF8"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
@@ -79,7 +79,7 @@ Method at API documentation: [ForwardMessages](https://green-api.com/docs/api/se
|
||||
```json title="Result"
|
||||
{
|
||||
"messages": [
|
||||
"BAE5F0BC904F4998"
|
||||
"BAE555AA9330A992"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -45,7 +45,10 @@ import TabItem from '@theme/TabItem';
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint greenapi GetContactDescription \
|
||||
--phone 79001234568 \
|
||||
--phone "***" \
|
||||
--name "Artem" \
|
||||
--surname "Evpatoriysky" \
|
||||
--midname "Petrovich" \
|
||||
--company "Bicycle"
|
||||
```
|
||||
</TabItem>
|
||||
@@ -53,7 +56,10 @@ import TabItem from '@theme/TabItem';
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint greenapi GetContactDescription ^
|
||||
--phone 79001234568 ^
|
||||
--phone "***" ^
|
||||
--name "Artem" ^
|
||||
--surname "Evpatoriysky" ^
|
||||
--midname "Petrovich" ^
|
||||
--company "Bicycle"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -44,7 +44,9 @@ import TabItem from '@theme/TabItem';
|
||||
```bash
|
||||
oint greenapi GetLocationDescription \
|
||||
--lat 53.908522 \
|
||||
--long 27.574821
|
||||
--long 27.574821 \
|
||||
--addr "Victory Square, Minsk" \
|
||||
--name "Victory sq."
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -52,7 +54,9 @@ import TabItem from '@theme/TabItem';
|
||||
```batch
|
||||
oint greenapi GetLocationDescription ^
|
||||
--lat 53.908522 ^
|
||||
--long 27.574821
|
||||
--long 27.574821 ^
|
||||
--addr "Victory Square, Minsk" ^
|
||||
--name "Victory sq."
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
@@ -62,8 +62,8 @@ Method at API documentation: [SendContact](https://green-api.com/docs/api/sendin
|
||||
oint greenapi SendContact \
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}" \
|
||||
--chat "120363410406221140@g.us" \
|
||||
--contact "{'phoneContact':79001234568,'company':'Bicycle'}" \
|
||||
--quoted "BAE59868DDDF0449"
|
||||
--contact "{'phoneContact':'79001234568','company':'Bicycle'}" \
|
||||
--quoted "BAE5E44740B9ED9C"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -74,8 +74,8 @@ Method at API documentation: [SendContact](https://green-api.com/docs/api/sendin
|
||||
oint greenapi SendContact ^
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}" ^
|
||||
--chat "120363410406221140@g.us" ^
|
||||
--contact "{'phoneContact':79001234568,'company':'Bicycle'}" ^
|
||||
--quoted "BAE59868DDDF0449"
|
||||
--contact "{'phoneContact':'79001234568','company':'Bicycle'}" ^
|
||||
--quoted "BAE5E44740B9ED9C"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
@@ -83,6 +83,6 @@ Method at API documentation: [SendContact](https://green-api.com/docs/api/sendin
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"idMessage": "BAE5F4CCAAE34098"
|
||||
"idMessage": "BAE557AE1AB1719C"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -62,7 +62,7 @@ Method at API documentation: [SendFileByUrl](https://green-api.com/docs/api/send
|
||||
--url "https://hut.openintegrations.dev/test_data/video.mp4" \
|
||||
--filename "vid.mp4" \
|
||||
--caption "File description" \
|
||||
--quoted "BAE5D97C67FBD0D9"
|
||||
--quoted "BAE5506506B24B5B"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -76,7 +76,7 @@ Method at API documentation: [SendFileByUrl](https://green-api.com/docs/api/send
|
||||
--url "https://hut.openintegrations.dev/test_data/video.mp4" ^
|
||||
--filename "vid.mp4" ^
|
||||
--caption "File description" ^
|
||||
--quoted "BAE5D97C67FBD0D9"
|
||||
--quoted "BAE5506506B24B5B"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
@@ -84,6 +84,6 @@ Method at API documentation: [SendFileByUrl](https://green-api.com/docs/api/send
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"idMessage": "BAE586AD138A93E2"
|
||||
"idMessage": "BAE58CA98E4E31AB"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -64,7 +64,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
--file "https://hut.openintegrations.dev/test_data/video.mp4" \
|
||||
--filename "vid.mp4" \
|
||||
--caption "File description" \
|
||||
--quoted "BAE5C8B93FC989C5"
|
||||
--quoted "BAE567CCD78F0903"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -78,7 +78,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
--file "https://hut.openintegrations.dev/test_data/video.mp4" ^
|
||||
--filename "vid.mp4" ^
|
||||
--caption "File description" ^
|
||||
--quoted "BAE5C8B93FC989C5"
|
||||
--quoted "BAE567CCD78F0903"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
@@ -86,7 +86,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"idMessage": "BAE593C603CE6CA0",
|
||||
"urlFile": "https://do-mediaout-7105.fra1.digitaloceanspaces.com/7105187566/bb6c3e97-1684-4fe6-9e18-76f2b0c43a94.jpg"
|
||||
"idMessage": "BAE596C4E4224C82",
|
||||
"urlFile": "https://do-mediaout-7105.fra1.digitaloceanspaces.com/7105187566/5d9c7727-cc32-4016-99c5-aba88e6b1fa9.jpg"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -61,8 +61,8 @@ Method at API documentation: [SendPoll](https://green-api.com/docs/api/sending/S
|
||||
oint greenapi SendLocation \
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}" \
|
||||
--chat "120363410406221140@g.us" \
|
||||
--loc "{'latitude':53.908522,'longitude':27.574821}" \
|
||||
--quoted "BAE577BB1B8B1F9D"
|
||||
--loc "{'latitude':'53.908522','longitude':'27.574821'}" \
|
||||
--quoted "BAE5E772C58F94BC"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -73,8 +73,8 @@ Method at API documentation: [SendPoll](https://green-api.com/docs/api/sending/S
|
||||
oint greenapi SendLocation ^
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}" ^
|
||||
--chat "120363410406221140@g.us" ^
|
||||
--loc "{'latitude':53.908522,'longitude':27.574821}" ^
|
||||
--quoted "BAE577BB1B8B1F9D"
|
||||
--loc "{'latitude':'53.908522','longitude':'27.574821'}" ^
|
||||
--quoted "BAE5E772C58F94BC"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
@@ -82,6 +82,6 @@ Method at API documentation: [SendPoll](https://green-api.com/docs/api/sending/S
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"idMessage": "BAE58EAA1E95D444"
|
||||
"idMessage": "BAE5622BEDED47FB"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -65,7 +65,7 @@ Method at API documentation: [SendPoll](https://green-api.com/docs/api/sending/S
|
||||
--text "What's your favorite color?" \
|
||||
--options "['Red','Yellow','Green']" \
|
||||
--multi true \
|
||||
--quoted "BAE5DD19A53A74E2"
|
||||
--quoted "BAE57CD6236C9636"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -79,7 +79,7 @@ Method at API documentation: [SendPoll](https://green-api.com/docs/api/sending/S
|
||||
--text "What's your favorite color?" ^
|
||||
--options "['Red','Yellow','Green']" ^
|
||||
--multi true ^
|
||||
--quoted "BAE5DD19A53A74E2"
|
||||
--quoted "BAE57CD6236C9636"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
@@ -87,6 +87,6 @@ Method at API documentation: [SendPoll](https://green-api.com/docs/api/sending/S
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"idMessage": "BAE5046EDFDB4426"
|
||||
"idMessage": "BAE58A2EA4230621"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -56,7 +56,7 @@ Method at API documentation: [SendMessage](https://green-api.com/docs/api/sendin
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}" \
|
||||
--chat "120363410406221140@g.us" \
|
||||
--text "New message" \
|
||||
--quoted "BAE5B8457AE5FC88"
|
||||
--quoted "BAE51228C87FBDF8"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -68,7 +68,7 @@ Method at API documentation: [SendMessage](https://green-api.com/docs/api/sendin
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}" ^
|
||||
--chat "120363410406221140@g.us" ^
|
||||
--text "New message" ^
|
||||
--quoted "BAE5B8457AE5FC88"
|
||||
--quoted "BAE51228C87FBDF8"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
@@ -76,6 +76,6 @@ Method at API documentation: [SendMessage](https://green-api.com/docs/api/sendin
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"idMessage": "BAE579E0B0330DDC"
|
||||
"idMessage": "BAE5777A5F7C5685"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user