Answer the question
In order to leave comments, you need to log in
How to implement tet-a-tet chat between users in a telegram bot?
Good afternoon!
I want to create a small social network using a telegram bot. Interested in the following:
How can I create a chat between users so that the third party to the chat is a bot?
- That is: the user receives a list of suitable people (other registered users), can start communication INSIDE the bot. Roughly speaking, I want to get chat.id, the same for 2 users and a bot. So that both users subscribed to this chat.id can see each other's messages and bot messages.
Is it even possible to do this? Or will you have to write messages on behalf of the bot, getting them from the database?
Answer the question
In order to leave comments, you need to log in
Can be forwarded
You can write on behalf of the bot
What you have come up with can be done really. Draw yourself a block diagram of all business processes and logic and start developing)
The bot cannot create group chats. You can only add it there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question