Giter Club home page Giter Club logo

telegram's Introduction

Telegram

Powershell tools for Telegram Messenger

Sponsor the project

If any of the scripts that I have created helped you, please consider donating to support the work. Don't hesitate to request any features or ask for an advice on implementing the tools that I provide. Any amount helps my projects a lot! Thank you very much!

paypal

Send-TLGMessage How-to-use

This script lets you send a message using Telegram - fast, cool and secure messenger. You can use it to send a message when a script is finished, when your SCCM OSD Task Sequence ended or encountered an error, when there's a new application version found (i.e. by you other site-crawling script) - pretty much any notification can be done using this tool. How to use it:

  1. Install Telegram and register an account.
  2. Get yourself a Telegram bot using @BotFather inside Telegram
  3. Get your Bot API token from @BotFather
  4. Create a goup or channel or use existing chats to get your messages.
  5. Get you chat, group or channel ID using this guide
  6. Use Send-TLGMessage script with the parameters that you've got above: Install-Script -Name "Send-TLGMessage" -Force

Script parameters

Text

Enter text to send. This Value can be piped from another command, like:

(gwmi win32_computersystemproduct).IdentifyingNumber | Send-TLGMessage -RecieverID ID -BotToken TOKEN

RecieverID

Enter a Telgram chat, group or channel ID. Use this guide to find the ID

BotToken

Get you bot token from @BotFather, follow their guide

DisableNotification

If you add that parameter to a script, the message will be sent without sound notification (silently).

UseProxy

If you add that parameter to a script, yuo can specify Telegram HTTP proxy settings, if Telegram servers are not directly accessable in your country

ProxyAddress

Enter proxy address ie https://tlg.proxy.com or 22.344.556.123

ProxyPort

Enter proxy port i.e. 1234

ProxyUserName

Enter user name for proxy server authentication

ProxyPassword

Enter password for proxy server authentication

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.