Исправление маркДАУНА
This commit is contained in:
parent
f6e107580b
commit
bac5ba9f36
6
tg.py
6
tg.py
@ -289,11 +289,13 @@ def gen_token_tg(message):
|
|||||||
|
|
||||||
@bot.message_handler(commands=['chat_id'])
|
@bot.message_handler(commands=['chat_id'])
|
||||||
def chat_id(message):
|
def chat_id(message):
|
||||||
bot.reply_to(message, f'chat_id: `{message.chat.id}`', parse_mode='Markdown')
|
print(message.chat.id)
|
||||||
|
print(f'chat_id: `{message.chat.id}`')
|
||||||
|
bot.reply_to(message, f'chat\_id: `{message.chat.id}`', parse_mode='Markdown')
|
||||||
|
|
||||||
@bot.message_handler(commands=['user_id'])
|
@bot.message_handler(commands=['user_id'])
|
||||||
def user_id(message):
|
def user_id(message):
|
||||||
bot.reply_to(message, f'user_id: `{message.from_user.id}`', parse_mode='Markdown')
|
bot.reply_to(message, f'user\_id: `{message.from_user.id}`', parse_mode='Markdown')
|
||||||
|
|
||||||
|
|
||||||
@bot.message_handler(func=lambda message: True)
|
@bot.message_handler(func=lambda message: True)
|
||||||
|
Loading…
Reference in New Issue
Block a user