Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from pyrogram import Client, Filters
- app = Client("my_account")
- @app.on_message(Filters.text & Filters.private)
- def echo(client, message):
- f = open('id.txt', 'rb')
- for i in str(f.readlines()):
- app.send_message(i, message.text)
- print(message.chat.id)
- app.run()
Advertisement
Add Comment
Please, Sign In to add comment