ShellHacks
Command-Line Tips and Tricks

telegram

  • Blog

Python: Send Message to Telegram

Posted on September 1, 2022by admin

To send a message to a Telegram channel using Python, first of all it is required to create a Telegram bot. While creating the Telegram bot you will get an apiToken and a chatID that will be used in a Python script to access the Telegram API and send the message. In this note you […]

Read More
4 Comments
  • Blog

WordPress: Auto-Post to Telegram Channel (No Plugin)

Posted on January 27, 2022January 26, 2022by admin

You can easily increase visitor traffic to your WordPress website by integrating it with a Telegram channel. However, manually sharing every blog post to the Telegram channel can become a time-consuming task – especially if you publish an article every day. In this note i will show how to create a callback function that will […]

Read More
3 Comments
  • Blog

Telegram: Rename Bot

Posted on January 17, 2022January 25, 2022by admin

To change the name of a Telegram bot, start a chat with the @BotFather and send the /setname command. You will be prompted to select the Telegram bot which you want to rename and once selected you will be asked to type the new name of your bot.

Read More
No comments yet
  • Blog

WordPress: Comment Hook – Trigger Action Example

Posted on January 16, 2022January 24, 2022by admin

Actions are the hooks that the WordPress core launches at specific points during execution, or when specific events occur. To trigger the action firstly you need to write a custom function known as a callback, and then register it with a WordPress hook using the add_action function in your child theme’s functions.php file. This note […]

Read More
No comments yet
  • Blog

Telegram: Send Message using PHP

Posted on January 15, 2022September 1, 2022by admin

To send a message to a Telegram channel using PHP, you need to know a Telegram API token and a chat ID, that you will get when you create a Telegram bot. This note shows the PHP code examples for sending messages, images and other data types to the Telegram channel through API.

Read More
2 Comments
  • Blog

Install Telegram on Ubuntu

Posted on October 22, 2021December 23, 2021by admin

Telegram is a popular cross-platform, cloud-based instant messaging system with a focus on security and speed. The telegram-desktop is a native Telegram app for Linux that can be installed on Ubuntu and Linux Mint from the official repositories.

Read More
No comments yet
  • Blog

Telegram API: Send Message – Personal Notification Bot

Posted on July 20, 2017January 14, 2022by admin

How about to get a push notification when some long-running job in Linux is completed? Or how about to have a script in crontab that collects some data and periodically sends the reports to your mobile device? This tutorial describes how to create a personal notification bot, that can send messages from the Linux command-line […]

Read More
24 Comments

Online Tools

  • Base64 Decode
  • Base64 Encode

Tags

access-control anonymity ansible apache archive arduino artifactory bash boot cmd command-line curl dns docker encryption git gitlab helm java jenkins kubernetes linux macos mail mongodb mysql network openssl pdf php powershell prometheus python raspberry pi ssh sublime text systemd telegram telnet text-processing tor tsm windows wordpress yum
  • Telegram
  • Twitter
  • RSS
Privacy
Copyright © 2011-2022 | www.ShellHacks.com