This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from telethon.sync import TelegramClient | |
from telethon import events | |
import speech_recognition as sr | |
import subprocess | |
import os | |
r = sr.Recognizer() | |
api_id = api_id | |
api_hash = 'api_hash' | |
client = TelegramClient('session_name', api_id, api_hash) |