D
D
duduychvbk992021-08-30 01:50:12
Bots
duduychvbk99, 2021-08-30 01:50:12

How to implement this through telebot?

For example, bot 1 write some kind of command. Bot 1 writes this command to bot 2, copies the response and gives it to the user who used bot 1.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
b0t-father, 2021-08-30
@b0t-father

Bots cannot write to each other.
But you can use telegram-cli and manage user account.

V
Vladislav Orlov, 2021-08-30
@haveacess

Looks like some kind of chaos. If you need one bot to use information from another bot, it would probably be better to put the information in the repository (db or something else and then read from it).
those. will look something like this -
The user sent a message to bot 1
Bot 1 put something in the table with the user ID, for example
Bot 2 received new records in the table, found new ones - sent the necessary information
This is in a nutshell, I think you get the point

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question