botlistchat | Unsorted

Telegram-канал botlistchat - BotList Chat 👥💬

9194

Share your bots, comment, test and have fun! Rules: Speak in English, Don't spam/advertise channels or groups that aren't bot related, respect other members, use common sense. @BOTLIST 🌟 @BotListBot 🤖 @BotListCollections 📔

Subscribe to a channel

BotList Chat 👥💬

Thrpugh account or you have admin in both channels

Читать полностью…

BotList Chat 👥💬

For downloading from tg to vps you need to make worker,  I did it with telethon but I never tried pyrogram.

Something like this

async def smart_download(client, message, destination, progress_callback=None):
    try:
        media = getattr(message, 'media', None)
        if not media: return None
           
        os.makedirs(os.path.dirname(os.path.abspath(destination)), exist_ok=True)
        file_path = destination

        document = getattr(media, 'document', None)

        if not document or getattr(document, 'size', 0) < 8 * 1024 * 1024:
            return await client.download_media(message, file=file_path, progress_callback=progress_callback)

        dc_id = getattr(document, 'dc_id', client.session.dc_id)
        input_location = InputDocumentFileLocation(
            id=document.id, access_hash=document.access_hash,
            file_reference=document.file_reference, thumb_size=""
        )

        file_size = document.size
        part_size = 512 * 1024
        total_parts = math.ceil(file_size / part_size)
       
        with open(file_path, "wb") as f:
            f.seek(file_size - 1)
            f.write(b"\0")
           
        downloaded_bytes, workers = 0, 3
        semaphore = asyncio.Semaphore(workers)
       
        async def download_worker(part_index):
            nonlocal downloaded_bytes
            offset, limit = part_index * part_size, part_size
            async with semaphore:
                request = GetFileRequest(location=input_location, offset=offset, limit=limit)
                for attempt in range(3):
                    try:
                        if dc_id == client.session.dc_id:
                            result = await client(request)
                        else:
                            sender = await client._borrow_exported_sender(dc_id)
                            try: result = await sender.send(request)
                            finally: await client._return_exported_sender(sender)
                           
                        with open(file_path, "r+b") as f:
                            f.seek(offset)
                            f.write(result.bytes)
                        downloaded_bytes += len(result.bytes)
                        if progress_callback:
                            cb = progress_callback(downloaded_bytes, file_size)
                            if inspect.isawaitable(cb): await cb
                        break
                    except Exception:
                        if attempt == 2: raise
                        await asyncio.sleep(1)
       
        tasks = [asyncio.create_task(download_worker(i)) for i in range(total_parts)]
        await asyncio.gather(*tasks)
        return file_path

    except Exception as e:
       
        return await client.download_media(message, file=destination, progress_callback=progress_callback)

workers = 0, 3


you can make it 8, you will get about 50 MB speed but you will get floowdwait from tg
so the better number is 4 workers with 512 part chunk

Читать полностью…

BotList Chat 👥💬

A bot for converting simple latex formula to math output, using new markdown formatting of Telegram 12.8 for richtexts

Читать полностью…

BotList Chat 👥💬

Shhh... quiet now.
Muted 401.
Reason:
This isn't a webseries request group. Bots / channels that offer web series are illegal. telegram.org/tos

Читать полностью…

BotList Chat 👥💬

What is the problem?

Читать полностью…

BotList Chat 👥💬

Probably @VideoToolsFFMPEGBot

Читать полностью…

BotList Chat 👥💬

Is there any bot which split long video into 30-50sec clips?

Читать полностью…

BotList Chat 👥💬

Hmm, I wanted to promote my bot. I guess I'll have to look for other ways.

Читать полностью…

BotList Chat 👥💬

It's dead not offline 💀

Читать полностью…

BotList Chat 👥💬

It's offline I guess 👀

Читать полностью…

BotList Chat 👥💬

If u want to anything just message me I'm giving u

Читать полностью…

BotList Chat 👥💬

Well hostinger has a good support u can get help from there too

Читать полностью…

BotList Chat 👥💬

ok thanks for gudence

Читать полностью…

BotList Chat 👥💬

i am not familier with hostinger thats y asked

Читать полностью…

BotList Chat 👥💬

Hoatinger or namecheap

Читать полностью…

BotList Chat 👥💬

Please, does anyone have a bot that can transfer content from one channel to another?

Читать полностью…

BotList Chat 👥💬

Hey guys, I'm downloading some files from Telegram to my VPS using a Pyrogram user session, but my download speed is maxing out at only 4 MB/s.

​My VPS specs are: 6 vCPU Cores, 18 GB RAM, 1 TB SSD, 600 Mbit/s Port, and Unlimited Traffic.

​Why am I getting such low speeds? Are there some Telegram limits I should know about?

Читать полностью…

BotList Chat 👥💬

Any best and cheap server to keep my bots online 24/7

Читать полностью…

BotList Chat 👥💬

It is not providing the actual results what I want.

Читать полностью…

BotList Chat 👥💬

Doesn't have any features like this.

Читать полностью…

BotList Chat 👥💬

/channel/Protect_Content_Extract_Bot

Читать полностью…

BotList Chat 👥💬

@Minion_Igor_Bot

Читать полностью…

BotList Chat 👥💬

just for today or is this forever?

Читать полностью…

BotList Chat 👥💬

ah ok .. i wait a bit 🙂

Читать полностью…

BotList Chat 👥💬

Hey there, the botlist bot does not react on commands /new ?

Читать полностью…

BotList Chat 👥💬

Daily Economy Bot

An economy system designed for long-term engagement.

— Earn money from activity
— Complete daily and weekly missions
— Level up and unlock perks
— Challenge others in duels
— Run heists and collect bounties
— Climb wealth and XP leaderboards

Supports the latest Telegram Rich Message Formatting

@DailyEconomyBot

Читать полностью…

BotList Chat 👥💬

I would suggest first go through a breif of there settings

Читать полностью…

BotList Chat 👥💬

Yes all is managble like others

Читать полностью…

BotList Chat 👥💬

i can change and route wuth cloudflair later right?

Читать полностью…

BotList Chat 👥💬

just domain server in vps

Читать полностью…
Subscribe to a channel