You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-23 22:05:15 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
Chat = "-1001971186208";
|
||||
Topic = "5429";
|
||||
Topic = "5543";
|
||||
|
||||
Result = OPI_Telegram.ClearThreadPinnedMessagesList(Token, Chat);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
Chat = "-1001971186208";
|
||||
Topic = "5429";
|
||||
Topic = "5543";
|
||||
|
||||
Result = OPI_Telegram.CloseForumThread(Token, Chat); // Closes main topic
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
Chat = "-1001971186208";
|
||||
Topic = "5429";
|
||||
Topic = "5543";
|
||||
|
||||
Result = OPI_Telegram.DeleteForumTopic(Token, Chat, Topic);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChatID = "@testsichee";
|
||||
MessageID = "9480";
|
||||
MessageID = "9761";
|
||||
|
||||
Result = OPI_Telegram.DeleteMessage(Token, ChatID, MessageID);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FileID = "CQACAgIAAx0EcNsaZQACJRBnCM7ekYIoYXuwHC_cxZOGE-d1QwAC0FUAAnfgSEh6pf34KdCYrTYE";
|
||||
FileID = "CQACAgIAAx0EcNsaZQACJdtnC600ChemDs9AfeCwKyUUQnYwzgACp1sAAj1KYEhCC24y7dGmOjYE";
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
|
||||
Result = OPI_Telegram.DownloadFile(Token, FileID);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
Chat = "-1001971186208";
|
||||
Topic = "5429";
|
||||
Topic = "5543";
|
||||
NewName = "NewTestTitle";
|
||||
NewIcon = "5310132165583840589";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChatID = "461699897";
|
||||
ChannelID = "@testsichee";
|
||||
MessageID = "9480";
|
||||
MessageID = "9761";
|
||||
|
||||
Result = OPI_Telegram.ForwardMessage(Token, MessageID, ChannelID, ChatID);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
Chat = "-1001971186208";
|
||||
Topic = "5429";
|
||||
Topic = "5543";
|
||||
|
||||
Result = OPI_Telegram.OpenForumThread(Token, Chat); // Opens main topic
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChannelID = "@testsichee";
|
||||
MessageID = "9480";
|
||||
MessageID = "9761";
|
||||
|
||||
Result = OPI_Telegram.PinMessage(Token, ChannelID, MessageID);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
ChatID = "461699897";
|
||||
ChannelID = "@testsichee";
|
||||
Text = "Строковое значение";
|
||||
Audio = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/song.mp3";
|
||||
Audio = "https://api.athenaeum.digital/test_data/song.mp3";
|
||||
|
||||
AudioPath = GetTempFileName("mp3");
|
||||
CopyFile(Audio, AudioPath);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
ChatID = "461699897";
|
||||
ChannelID = "@testsichee";
|
||||
Text = "Строковое значение";
|
||||
Document = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
|
||||
Document = "https://api.athenaeum.digital/test_data/document.docx";
|
||||
|
||||
DocumentPath = GetTempFileName("docx");
|
||||
CopyFile(Document, DocumentPath);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
ChatID = "461699897";
|
||||
ChannelID = "@testsichee";
|
||||
Text = "Строковое значение";
|
||||
GIF = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/animation.gif";
|
||||
GIF = "https://api.athenaeum.digital/test_data/animation.gif";
|
||||
|
||||
GifPath = GetTempFileName("gif");
|
||||
CopyFile(GIF, GifPath);
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChatID = "461699897";
|
||||
Text = "Строковое значение";
|
||||
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
|
||||
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4";
|
||||
Image = "https://api.athenaeum.digital/test_data/picture.jpg";
|
||||
Video = "https://api.athenaeum.digital/test_data/video.mp4";
|
||||
|
||||
ImagePath = GetTempFileName("png");
|
||||
CopyFile(Image, ImagePath);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
ChatID = "461699897";
|
||||
ChannelID = "@testsichee";
|
||||
Text = "Строковое значение";
|
||||
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
|
||||
Image = "https://api.athenaeum.digital/test_data/picture.jpg";
|
||||
|
||||
ImagePath = GetTempFileName("png");
|
||||
CopyFile(Image, ImagePath);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
ChatID = "461699897";
|
||||
ChannelID = "@testsichee";
|
||||
Text = "Строковое значение";
|
||||
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4";
|
||||
Video = "https://api.athenaeum.digital/test_data/video.mp4";
|
||||
|
||||
VideoPath = GetTempFileName("mp4");
|
||||
CopyFile(Video, VideoPath);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChannelID = "@testsichee";
|
||||
MessageID = "9480";
|
||||
MessageID = "9761";
|
||||
|
||||
Result = OPI_Telegram.UnpinMessage(Token, ChannelID, MessageID);
|
||||
|
||||
Reference in New Issue
Block a user