1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-25 21:39:21 +02:00

17 lines
557 B
Plaintext
Raw Normal View History

 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Video = "https://openintegrations.dev/test_data/video.mp4";
2024-08-13 14:35:37 +03:00
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);