T
T
This_is_MonoliT2022-03-10 19:55:48
Python
This_is_MonoliT, 2022-03-10 19:55:48

How to make text copyable clickable?

I have a telegram bot
telebot

money = 999999
bot.send_message(message.chat.id, 'Your balance' + str(money))
Total:
Your balance: 999999

How can I make it so that the balance is copied clickable?
Stackoverflow didn't help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Markin, 2022-03-10
@This_is_MonoliT

Wrap the text in a tag codeand addparse_mode="HTML"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question