denermisinz hocam

from telegram import Update
from telegram.ext import Application, CommandHandler, MessageHandler, Filters, Context

app = Application().token("token").build()

async def hello(update: Update, context: Context) -> None:
    await update.message.reply_text('Merhaba! Adınızı girin.')

async def get_name(update: Update, context: Context) -> None:
    user_message = update.message.text
    print("isim:", user_message)

app.add_handler(CommandHandler("start", hello))
app.add_handler(MessageHandler(Filters.text & ~Filters.command, get_name))

app.run_polling()