INSTALLED_APPS = [
# ...
'main'
]
INSTALLED_APPS = [
# ...
'main.apps.MainConfig'
]
{
"data":[
],
"links":{
"first":"https://www.donationalerts.com/api/v1/alerts/donations?page=1",
"last":"https://www.donationalerts.com/api/v1/alerts/donations?page=1",
"prev":"None",
"next":"None"
},
"meta":{
"current_page":1,
"from":"None",
"last_page":1,
"path":"https://www.donationalerts.com/api/v1/alerts/donations",
"per_page":30,
"to":"None",
"total":0
}
}
Authorization: Bearer <token>
" @bot.callback_query_handler( func = lambda call : True )
def answer( call ):
msg = cfg.callback_query_handler( call )
bot.register_next_step_handler(msg, cfg.next_func)
def callback_query_handler( call ):
# Payment methods
if call.data.startswith( 'payment_object' ):
msg = bot.send_message(call.from_user.id, 'waiting')
return msg