A telegram sends a message to all contacts

Using a telegram to send a message to all my contacts. Hey, does anyone know if the telegram application has the ability to send messages to all contacts? In this case, there is no answer, and there is no such option.

+4
source share
2 answers

You can use CLI telegrams

Have a look at all the CLI commands here: https://github.com/vysheng/tg/wiki/Telegram-CLI-Commands

to get a list of contacts there contact_list. Parsing the output, you can get single contacts.

send messages to all of them using any command send_....

u can use both lua and python for this.

+2

Telegram ,

,



messages.sendMessage # 4cde0aab peer: InputPeer: random_id: long = messages.SentMessage;



: peer (user_id) random_id





!!!

+1

Source: https://habr.com/ru/post/1627790/


All Articles