Z
Z
zxcsss2020-04-18 22:31:29
Python
zxcsss, 2020-04-18 22:31:29

How to wrap a line in python?

How to wrap inline_keyboard_markup line

def message_cb(bot, event):
    bot.send_text(chat_id=event.from_chat,
                  text="Hello with buttons.",
                  inline_keyboard_markup="{}".format(json.dumps()))


now like this: 5e9b54a2d3ab7655307901.jpeg
but I would like:5e9b54c28426b181065333.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question