⚡Voxel Black Friday Sale is now Live

Send a Message in Telegram in App Events

Telegram is an amazing platform to get notifications quickly. In order to do so, follow these instructions:

  • Navigate to the backend of your site and go to Voxel > App Events.
  • Click on the notification you want to have sent via Twilio.
  • Open the accordion and click on “Advanced”.
  • Copy all of that information and paste it into the functions.php file of your Voxel Child Theme. If you do not have a child theme setup, visit this article to learn how.
  • Where it says “// your custom code…” paste the following code and get rid of the “// your custom code…”

How to get a bot token:

  • Go to the @BotFather bot
  • Send the command /token
  • Select the bot you need a token for
  • Connect the bot with IM
  • Copy the token
  • Create a channel on the Telegram IM Module

Be sure to change the TOKENs in the code to your own and the message content as needed.