R
R
ReDeNDeR2021-01-09 22:31:22
Python
ReDeNDeR, 2021-01-09 22:31:22

Problems with tgcrypto in pyrogram what to do?

I wrote a bot on pyrogram, it works fine for me, but on the employer's computer it says "TECrypto is missing! Pyrogram will work the same, but at a much slower speed. More info: https://docs . othergram.org/topica stg crypto" he downloaded the tgcrypto library but it still doesn't work, I read the documentation but didn't understand anything, can you tell me what to do. Thank you very much.

import tgcrypto
from pyrogram import Client, filters
from os import listdir
import os

a=listdir('PH_videos')
PH=[]
for i in a:
    if i.endswith('.mp4'):
            PH.append(i)
           
app = Client("my_account")

with app:
    num=0
    while True:
        
        app.send_video(-1001407726920, r"C:\Users\admin\Desktop\sbor\PH_videos\\"+PH[num])
        num=num+1
app.run()

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question