from telegram import Update
from telegram.ext import ApplicationBuilder, CommandHandler, ContextTypes
import requests


async  def saatlik_deposit(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
    await update.message.reply_text(f'Raporunuzu hazırlıyorum, lütfen bekleyin {update.effective_user.first_name} Bey')
    url = "https://telegram.betncrypto.app/anasayfa/saatlik_deposit"
    r = requests.get(url)


async  def gunsonu(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
    await update.message.reply_text(f'Raporunuzu hazırlıyorum, lütfen bekleyin {update.effective_user.first_name} Bey')
    url = "https://telegram.betncrypto.app/anasayfa/gunluksorgu"
    r = requests.get(url)

    

app = ApplicationBuilder().token("6904101634:AAHT-8tFxkTpUVkKcDC72BcSpb8GIhTwPwA").build()

app.add_handler(CommandHandler("rapor", saatlik_deposit))

app.add_handler(CommandHandler("gunsonu", gunsonu))


app.run_polling()
