You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
Правки примеров
This commit is contained in:
@@ -21,6 +21,7 @@ sidebar_position: 6
|
||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||
WorkID = "G8YbueOu2nsAAAAAAAAAAQ";
|
||||
Status = "in_progress";
|
||||
|
||||
WHile Status = "in_progress" Do
|
||||
|
||||
Result = OPI_Dropbox.GetUploadStatusByURL(Token, WorkID);
|
||||
|
||||
@@ -20,6 +20,7 @@ sidebar_position: 5
|
||||
|
||||
|
||||
Response = OPI_GoogleCalendar.DeleteCalendar(Token, "55868c32be16935f0...");
|
||||
Response = OPI_Tools.JSONString(Response);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -34,10 +34,7 @@ sidebar_position: 4
|
||||
AudioDD = New BinaryData(AudioPath);
|
||||
|
||||
Result = OPI_Telegram.SendAudio(Token, ChatID, Text, Audio);
|
||||
|
||||
Result = OPI_Telegram.SendAudio(Token, ChannelID, Text, AudioPath);
|
||||
|
||||
|
||||
Result = OPI_Telegram.SendAudio(Token, ChannelID, Text, AudioDD);
|
||||
|
||||
|
||||
|
||||
@@ -30,8 +30,6 @@ sidebar_position: 9
|
||||
Phone = "88005553535";
|
||||
|
||||
Result = OPI_Telegram.SendContact(Token, ChatID, Name, LastName, Phone);
|
||||
|
||||
|
||||
Result = OPI_Telegram.SendContact(Token, ChannelID, Name, LastName, Phone);
|
||||
|
||||
|
||||
|
||||
@@ -34,10 +34,7 @@ sidebar_position: 5
|
||||
DocumentDD = New BinaryData(DocumentPath);
|
||||
|
||||
Result = OPI_Telegram.SendDocument(Token, ChatID, Text, Document);
|
||||
|
||||
Result = OPI_Telegram.SendDocument(Token, ChannelID, Text, DocumentPath);
|
||||
|
||||
|
||||
Result = OPI_Telegram.SendDocument(Token, ChannelID, Text, DocumentDD);
|
||||
|
||||
|
||||
|
||||
@@ -34,10 +34,7 @@ sidebar_position: 6
|
||||
GifDD = New BinaryData(GifPath);
|
||||
|
||||
Result = OPI_Telegram.SendGif(Token, ChatID, Text, GIF);
|
||||
|
||||
Result = OPI_Telegram.SendGif(Token, ChannelID, Text, GifPath);
|
||||
|
||||
|
||||
Result = OPI_Telegram.SendGif(Token, ChannelID, Text, GifPath);
|
||||
Result = OPI_Telegram.SendGif(Token, ChannelID, Text, GifDD);
|
||||
|
||||
|
||||
|
||||
@@ -34,10 +34,7 @@ sidebar_position: 2
|
||||
ImageDD = New BinaryData(ImagePath);
|
||||
|
||||
Result = OPI_Telegram.SendImage(Token, ChatID, Text, Image);
|
||||
|
||||
Result = OPI_Telegram.SendImage(Token, ChannelID, Text, ImagePath);
|
||||
|
||||
|
||||
Result = OPI_Telegram.SendImage(Token, ChannelID, Text, ImagePath);
|
||||
Result = OPI_Telegram.SendImage(Token, ChannelID, Text, ImageDD);
|
||||
|
||||
|
||||
|
||||
@@ -28,8 +28,6 @@ sidebar_position: 8
|
||||
Longitude = "48.87373649724122";
|
||||
|
||||
Result = OPI_Telegram.SendLocation(Token, ChatID, Width, Longitude);
|
||||
|
||||
|
||||
Result = OPI_Telegram.SendLocation(Token, ChannelID, Width, Longitude);
|
||||
|
||||
|
||||
|
||||
@@ -32,9 +32,7 @@ sidebar_position: 10
|
||||
AnswersArray.Add("Green");
|
||||
AnswersArray.Add("Blue");
|
||||
|
||||
Result = OPI_Telegram.SendPoll(Token, ChatID, Question, AnswersArray, False);
|
||||
|
||||
|
||||
Result = OPI_Telegram.SendPoll(Token, ChatID, Question, AnswersArray, False);
|
||||
Result = OPI_Telegram.SendPoll(Token, ChannelID, Question, AnswersArray, True);
|
||||
|
||||
|
||||
|
||||
@@ -27,8 +27,6 @@ sidebar_position: 1
|
||||
Text = "String value";
|
||||
|
||||
Result = OPI_Telegram.SendTextMessage(Token, ChatID, Text);
|
||||
|
||||
|
||||
Result = OPI_Telegram.SendTextMessage(Token, ChannelID, Text);
|
||||
|
||||
|
||||
|
||||
@@ -34,10 +34,7 @@ sidebar_position: 3
|
||||
VideoDD = New BinaryData(VideoPath);
|
||||
|
||||
Result = OPI_Telegram.SendVideo(Token, ChatID, Text, Video);
|
||||
|
||||
Result = OPI_Telegram.SendVideo(Token, ChannelID, Text, VideoPath);
|
||||
|
||||
|
||||
Result = OPI_Telegram.SendVideo(Token, ChannelID, Text, VideoDD);
|
||||
|
||||
|
||||
|
||||
@@ -24,8 +24,6 @@ sidebar_position: 10
|
||||
Topic = "2673";
|
||||
|
||||
Result = OPI_Telegram.ClearThreadPinnedMessagesList(Token, Chat);
|
||||
|
||||
|
||||
Result = OPI_Telegram.ClearThreadPinnedMessagesList(Token, Chat, Topic);
|
||||
|
||||
|
||||
|
||||
@@ -23,10 +23,7 @@ sidebar_position: 4
|
||||
Chat = "-1001971186208";
|
||||
Topic = "2673";
|
||||
|
||||
|
||||
Result = OPI_Telegram.CloseForumThread(Token, Chat); // Closes main topic
|
||||
|
||||
|
||||
Result = OPI_Telegram.CloseForumThread(Token, Chat, Topic);
|
||||
|
||||
|
||||
|
||||
@@ -24,8 +24,6 @@ sidebar_position: 5
|
||||
Topic = "2673";
|
||||
|
||||
Result = OPI_Telegram.OpenForumThread(Token, Chat); // Opens main topic
|
||||
|
||||
|
||||
Result = OPI_Telegram.OpenForumThread(Token, Chat, Topic);
|
||||
|
||||
|
||||
|
||||
@@ -34,10 +34,8 @@ sidebar_position: 1
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image);
|
||||
ImageArray.Add(AndVF);
|
||||
|
||||
Result = OPI_VK.CreatePost(Text, ImageArray, True, URL, Parameters);
|
||||
|
||||
|
||||
|
||||
Result = OPI_VK.CreatePost(Text, Image, False,, Parameters);
|
||||
|
||||
|
||||
|
||||
@@ -27,10 +27,7 @@ sidebar_position: 7
|
||||
CopyFile(Image, AndVF);
|
||||
Image = New BinaryData(AndVF);
|
||||
|
||||
Result = OPI_VK.CreateStory(Image, URL, Parameters);
|
||||
|
||||
|
||||
|
||||
Result = OPI_VK.CreateStory(Image, URL, Parameters);
|
||||
Result = OPI_VK.CreateStory(AndVF,, Parameters);
|
||||
|
||||
|
||||
|
||||
@@ -30,10 +30,7 @@ sidebar_position: 8
|
||||
|
||||
Image = New BinaryData(AndVF);
|
||||
|
||||
Result = OPI_VK.SaveImageToAlbum(AlbumID, Image, ImageDescription, Parameters);
|
||||
|
||||
|
||||
|
||||
Result = OPI_VK.SaveImageToAlbum(AlbumID, Image, ImageDescription, Parameters);
|
||||
Result = OPI_VK.SaveImageToAlbum(AlbumID, AndVF, ImageDescription, Parameters);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user