The Wayback Machine - https://web.archive.org/web/20201210055521/https://github.com/pyrogram/pyrogram/issues/363
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for SendEncrypted #363

Open
David-Development opened this issue Jan 30, 2020 · 2 comments
Open

Support for SendEncrypted #363

David-Development opened this issue Jan 30, 2020 · 2 comments

Comments

@David-Development
Copy link

@David-Development David-Development commented Jan 30, 2020

Checklist

  • I believe the idea is awesome and would benefit the library.
  • I have searched in the issue tracker for similar requests, including closed ones.

Description

The Telegram API offers to send messages to secret chats. I was able to find the corresponding docs for pyogram but I can't seem to find a way to use it. After looking through the code I think that it is not implemented at this point, is that correct? I think this function will be quite useful to many people as many others are trying to send encrypted messages via Telegram (see here and here)

@ColinTheShark
Copy link
Member

@ColinTheShark ColinTheShark commented Feb 1, 2020

While this is a good idea, what benefit would this bring?

You'd have no way to access the secret chats other than from that specific Pyrogram Session.

Also you sent the same link twice

@David-Development
Copy link
Author

@David-Development David-Development commented Feb 1, 2020

While this is a good idea, what benefit would this bring?

If I understand the sendEncrypted method correctly, you can have a secret chat between pyogram and an user. My use-case for example would be to send sensitive information such as the status of our companies infrastructure automatically from our servers to my phone. Sending this information via an unencrypted chat or group-chat is not an option for us.

Also you sent the same link twice

sorry, my bad. just updated it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.