Answer the question
In order to leave comments, you need to log in
SyntaxError: positional argument follows keyword argument how to solve?
if message.text == "Тестовая оплата":
file = str(userid)+"last_pay.txt"
link = get_payment_link(pay=1,number)
markup = telebot.types.InlineKeyboardMarkup(row_width=1)
button = telebot.types.InlineKeyboardButton(text='Перейти к оплате', callback_data='payment', url=link)
button1 = telebot.types.InlineKeyboardButton(text='ОПЛАТИЛ', callback_data='check_test')
markup.row(button)
markup.row(button1)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question