Delite Studio
Five-star iPhone, iPad, Android, and OS X apps
  • Home
  • WordPress
    • Push Notifications for WordPress
      • Documentation
      • FAQs
      • Library for iOS
      • Library for Android
  • Apps
    • Picture Transfer
    • Local Cloud
      • For iOS
      • For Android
    • File Storage
    • File Transfer
      • For iOS
      • For Mac
      • For Android
      • For Windows
    • File Extractor
    • Localizable Strings Merge
    • Delite Blocks
  • About
  • Contact
  • Account
    • Cart
  • English
    • Italiano
Select Page ...

Configuring Telegram Bot

Creating a new bot

BotFather is the one bot to rule them all. It will help you create new bots and change settings for existing ones.

Use the /newbot command to create a new bot. The BotFather will ask you for a name and username, then generate an authorization token for your new bot.

The name of your bot is displayed in contact details and elsewhere.

The Username is a short name, to be used in mentions and t.me links. Usernames are 5-32 characters long and are case insensitive, but may only include Latin characters, numbers, and underscores. Your bot's username must end in 'bot', e.g. 'tetris_bot' or 'TetrisBot'.

The token is a string along the lines of 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw that is required to authorize the bot and send requests to the Bot API. Keep your token secure and store it safely, it can be used by anyone to control your bot.

Configure Push Notifications for WordPress

  1. Go to Push Notifications → Settings → Telegram tab.
  2. Enter the API Token you have created for this site
  3. Click Save Settings.

Register the Webhook

Call the following url from your browser https://api.telegram.org/bot[token]/setWebhook?url=https://[yoursite.com]/pnfw/[token], where [yoursite.com] is your WordPress installation site url and [token] is the API Token you have created with BotFather.

If everything is ok the answer will contain an "ok": true entry, else it will contain "ok": false.

Take a look at official documentation for more information.

  • Push Notifications for WordPress

    • Documentation
    • FAQs
    • What are the differences between Push Notifications for WordPress and Push Notifications for WordPress (LITE)?
    • Features
    • Changelog
    • Configuring iOS Push Notifications
    • Configuring Android Push Notifications
    • Configuring Safari Push Notifications
    • Configuring Web Push Notifications
    • Configuring Telegram Bot
    • Push Notifications library for iOS
    • Push Notifications library for Android
    • Local Cloud for iOS

      Local Cloud for iOS
      iPad / iPhone / Mac / Windows
      Picture Transfer for iOS

      Picture Transfer for iOS
      iPad / iPhone / Mac / Windows
      File Transfer for Mac

      File Transfer for Mac
      Mac
    Delite Studio S.r.l. © 2011 - 2019. All Rights Reserved. — P. IVA e Cod. Fisc. IT03402240042 — Privacy Policy
    We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkMore info