EncryptedChat

Object contains info on an encrypted chat.

Method schema is available as of layer 133. Switch ยป

Constructors

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.

Methods

Method Description
messages.requestEncryption Sends a request to start a secret chat to the user.
messages.acceptEncryption Confirms creation of a secret chat