📅  最后修改于: 2022-03-11 14:46:40.058000             🧑  作者: Mango
@bot.message_handler(func=lambda message: True)
def send_message(message:str):
user_first_name = str(message.chat.first_name)
bot.reply_to(message, 'Hi ' + user_frist_name)
# Result: Hi Saeed