1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-16 05:06:02 +02:00
OpenIntegrations/docs/en/examples/Telegram/SendLocation.txt
2024-08-13 14:35:37 +03:00

12 lines
481 B
Plaintext

Token = FunctionParameters["Telegram_Token"];
ChatID = FunctionParameters["Telegram_ChatID"];
ChannelID = FunctionParameters["Telegram_ChannelID"];
Width = FunctionParameters["Lat"];
Longitude = FunctionParameters["Long"];
Result = OPI_Telegram.SendLocation(Token, ChatID, Width, Longitude);
OPI_TestDataRetrieval.WriteLog(Result, "SendLocation", "Telegram");
Result = OPI_Telegram.SendLocation(Token, ChannelID, Width, Longitude);