-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
17 lines (12 loc) · 979 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from aiogram import types
BOT_TOKEN = 'API_TOKEN'
GROUP_ID = 'GROUP_ID'
user_keyboard = types.ReplyKeyboardMarkup(keyboard=[[types.KeyboardButton(text="Оставить заявку")],
[types.KeyboardButton(text="Оставить отзыв")]],
resize_keyboard=True)
admin_keyboard = types.InlineKeyboardMarkup(inline_keyboard=[[types.InlineKeyboardButton(text='Ответить', callback_data='answer')],
[types.InlineKeyboardButton(text='Отклонить', callback_data='cancel')]],
resize_keyboard=True)
# admin_keyboard = types.InlineKeyboardMarkup(row_width=2)
# admin_keyboard.insert(types.InlineKeyboardButton('Ответить', callback_data='answer'))
# admin_keyboard.insert(types.InlineKeyboardButton('Отклонить', callback_data='cancel'))