B
B
buxta12019-01-26 17:35:03
Bots
buxta1, 2019-01-26 17:35:03

When encrypted, does it encrypt the /start command and not execute the command?

@bot.message_handler(func=lambda m: m.text in ('start', '/start', '/Start'))
def handle_start(message):
        var = message.text
        qq2 = base64.b64encode(bytes(var, 'utf-8'))
        msg = bot.send_message(message.chat.id, qq2)

how to make it so that it would not encrypt the / start command when pressed?
in the future it is planned to use the bot like this: https://t.me/BOT?start=ENCRYPTEDTEXT

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