This commit is contained in:
2024-11-27 16:29:37 +03:00
parent 292bacc963
commit ddfd5596d9
6 changed files with 4 additions and 84 deletions

View File

@@ -77,7 +77,7 @@ class Answer:
body = {'text': text, 'chat_id': self.user['chat_id']}
if reply_markup:
body['reply_markup'] = reply_markup.to_json()
queues.set_task('ruz_bot_mailbox', body, 1)
queues.set_task('botalka_mailbox', {'project': 'ruz-bot', 'name': 'telegram-bot', 'body': body}, 1)
def set_state(self, state: str):
self.user['state'] = state