You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<maml:para>Sends a location via a Telegram message, visualized on a map based on given latitude and longitude or IP address.</maml:para>
24023
24023
</maml:description>
24024
24024
</command:details>
24025
24025
<maml:description>
24026
-
<maml:para>The `Send-TelegramLocation` function sends a Telegram message presenting a location on a map. The location is specified by a pair of latitude and longitude coordinates or an IP address. When the IP address is used, the function `Get-IpGeoInfo` determines the location data via a REST API.</maml:para>
24026
+
<maml:para>The `Send-TelegramMap` function sends a Telegram message presenting a location on a map. The location is specified by a pair of latitude and longitude coordinates or an IP address. When the IP address is used, the function `Get-IpGeoInfo` determines the location data via a REST API.</maml:para>
24027
24027
<maml:para>A valid Telegram API token and a chat ID are required to send the map. The token authenticates the sender as a valid Telegram bot, and the chat ID specifies the recipient, which can be a private chat, a group, or a channel.</maml:para>
24028
24028
<maml:para>For more secure transmission, there are options to send the token as an encrypted string or a secure string. There is also an option to refer to a file path containing the secure string version of the token. To disable automatic content type detection, use the `-disableNotification` switch.</maml:para>
24029
24029
<maml:para>If neither latitude and longitude nor IP address are provided, the function attempts to retrieve the current public IP address using the `Get-PublicIp` function.</maml:para>
24030
24030
<maml:para>Upon successful execution, the function outputs an object that includes the sent message's details.</maml:para>
<maml:para>The function sends a Telegram message in the form of a map. The longitude and latitude of the flag that marks the location in the map is determined from the IP number in this case. Via the function Get-IpGeoInfo, this data is determined via a REST api. A valid Telegram Api token is required, as well as a chat ID to which the map should be sent. At the end of the document there is a simple instruction how to get such a personal token from Telegram.</maml:para>
<maml:para>Sends a location via a Telegram message, visualized on a map based on given latitude and longitude or IP address.</maml:para>
24023
24023
</maml:description>
24024
24024
</command:details>
24025
24025
<maml:description>
24026
-
<maml:para>The `Send-TelegramLocation` function sends a Telegram message presenting a location on a map. The location is specified by a pair of latitude and longitude coordinates or an IP address. When the IP address is used, the function `Get-IpGeoInfo` determines the location data via a REST API.</maml:para>
24026
+
<maml:para>The `Send-TelegramMap` function sends a Telegram message presenting a location on a map. The location is specified by a pair of latitude and longitude coordinates or an IP address. When the IP address is used, the function `Get-IpGeoInfo` determines the location data via a REST API.</maml:para>
24027
24027
<maml:para>A valid Telegram API token and a chat ID are required to send the map. The token authenticates the sender as a valid Telegram bot, and the chat ID specifies the recipient, which can be a private chat, a group, or a channel.</maml:para>
24028
24028
<maml:para>For more secure transmission, there are options to send the token as an encrypted string or a secure string. There is also an option to refer to a file path containing the secure string version of the token. To disable automatic content type detection, use the `-disableNotification` switch.</maml:para>
24029
24029
<maml:para>If neither latitude and longitude nor IP address are provided, the function attempts to retrieve the current public IP address using the `Get-PublicIp` function.</maml:para>
24030
24030
<maml:para>Upon successful execution, the function outputs an object that includes the sent message's details.</maml:para>
<maml:para>The function sends a Telegram message in the form of a map. The longitude and latitude of the flag that marks the location in the map is determined from the IP number in this case. Via the function Get-IpGeoInfo, this data is determined via a REST api. A valid Telegram Api token is required, as well as a chat ID to which the map should be sent. At the end of the document there is a simple instruction how to get such a personal token from Telegram.</maml:para>
0 commit comments