Object contains info on an encrypted chat.
Constructor | Description |
---|---|
encryptedChatEmpty | Empty constructor. |
encryptedChatWaiting | Chat waiting for approval of second participant. |
encryptedChatRequested | Request to create an encrypted chat. |
encryptedChat | Encrypted chat |
encryptedChatDiscarded | Discarded or deleted chat. |
Method | Description |
---|---|
messages.requestEncryption | Sends a request to start a secret chat to the user. |
messages.acceptEncryption | Confirms creation of a secret chat |