1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-04 22:14:37 +02:00

17 lines
574 B
Plaintext
Raw Normal View History

2024-09-21 10:57:02 +03:00
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
2024-10-15 10:07:27 +03:00
Video = "https://api.athenaeum.digital/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);