You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-12-07 23:03:08 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -39,6 +39,88 @@ import TabItem from '@theme/TabItem';
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
# JSON данные также могут быть переданы как путь к файлу .json
|
||||
|
||||
oint greenapi ПолучитьОчередьСообщений \
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
:: JSON данные также могут быть переданы как путь к файлу .json
|
||||
|
||||
oint greenapi ПолучитьОчередьСообщений ^
|
||||
--access "{'apiUrl':'***','mediaUrl':'https://7105.media.greenapi.com','idInstance':'7105187566','apiTokenInstance':'***'}"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
[
|
||||
{
|
||||
"messageID": "BAE5EBEA6D4D06DE",
|
||||
"type": "sendLocation",
|
||||
"body": {
|
||||
"chatId": "120363410406221140@g.us",
|
||||
"quotedMessageId": "BAE58FFB313AA023",
|
||||
"latitude": 53.908522,
|
||||
"longitude": 27.574821
|
||||
}
|
||||
},
|
||||
{
|
||||
"messageID": "BAE5398BAA3A6199",
|
||||
"type": "sendContact",
|
||||
"body": {
|
||||
"chatId": "120363410406221140@g.us",
|
||||
"contact": {
|
||||
"phoneContact": 79001234568,
|
||||
"firstName": "Артем",
|
||||
"middleName": "Евпаторийский",
|
||||
"lastName": "Петрович",
|
||||
"company": "Велосипед"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"messageID": "BAE5DF8EADC77DE9",
|
||||
"type": "sendContact",
|
||||
"body": {
|
||||
"chatId": "120363410406221140@g.us",
|
||||
"contact": {
|
||||
"phoneContact": 79001234568,
|
||||
"company": "Велосипед"
|
||||
},
|
||||
"quotedMessageId": "BAE5398BAA3A6199"
|
||||
}
|
||||
},
|
||||
{
|
||||
"messagesIDs": [
|
||||
"BAE5D0DE67C63EEF"
|
||||
],
|
||||
"type": "ForwardMessages",
|
||||
"body": {
|
||||
"chatId": "120363410406221140@g.us",
|
||||
"chatIdFrom": "120363410406221140@g.us",
|
||||
"messages": [
|
||||
"BAE5356B1EF7AC84"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"messageID": "BAE5DFEB55A708EB",
|
||||
"type": "editMessage",
|
||||
"body": {
|
||||
"chatId": "120363410406221140@g.us",
|
||||
"idMessage": "BAE5356B1EF7AC84",
|
||||
"message": "Новый текст сообщения",
|
||||
"linkPreview": true
|
||||
}
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user