Answer the question
In order to leave comments, you need to log in
But how to connect 1c and Telegram bot in general?
1c json supports from platform 3.6 .... some kind of it)
There are examples, I haven’t analyzed them yet, but I don’t understand anything) I wrote in php there everything is clear on the hosting there is a script and you take it through api.
How about after 1s? I don't get it... how do I get connected?
Answer the question
In order to leave comments, you need to log in
It's the same here, only requests have to be sent directly to a specific API.
Here are links to the documentation I used:
https://core.telegram.org/bots#keyboards
https://core.telegram.org/bots/api
https://tlgrm.ru/docs/bots#botfather
https:/ /tlgrm.ru/docs/bots/api#update
https://groosha.gitbooks.io/telegram-bot-lessons/c ...
https://kostyakulakov.ru/telegram-bot-setwebhook/
At a cost of one working day, and it was developed for more than a month and a half.
You need to receive new messages not through a Webhook (in this case, you need to publish 1C on a web server), but through the getUpdates method.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question