|
|
|
@ -128,12 +128,12 @@ def bot_message(client: Client, message: dict, settings: dict, message_type):
|
|
|
|
maxbot_send_text_message(chat_id=chat_id, max_token=settings['token'], message=dt.url)
|
|
|
|
maxbot_send_text_message(chat_id=chat_id, max_token=settings['token'], message=dt.url)
|
|
|
|
|
|
|
|
|
|
|
|
# отправка меню
|
|
|
|
# отправка меню
|
|
|
|
maxbot_send_menu_button(chat_id=chat_id, max_token=settings['token'], message='👇 Выбери раздел', client=client)
|
|
|
|
maxbot_send_menu_button(chat_id=chat_id, max_token=settings['token'], message='👇 Выберите раздел', client=client)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
if payload['payload_type'] == 'booking_count_people':
|
|
|
|
if payload['payload_type'] == 'booking_count_people':
|
|
|
|
print('запрос даты')
|
|
|
|
print('запрос даты')
|
|
|
|
|
|
|
|
|
|
|
|
# отправка меню
|
|
|
|
# отправка меню
|
|
|
|
maxbot_send_menu_button(chat_id=chat_id, max_token=settings['token'], message='👇 Выбери раздел', client=client)
|
|
|
|
maxbot_send_menu_button(chat_id=chat_id, max_token=settings['token'], message='👇 Выберите раздел', client=client)
|
|
|
|
|
|
|
|
|
|
|
|
return True
|
|
|
|
return True
|
|
|
|
|