1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00

17 lines
594 B
Plaintext
Raw Normal View History

2024-09-21 10:57:02 +03:00
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
2024-09-29 12:34:39 +03:00
GIF = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/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);