Create a Telegram Bot for me in Java -- 2
Budget: $30 – $250 USD
I am looking for a specialist in creating a telegram bot. I need a bot capable of receiving user and chat information. Make just two buttons and display all available information about the connected user and the connected chat.
This bot is a psychological training of relations between a man and a woman, for this you need to be able to add two people to the bot, two partners, a man and a woman, this is the function I am now trying to find in the telegram bot.
In the official telegram methods documentation:
I found two suitable methods KeyboardButtonRequestUser and KeyboardButtonRequestChat, but I can’t figure out how to connect a second user to the bot and get data about it.
As I understand it, the data from KeyboardButtonRequestChat and KeyboardButtonRequestUser are transferred to the UserShared object, which can contain two fields - request_id, user_id and request_id, chat_id, that is, you can pull out this chat_id and user_id.
Look at the archive with the project, which is attached, one method has already been implemented there, you need to finish it.
If you have another solution to this problem, suggest your solution please. It must be in the Java programming language.
This bot is a psychological training of relations between a man and a woman, for this you need to be able to add two people to the bot, two partners, a man and a woman, this is the function I am now trying to find in the telegram bot.
In the official telegram methods documentation:
I found two suitable methods KeyboardButtonRequestUser and KeyboardButtonRequestChat, but I can’t figure out how to connect a second user to the bot and get data about it.
As I understand it, the data from KeyboardButtonRequestChat and KeyboardButtonRequestUser are transferred to the UserShared object, which can contain two fields - request_id, user_id and request_id, chat_id, that is, you can pull out this chat_id and user_id.
Look at the archive with the project, which is attached, one method has already been implemented there, you need to finish it.
If you have another solution to this problem, suggest your solution please. It must be in the Java programming language.