Skip to content

Commit 9bccb88

Browse files
committed
Final updates for version v3.1.6
1 parent 5d5a0c0 commit 9bccb88

7 files changed

Lines changed: 180 additions & 180 deletions

File tree

EulandaConnect-help.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24015,23 +24015,23 @@ Send-Email @global:mailParams
2401524015
</command:command>
2401624016
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
2401724017
<command:details>
24018-
<command:name>Send-TelegramLocation</command:name>
24018+
<command:name>Send-TelegramMap</command:name>
2401924019
<command:verb>Send</command:verb>
24020-
<command:noun>TelegramLocation</command:noun>
24020+
<command:noun>TelegramMap</command:noun>
2402124021
<maml:description>
2402224022
<maml:para>Sends a location via a Telegram message, visualized on a map based on given latitude and longitude or IP address.</maml:para>
2402324023
</maml:description>
2402424024
</command:details>
2402524025
<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>
2402724027
<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>
2402824028
<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>
2402924029
<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>
2403024030
<maml:para>Upon successful execution, the function outputs an object that includes the sent message's details.</maml:para>
2403124031
</maml:description>
2403224032
<command:syntax>
2403324033
<command:syntaxItem>
24034-
<maml:name>Send-TelegramLocation</maml:name>
24034+
<maml:name>Send-TelegramMap</maml:name>
2403524035
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="0" aliases="none">
2403624036
<maml:name>token</maml:name>
2403724037
<maml:description>
@@ -24287,8 +24287,8 @@ Send-Email @global:mailParams
2428724287
</maml:alertSet>
2428824288
<command:examples>
2428924289
<command:example>
24290-
<maml:title>Example 1: Send the location of the ip address via Telegram map</maml:title>
24291-
<dev:code>PS C:\&gt; Send-TelegramLocation --token 'your_token' -chatId 'your_chatId' -ip '5.1.80.40'</dev:code>
24290+
<maml:title>Example 1: Send the location of the ip address via SendLocation</maml:title>
24291+
<dev:code>PS C:\&gt; Send-TelegramMap --token 'your_token' -chatId 'your_chatId' -ip '5.1.80.40'</dev:code>
2429224292
<dev:remarks>
2429324293
<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>
2429424294
</dev:remarks>
@@ -24297,7 +24297,7 @@ Send-Email @global:mailParams
2429724297
<command:relatedLinks>
2429824298
<maml:navigationLink>
2429924299
<maml:linkText>Online Version:</maml:linkText>
24300-
<maml:uri>https://github.com/Eulanda/EulandaConnect/blob/master/docs/Send-TelegramLocation.md</maml:uri>
24300+
<maml:uri>https://github.com/Eulanda/EulandaConnect/blob/master/docs/Send-TelegramMap.md</maml:uri>
2430124301
</maml:navigationLink>
2430224302
<maml:navigationLink>
2430324303
<maml:linkText>Send-TelegramMessage</maml:linkText>
@@ -24588,7 +24588,7 @@ Send-Email @global:mailParams
2458824588
<maml:uri></maml:uri>
2458924589
</maml:navigationLink>
2459024590
<maml:navigationLink>
24591-
<maml:linkText>Send-TelegramLocation</maml:linkText>
24591+
<maml:linkText>Send-TelegramMap</maml:linkText>
2459224592
<maml:uri></maml:uri>
2459324593
</maml:navigationLink>
2459424594
</command:relatedLinks>
@@ -24912,7 +24912,7 @@ Send-Email @global:mailParams
2491224912
<maml:uri></maml:uri>
2491324913
</maml:navigationLink>
2491424914
<maml:navigationLink>
24915-
<maml:linkText>Send-TelegramLocation</maml:linkText>
24915+
<maml:linkText>Send-TelegramMap</maml:linkText>
2491624916
<maml:uri></maml:uri>
2491724917
</maml:navigationLink>
2491824918
</command:relatedLinks>

EulandaConnect.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ FunctionsToExport = @(
207207
'Select-OutdatedFilenames',
208208
'Send-Mail',
209209
'Send-RemoteFile',
210-
'Send-TelegramLocation',
210+
'Send-TelegramMap',
211211
'Send-TelegramMessage',
212212
'Send-TelegramPhoto',
213213
'Set-DeliveryQty',
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Upon successful execution, the function outputs an object that includes the sent
3131

3232
## EXAMPLES
3333

34-
### Example 1: Send the location of the ip address via Telegram map
34+
### Example 1: Send the location of the ip address via SendLocation
3535
```powershell
3636
PS C:\> Send-TelegramMap --token 'your_token' -chatId 'your_chatId' -ip '5.1.80.40'
3737
```
@@ -209,4 +209,4 @@ Important: Treat your bot token as a password and do not share it with others. T
209209

210210
[Send-TelegramMessage](./Send-TelegramMessage.md)
211211

212-
[Send-TelegramPhoto](./Send-TelegramPhoto.md)
212+
[Send-TelegramPhoto](./Send-TelegramPhoto.md)

final/EulandaConnect/EulandaConnect-help.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24015,23 +24015,23 @@ Send-Email @global:mailParams
2401524015
</command:command>
2401624016
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
2401724017
<command:details>
24018-
<command:name>Send-TelegramLocation</command:name>
24018+
<command:name>Send-TelegramMap</command:name>
2401924019
<command:verb>Send</command:verb>
24020-
<command:noun>TelegramLocation</command:noun>
24020+
<command:noun>TelegramMap</command:noun>
2402124021
<maml:description>
2402224022
<maml:para>Sends a location via a Telegram message, visualized on a map based on given latitude and longitude or IP address.</maml:para>
2402324023
</maml:description>
2402424024
</command:details>
2402524025
<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>
2402724027
<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>
2402824028
<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>
2402924029
<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>
2403024030
<maml:para>Upon successful execution, the function outputs an object that includes the sent message's details.</maml:para>
2403124031
</maml:description>
2403224032
<command:syntax>
2403324033
<command:syntaxItem>
24034-
<maml:name>Send-TelegramLocation</maml:name>
24034+
<maml:name>Send-TelegramMap</maml:name>
2403524035
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="0" aliases="none">
2403624036
<maml:name>token</maml:name>
2403724037
<maml:description>
@@ -24287,8 +24287,8 @@ Send-Email @global:mailParams
2428724287
</maml:alertSet>
2428824288
<command:examples>
2428924289
<command:example>
24290-
<maml:title>Example 1: Send the location of the ip address via Telegram map</maml:title>
24291-
<dev:code>PS C:\&gt; Send-TelegramLocation --token 'your_token' -chatId 'your_chatId' -ip '5.1.80.40'</dev:code>
24290+
<maml:title>Example 1: Send the location of the ip address via SendLocation</maml:title>
24291+
<dev:code>PS C:\&gt; Send-TelegramMap --token 'your_token' -chatId 'your_chatId' -ip '5.1.80.40'</dev:code>
2429224292
<dev:remarks>
2429324293
<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>
2429424294
</dev:remarks>
@@ -24297,7 +24297,7 @@ Send-Email @global:mailParams
2429724297
<command:relatedLinks>
2429824298
<maml:navigationLink>
2429924299
<maml:linkText>Online Version:</maml:linkText>
24300-
<maml:uri>https://github.com/Eulanda/EulandaConnect/blob/master/docs/Send-TelegramLocation.md</maml:uri>
24300+
<maml:uri>https://github.com/Eulanda/EulandaConnect/blob/master/docs/Send-TelegramMap.md</maml:uri>
2430124301
</maml:navigationLink>
2430224302
<maml:navigationLink>
2430324303
<maml:linkText>Send-TelegramMessage</maml:linkText>
@@ -24588,7 +24588,7 @@ Send-Email @global:mailParams
2458824588
<maml:uri></maml:uri>
2458924589
</maml:navigationLink>
2459024590
<maml:navigationLink>
24591-
<maml:linkText>Send-TelegramLocation</maml:linkText>
24591+
<maml:linkText>Send-TelegramMap</maml:linkText>
2459224592
<maml:uri></maml:uri>
2459324593
</maml:navigationLink>
2459424594
</command:relatedLinks>
@@ -24912,7 +24912,7 @@ Send-Email @global:mailParams
2491224912
<maml:uri></maml:uri>
2491324913
</maml:navigationLink>
2491424914
<maml:navigationLink>
24915-
<maml:linkText>Send-TelegramLocation</maml:linkText>
24915+
<maml:linkText>Send-TelegramMap</maml:linkText>
2491624916
<maml:uri></maml:uri>
2491724917
</maml:navigationLink>
2491824918
</command:relatedLinks>

0 commit comments

Comments
 (0)