You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-06 08:49:29 +02:00
Правки доков
This commit is contained in:
@@ -27,13 +27,11 @@ sidebar_position: 4
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Channel = "C06UFNUTKUL";
|
||||
Channel = "C06UFNUTKUL";
|
||||
Timestamp = "1714146538.221929";
|
||||
|
||||
Response = OPI_Slack.DeleteMessage(Token, Channel, Timestamp); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -45,7 +43,7 @@ sidebar_position: 4
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"ok": true,
|
||||
"channel": "C06UFNUTKUL",
|
||||
"ts": "1714146538.221929"
|
||||
|
||||
@@ -28,14 +28,12 @@ sidebar_position: 3
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Channel = "C070VPMKN8J";
|
||||
Channel = "C070VPMKN8J";
|
||||
Timestamp = "1714146538.221929";
|
||||
Text = "TestMessage2";
|
||||
|
||||
Response = OPI_Slack.EditMessage(Token, Channel, Timestamp, Text); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -47,7 +45,7 @@ sidebar_position: 3
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"ok": true,
|
||||
"channel": "C06UFNUTKUL",
|
||||
"ts": "1714146538.221929",
|
||||
|
||||
@@ -26,12 +26,10 @@ sidebar_position: 5
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Channel = "C070VPMKN8J";
|
||||
Channel = "C070VPMKN8J";
|
||||
|
||||
Response = OPI_Slack.GetDelayedMessageList(Token, Channel); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -43,7 +41,7 @@ sidebar_position: 5
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"ok": true,
|
||||
"scheduled_messages": [],
|
||||
"response_metadata": {
|
||||
|
||||
@@ -26,13 +26,11 @@ sidebar_position: 6
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Channel = "C070VPMKN8J";
|
||||
Channel = "C070VPMKN8J";
|
||||
Timestamp = "1714146538.221929";
|
||||
|
||||
Response = OPI_Slack.GetMessageLink(Token, Channel, Timestamp); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -44,7 +42,7 @@ sidebar_position: 6
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"ok": true,
|
||||
"permalink": "https://openintegrationsgroup.slack.com/archives/C06UFNUTKUL/p1714146538221929",
|
||||
"channel": "C06UFNUTKUL"
|
||||
|
||||
@@ -27,13 +27,11 @@ sidebar_position: 7
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Channel = "C070VPMKN8J";
|
||||
Channel = "C070VPMKN8J";
|
||||
Timestamp = "1714146538.221929";
|
||||
|
||||
Response = OPI_Slack.GetMessageReplyList(Token, Channel, Timestamp); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -45,7 +43,7 @@ sidebar_position: 7
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"ok": true,
|
||||
"messages": [
|
||||
{
|
||||
|
||||
@@ -28,13 +28,11 @@ Sends a message that arrives in the channel but is visible only to a specific us
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Channel = "C070VPMKN8J";
|
||||
Channel = "C070VPMKN8J";
|
||||
Block = OPI_Slack.GenerateImageBlock("https://opi.neocities.org/test_data/picture.jpg", "Image");
|
||||
|
||||
Response = OPI_Slack.SendEphemeralMessage(Token, Channel,, User, Block); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -46,7 +44,7 @@ Sends a message that arrives in the channel but is visible only to a specific us
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"ok": true,
|
||||
"message_ts": "1714146540.000300"
|
||||
}
|
||||
|
||||
@@ -28,13 +28,11 @@ sidebar_position: 1
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Channel = "C070VPMKN8J";
|
||||
Channel = "C070VPMKN8J";
|
||||
Text = "TestMessage";
|
||||
|
||||
Response = OPI_Slack.SendMessage(Token, Channel, Text); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -46,7 +44,7 @@ sidebar_position: 1
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"ok": true,
|
||||
"channel": "C06UFNUTKUL",
|
||||
"ts": "1714146538.221929",
|
||||
|
||||
Reference in New Issue
Block a user