Skip to content

Need the information on what should be in config.py #9

Description

@akshaythummar

HI @abdul97233 ,

just need the information on what should be the values of this consts :
I am trying to findout what url or apis should be there, from official telegram or any workers ?

================== TERA BOX API ==================

TERABOX_API_BASE = "https://your-terabox-api.com/ ????" <-- what should be here
TERABOX_API_TOKEN = "your_api_token ????" <-- what should be here

TERABOX_API_TEMPLATE = (
f"{TERABOX_API_BASE}?authkey={TERABOX_API_TOKEN}&url={{url}}"
)

Fallback API — used when primary API returns no files

TERABOX_FALLBACK_API_BASE = "https://your-fallback-api.com/" <-- what should be here
TERABOX_FALLBACK_API_TEMPLATE = (
f"{TERABOX_FALLBACK_API_BASE}?authkey={TERABOX_API_TOKEN}&url={{url}}"
)

Self-hosted Telegram Bot API server (replaces https://api.telegram.org)

Enables high-speed uploads up to 2GB via the Bot HTTP API.

TG_API_BASE = "https://your-bot-api-server.com" <-- what should be here

I hope you will help me out on this, so I can try this bot
Thanks you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions