def callback_inline(call):
try:
if call.message:
if call.data == 'faq':
bot.send_message(call.message.chat.id, 'нахуй иди')
elif call.data == 'profil':
pay = types.InlineKeyboardMarkup()
pay_user = types.InlineKeyboardButton("Вывод средств", callback_data='pay')
pay.add(pay_user)
elif call.data == "pay":
bot.send_message(call.message.chat.id, "Текст")