1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-02-03 13:22:19 +02:00
Vitaly the Alpaca (bot) 09df09b395 Main build (Jenkins)
2024-10-14 22:25:39 +03:00

17 lines
556 B
Plaintext

Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
GIF = "https://api.athenaeum.digital/test_data/animation.gif";
GifPath = GetTempFileName("gif");
CopyFile(GIF, GifPath);
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, GifDD);