50$ /Year And 100$ Life Time VIP ..
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] How to export all Telegram Chat users and send them a message.
TheBoss Offline
Administrator
**********

Administrators

Posts: 106,541
Threads: 99,925
Joined: Feb 2014
Reputation: 32
#1
[Tutorial] How to export all Telegram Chat users and send them a message.
I modified this code to export 30.000 users from Telegram Chats to .txt file and later send them a message to promote my channel.

I hope is usefull for all u.
I used: Telethon - https://github.com/LonamiWebs/Telethon

1st. Create an API app here: https://my.telegram.org/apps and put your credentials on /api/settings file

2nd. Install Thelethon ->sudo -H pip install telethon

3rd. Execute python ./try_telethon.py

4th. If its your first time introduce the verification code sended to your Telegram.

5th. You'll see all chats, to export users introduce the Chat number and then !get

[Image: ?url=http%3A%2F%2Fi.imgur.com%2FmQU1YOi.png]
The program creates a excel.txt file that have all users in csv format.

Example:
[Image: ?url=http%3A%2F%2Fi.imgur.com%2FmdOGPs2.png]
6th. Now you can send a message to all this users, to do it modify this line, ininteractive_telegram_client.py inside thetelethon_examples folder:
[Image: ?url=http%3A%2F%2Fi.imgur.com%2F9PPjzQt.png]
7th. Enter in a random group and send !enviar command to send this message ^_^

Tips:
API 'll block you temporally if you send a lot messages per minute.
Some users can Report your messages as Spam, and it'll block you too.


Download:
Download here: https://goo.gl/JynVWZ


I hope you like this!
06-17-2018, 04:20 AM
Website Find
Thread Closed 

Messages In This Thread
[Tutorial] How to export all Telegram Chat users and send them a message. - by TheBoss - 06-17-2018, 04:20 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)

All the content and Free SEO Tools on BestBlackHatForum.eu is user generated and linked to 3rd party websites. BestBlackHatForum.eu does not host any files at its servers, it basically provides an indexing service. BestBlackHatForum.eu; Its owners and its staff can not be held responsible for any type of content. To remove a link please contact webmaster via Contactus.