How to send messages from your Wizard to Telegram GroupBot

  • 4 August 2021
  • 0 replies
  • 4 views

In case you need to send messages from your Wizard directly to Telegram Group/Bot, Here is a short guide that explains how to do it.

 

To make things easier, I will suggest installing a desktop version of Telegram.

 

  • In the Search panel type BotFather

25628iB1BD7C9CA6647AA9.jpgVery important to choose the Bot with the checkmark.

 

 

  • Open a chat with @BotFather in Telegram and click the /start command.

25629i6234A91E883EDA5F.jpg 

After you get a list of commands Select the command /newbot to get this Message:

Please choose a name for your bot.

 

 

Enter a name for your bot, which can be anything, and send it.

After that BotFather will ask for a username for your bot:

Good.

Now let's choose a username for your bot. It must end in "bot"

For example: KryonBot or Kryon_bot.

 

If your desired username is taken or not available, try again with another name.

25630i9503A4002D5C196E.jpg 

  • Send a dummy message to the bot.

You can use this example: /my_id @my_bot

 

replace XXX:YYYY with your bot token

 

  • Look for "chat":{"id":-zzzzzzzzzz,

-zzzzzzzzzz is your chat id (with the negative sign).

 

25631i3CC08A398B543058.jpg 

  • Testing: You can test sending a message to the group with a curl:

curl -X POST https://api.telegram.org/botXXX:YYYY/sendMessage -d "chat_id=-zzzzzzzzzz&text

 

or you can use the wizard I created to send a message

25632iF8B36516E4EA273B.jpg 


0 replies

Be the first to reply!

Reply