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 […]
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 […]
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.
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 […]
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.
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.
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 […]