vysheng / tg

telegram-cli
GNU General Public License v2.0
6.48k stars 1.53k forks source link

Feature Request: change privacy settings #1584

Open bytes-commerce opened 5 years ago

bytes-commerce commented 5 years ago

I want to change the privacy settings via CLI.

I want to set for example my last seen status to different settings.

Something like:

set last_seen=2 # none
set last_seen=1 # only contacts
set last_seen= 0 # nobody

Would be quiet useful.

il-ja commented 5 years ago

To make the idea behind this more explicit:

this would allow to set the privacy to "visible" for a moment, get all information printed in the shell, and disable it at once after that. I.e. see all without beeing seen (except by those who happen to be only just at the moment). Quite a nice hack, no doubt, but it's the question whether this is wanted behaviour :)

bytes-commerce commented 5 years ago

Just as you said this could be a technical hack on it.

Since Telegram allows that kind of process already manually it would make much sense to adapt the functionallity to the CLI as well.

il-ja commented 5 years ago

well, somehow it would make the CLI "overpowered" - yes, you can do this manually in the GUI, but you need quite a lot of clicks, and the results are not saved automatically. Not to include this feature could be a conscious decision.

Anyway, to the technical side, there seems to be nothing about privacy in this high-level-API-list https://core.telegram.org/methods But there are the relevant entries in this specification: https://core.telegram.org/schema

...don't know how hard it would be to implement this...

On 31/07/2019, Max notifications@github.com wrote:

Just as you said this could be a technical hack on it.

Since Telegram allows that kind of process already manually it would make much sense to adapt the functionallity to the CLI as well.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/vysheng/tg/issues/1584#issuecomment-516814893