V
V
Vladislav Ignatiev2017-10-28 18:45:58
Bots
Vladislav Ignatiev, 2017-10-28 18:45:58

Telegram Bot, is there a step-by-step creation in PHP or Node JS?

Good evening everyone, I’ve been spending 2 days on YouTube having spent more than 8 hours on videos both in Russian and in English, on creating bots in Php or NodeJS, please tell me at least something suitable, I used to make bots on manybot, but now it’s worth the task of delivering pizza and manybot with its strange impossibility of renaming the existing menu spoils
everything
.... such steps:
1) How to hang a bot on a host
2) Implementation of feedback (forms) to certain users (admins)
3) Buttons
4) Well, so that when buttons are pressed, pictures are sent to at least the user of the bot

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
k2lhu, 2017-10-28
@vladislavignatyev

If you watched the video, you should have understood that there are two ways to work with it:
1) - Collect all the data manually
2) - Bind the webhook to your domain
In this way, according to your points - first you need to google how to make a webhook on your page, everything is in the description for the telegram api.
For the second point - you need to complete the first point and collect users working with the bot in the database, and then select administrators, or do something like /setAdmin for them and give administrators a one-time key to activate administrator rights.
How to make a button - here is a good article
Sending pictures and any content - everything is in the api description.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question