v1.6-v1.7 How to create Telegram Bot for PrestaShop

Beck

Member
XNullUser
Joined
Sep 9, 2021
Messages
62
Reaction score
10
Points
8
NullCash
51
Create a New Bot for Telegram

Enter @Botfather in the search tab and choose this bot.

How to create telegram bot for prestashop - pic 1


Note, official Telegram bots have a blue checkmark beside their name



Click "Start" to activate BotFather bot. (or type /start)

How to create telegram bot for prestashop - pic 2


In response, you receive a list of commands to manage bots.




Configure

Choose or type the /newbot command and send it.

How to create telegram bot for prestashop - pic 3


Choose a name for your bot — your subscribers will see it in the conversation. And choose a username for your bot — the bot can be found by its username in searches. The username must be unique and end with the word "bot".

How to setup telegram bot for prestashop - pic 1


After you choose a suitable name for your bot — the bot is created. You will receive a message with a link to your bot t.me/<bot_username>, recommendations to set up a profile picture, description, and a list of commands to manage your new bot.

To connect a bot to SendPulse you need a token.

!!! Copy your token value






How to Find a Token for an Existing Bot

- Go to the @BotFather bot and send the command /token

- You will see buttons with any bots that you have created. Choose the one you need a token for.

- Copy the token value.






How to connect Bot to your PrestaShop



- You need to install the Telegram Notification module for PrestaShop (Free or Pro version)



- get chat_id of Bot you have created above:



Start a conversation with your Bot (go to URL t.me/yourBotNamebot and press Start button) or add him to the group.

Get the list of updates for your BOT:


Example: https://api.telegram.org/bot123456789:jbd78sbdvbdy63d37gda37bd8/getUpdates

You will get JSON response

{"ok":true,"result":{"message_id":1,"from":{"id":454545453,"is_bot":true,"first_name":"my678test7","username":"my678test7bot"},"chat":{"id":123456789,"first_name",................}

Look for the "chat" object:

...."chat":{"id":123456789"....

In this example, chat_id is 123456789






Module

Now you have all for using TELEGRAM ORDERS ALERTS module for PrestaShop

Just fill bot_id and chat_id in the setting page of the module and configure notification fields.

How to setup telegram bot for prestashop - pic 2


Good luck!


How to setup telegram bot for prestashop - pic 3
 

mauriziodagui

Active member
XNullUser
Joined
Aug 25, 2021
Messages
110
Reaction score
53
Points
28
NullCash
64
Thank you.
Does anyone know if there is a way to export the catalog from prestashop to telegram?
 

panoramis

Active member
Elite
Joined
Mar 21, 2020
Messages
592
Reaction score
133
Points
43
NullCash
7
Create a New Bot for Telegram

Enter @Botfather in the search tab and choose this bot.

How to create telegram bot for prestashop - pic 1


Note, official Telegram bots have a blue checkmark beside their name



Click "Start" to activate BotFather bot. (or type /start)

How to create telegram bot for prestashop - pic 2


In response, you receive a list of commands to manage bots.




Configure

Choose or type the /newbot command and send it.

How to create telegram bot for prestashop - pic 3


Choose a name for your bot — your subscribers will see it in the conversation. And choose a username for your bot — the bot can be found by its username in searches. The username must be unique and end with the word "bot".

How to setup telegram bot for prestashop - pic 1


After you choose a suitable name for your bot — the bot is created. You will receive a message with a link to your bot t.me/<bot_username>, recommendations to set up a profile picture, description, and a list of commands to manage your new bot.

To connect a bot to SendPulse you need a token.

!!! Copy your token value






How to Find a Token for an Existing Bot

- Go to the @BotFather bot and send the command /token

- You will see buttons with any bots that you have created. Choose the one you need a token for.

- Copy the token value.






How to connect Bot to your PrestaShop



- You need to install the Telegram Notification module for PrestaShop (Free or Pro version)



- get chat_id of Bot you have created above:



Start a conversation with your Bot (go to URL t.me/yourBotNamebot and press Start button) or add him to the group.

Get the list of updates for your BOT:


Example: https://api.telegram.org/bot123456789:jbd78sbdvbdy63d37gda37bd8/getUpdates

You will get JSON response

{"ok":true,"result":{"message_id":1,"from":{"id":454545453,"is_bot":true,"first_name":"my678test7","username":"my678test7bot"},"chat":{"id":123456789,"first_name",................}

Look for the "chat" object:

...."chat":{"id":123456789"....

In this example, chat_id is 123456789






Module

Now you have all for using TELEGRAM ORDERS ALERTS module for PrestaShop

Just fill bot_id and chat_id in the setting page of the module and configure notification fields.

How to setup telegram bot for prestashop - pic 2


Good luck!


How to setup telegram bot for prestashop - pic 3
Thanks for sharing
 

Sillumin

Well-known member
Pro
Master
Diamond
Elite
Joined
Jun 18, 2021
Messages
3,620
Reaction score
745
Points
113
NullCash
5,967
Thank you!
 

magoblanco

Member
XNullUser
Joined
Sep 16, 2021
Messages
168
Reaction score
7
Points
18
NullCash
0
mm interesting, you have to try it thank you very much.
 

unknownwho

Member
XNullUser
Joined
Jun 28, 2022
Messages
191
Reaction score
0
Points
16
NullCash
1
Thank you.
Does anyone know if there is a way to export the catalog from prestashop to telegram?
hi. you can try Auto-Post Products to 7 Selected Social Networks by ELEGANTAL or another modules
Post automatically merged:

big thank for this manual
 

igorlend

Member
XNullUser
Joined
Dec 30, 2020
Messages
391
Reaction score
2
Points
18
NullCash
40
БОльшое спасибо за плагин, сей час буду тестировать
 

webto

Well-known member
Diamond
Elite
Joined
Oct 14, 2018
Messages
432
Reaction score
315
Points
63
NullCash
32
Thanks for the useful information
 

_sashok

Member
XNullUser
Joined
Dec 10, 2021
Messages
379
Reaction score
13
Points
18
NullCash
295
Мерси красавчик! C'est un module très utile!
 

igoo900

Member
XNullUser
Joined
Apr 7, 2022
Messages
113
Reaction score
0
Points
16
NullCash
10
Модуль кажется очень интересным! Я начну тестировать его немедленно.
 
Top