fix
This commit is contained in:
@@ -74,7 +74,7 @@ class Answer:
|
||||
def send_message(self, text, reply_markup=None, remove_keyboard=True, **kwargs):
|
||||
if reply_markup is None and remove_keyboard:
|
||||
reply_markup = ReplyKeyboardRemove()
|
||||
body = {'text': text, 'chat_id': self.user['chat_id']}
|
||||
body = {'text': text, 'chat_id': self.user['chat_id'], 'parse_mode': 'Markup'}
|
||||
if reply_markup:
|
||||
body['reply_markup'] = reply_markup.to_json()
|
||||
queues.set_task('botalka_mailbox', {'project': 'ruz-bot', 'name': 'telegram-bot', 'body': body}, 1)
|
||||
|
||||
Reference in New Issue
Block a user