PoshGram

1.14.0

PoshGram provides functionality to send various message types to a specified Telegram chat via the Telegram Bot API. Seperate PowerShell functions are used for each message type. Checks are included to ensure that file extensions, and file size restrictions are adhered to based on Telegram requirements.

Minimum PowerShell version

6.1.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PoshGram -RequiredVersion 1.14.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PoshGram -Version 1.14.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2019 Jake Morrison. All rights reserved.

Package Details

Author(s)

  • Jake Morrison

Tags

Animations Audio Automation bot Contact Contacts Coordinates Dice Documents Gif Gifs Location Media Message Messaging Messenger Notification Notifications Notify Photo Photos Pictures Poll powershell powershell-module Send SM Sticker Stickers Sticker-Pack telegram telegram-bot-api telegramx Telegram-Sticker Telegram-Bot Texting Venue Video Videos

Functions

Get-TelegramStickerPackInfo Send-TelegramContact Send-TelegramDice Send-TelegramLocalAnimation Send-TelegramLocalAudio Send-TelegramLocalDocument Send-TelegramLocalPhoto Send-TelegramLocalSticker Send-TelegramLocalVideo Send-TelegramLocation Send-TelegramMediaGroup Send-TelegramPoll Send-TelegramSticker Send-TelegramTextMessage Send-TelegramURLAnimation Send-TelegramURLAudio Send-TelegramURLDocument Send-TelegramURLPhoto Send-TelegramURLSticker Send-TelegramURLVideo Send-TelegramVenue Test-BotToken

Dependencies

This module has no dependencies.

Release Notes


1.14.0:
   Added Send-TelegramDice
   Updated Send-TelegramPoll to include newly supported parameters
   Updated help for all cmdlets to include splat examples
1.12.0:
   Added support for MarkdownV2
   Changed default Parse Mode for all functions from legacy Markdown to HTML
   Added support for Polls v2.0 features
1.10.1:
   Fixed bug where DisableNotification had no effect when running Send-TelegramSticker
1.10.0:
   Improved Help Formatting
   Added Send-TelegramURLSticker
   Added Send-TelegramLocalSticker
   Added Send-TelegramSticker
   Added Get-TelegramStickerPackInfo
   Added Send-TelegramPoll
   Added Send-TelegramVenue
   Added Send-TelegramContact
   DisableNotification and Streaming parameters changed from bool to switch on all functions
   Send-TelegramTextMessage: Preview parameter renamed to DisablePreview and changed from bool to switch
   Unit test and Infra test improvements
1.0.2 :
   Addressed bug where certain UTF-8 characters would fail to send properly in Send-TelegramTextMessage
   Cosmetic code change for Invoke functions to use splat parameters
1.0.0 :
   Addressed bug in Send-TelegramTextMessage that wasnt handling underscores
   Added code to support AWS Codebuild
0.9.0 :
   Restructured module for CI/CD Workflow
   Added Invoke-Build capabilities to module
   Added Animation functionality:
       Send-TelegramLocalAnimation
       Send-TelegramURLAnimation
   Added location functionality:
       Send-TelegramLocation
   Added multi-media functionality:
       Send-TelegramMediaGroup
   Consolidated private support functions
   Code Logic improvements
0.8.4 Added IconURI to manifest
0.8.3 Initial beta release.

FileList

Version History

Version Downloads Last updated
3.0.1 29,658 1/15/2024
3.0.0 179 1/14/2024
2.3.0 207,878 11/27/2022
2.2.2 3,206 6/3/2022
2.2.0 448 4/5/2022
2.0.0 4,762 10/18/2021
1.16.0 4,407 4/9/2021
1.15.0 5,548 11/15/2020
1.14.0 (current version) 13,486 8/28/2020
1.12.0 42,228 1/25/2020
1.10.1 5,794 12/18/2019
1.10.0 192 10/19/2019
1.0.2 616 3/19/2019
1.0.0 134 1/7/2019
0.8.4 216 7/9/2018
0.8.3 23 7/3/2018
0.8.1 17 7/2/2018
Show less