Please help me with the code.The bottom line is this: there are two bots. one bot writes a welcome message and requests experience from the worker. The employee leaves his request, and this request is sent by a second bot in the chat. Under this application there is an accept button, after clicking on it, the first bot should send the worker a message like “you have been hired.” But the "accept" button does not want to react in any way. There is something like an endless download, there are no problems with the connection, checking run&debug - there are no errors. I'm tearing out the last hairs from my head, please help..
Here is the code:
def process_application(message): user_profile_link = f"https://t.me/{message.from_user.username}" application_text = f"Worker profile: {user_profile_link}\nApplication text: {message.text}\nWorker ID: {message.from_user.id}" bot_first.send_message(message.chat.id, "Your application is under consideration, please wait for the Administration's decision") bot_second.send_message(ADMIN_CHAT_ID, f"New application!
RUN&DEBUG in VISUALSTUDIO. Restatring the script. In the chat, several people pressed the accept button - powerlessly
Источник: https://stackoverflow.com/questions/781 ... ot-respond