A
A
A114n2020-01-27 11:37:50
Telegram
A114n, 2020-01-27 11:37:50

What is the fastest way to add your own function to the Telegram client?

I want to add the function of ignoring blocked users in group chats to (any) Telegram client and collect it for myself.

Theoretically, it should be something like this: we catch messages before rendering and check
If message.author.blocked == true then message.value = "User is blocked"

There are instructions for building the original client, there are instructions for building forks, for example, through TDLib.

But about the original Telegram Desktop, they told me that there is dynamic generation and, maybe, I won’t be able to find in the code where messages are displayed. It might be easier with TDLib, but it's harder for its customers to find detailed build instructions.

But in order not to go down the wrong path, I ask for advice on how to do it faster, from people who are well versed in how these clients are arranged. So that I can focus on the fastest option.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Priluzkiy, 2020-01-27
@Oxyd

Ask the developers for one of the forks of the original TG-Desktop, or maybe join the development.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question