telegram.sh | Send telegram messages right from your command line | Bot library

 by   fabianonline Shell Version: v0.5 License: GPL-3.0

kandi X-RAY | telegram.sh Summary

kandi X-RAY | telegram.sh Summary

telegram.sh is a Shell library typically used in Automation, Bot applications. telegram.sh has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

Send telegram messages right from your command line.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              telegram.sh has a low active ecosystem.
              It has 432 star(s) with 129 fork(s). There are 22 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 7 open issues and 16 have been closed. On average issues are closed in 104 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of telegram.sh is v0.5

            kandi-Quality Quality

              telegram.sh has 0 bugs and 0 code smells.

            kandi-Security Security

              telegram.sh has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              telegram.sh code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              telegram.sh is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              telegram.sh releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of telegram.sh
            Get all kandi verified functions for this library.

            telegram.sh Key Features

            No Key Features are available at this moment for telegram.sh.

            telegram.sh Examples and Code Snippets

            No Code Snippets are available at this moment for telegram.sh.

            Community Discussions

            Trending Discussions on telegram.sh

            QUESTION

            Create a service using systemctl on CentOS 7
            Asked 2018-Nov-13 at 19:16

            I'm trying to create a service using systemctl on my CentOS 7 server.

            In /usr/lib/systemd/system I've this situation ...

            ...

            ANSWER

            Answered 2018-Nov-13 at 15:51

            First, custom services should not be put in /usr/lib/systemd/system, but in /etc/systemd/system. Same goes with shell scripts, just put them into /usr/local/sbin or something.

            The reason why this does not work is that the script path in your service file getUpdatesTelegram.service is wrong:

            Source https://stackoverflow.com/questions/52977693

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install telegram.sh

            Carrying the token and the chat id around can be quite cumbersome. You can define them in 4 different ways:. Later variants overwrite earlier variants, so you could define token and chat in /etc/telegram.sh.conf and then overwrite the token with your own in ~/.telegram.sh or on the command line.
            Grab the latest telegram file from this repository and put it somewhere.
            Create a bot at telegram: Search for the user @botfather at telegram and start a chat with him. Use the /newbot command to create a new bot. BotFather will give you a token. Keep this.
            Use your telegram client to send a message to your new bot. Any message will do.
            Find your chat id. Run telegram.sh with -l: telegram -t <TOKEN> -l. If you have jq installed, it will nicely list its known chats. The number at the front is your chat id. If you don't have jq installed, it will print a bit of JSON data and tell you what to look for.
            You now have your token and your chat id. Send yourself a first message: telegram -t <TOKEN> -c <CHAT ID> "Hello there."
            In a file /etc/telegram.sh.conf.
            In a file ~/.telegram.sh.
            In environment variables TELEGRAM_TOKEN and TELEGRAM_CHAT.
            As seen above as parameters.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/fabianonline/telegram.sh.git

          • CLI

            gh repo clone fabianonline/telegram.sh

          • sshUrl

            git@github.com:fabianonline/telegram.sh.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link