1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-02-03 13:22:19 +02:00
Vitaly the Alpaca (bot) f47c6f5e2d Main build (Jenkins)
2024-10-05 11:21:35 +03:00

17 lines
577 B
Plaintext

Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Video = "https://openyellow.neocities.org/test_data/video.mp4";
VideoPath = GetTempFileName("mp4");
CopyFile(Video, VideoPath);
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);