tg-clone-channel/config.py

5 lines
471 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

session = 'session.session' # при наличии своей сессии указываем путь до неё
api_id = 12345 # Получить тут: https://my.telegram.org/
api_hash = 'asdfq23f' # Получить тут: https://my.telegram.org/
from_channel = -100123456 # ID канала, откуда парсить. Начинается с -100
in_channel = -1001234568910 # ID канала, куда записывать. Начинается с -100