This commit is contained in:
@@ -23,7 +23,7 @@ def cleanup(msg):
|
||||
return msg
|
||||
|
||||
|
||||
with TelegramClient('session_name', api_id, api_hash) as client:
|
||||
with TelegramClient('bot', api_id, api_hash) as client:
|
||||
f = open("data/data.txt", "w")
|
||||
for message in client.iter_messages(chat):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user