url ="https://api.telegram.org/bot"+token
json_string = """
{
"chat_id":"300000000",
"text":"hello",
"reply_markup":{
"inline_keyboard": [[
{
"text": "Последние операции",
"callback_data": "\/last"
},
{
"text": "Баланс",
"callback_data": "\/balance"
}
]]
}
} """
parsed_string = json.loads(json_string)
requests.get(url + "/sendMessage",json = parsed_string)