EncryptedChat

Object contains info on an encrypted chat.

encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat;
encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat;
encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat;
encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat;
encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat;

---functions---

messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat;
messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat;

Constructors

encryptedChatEmpty Empty constructor
encryptedChatWaiting Chat waiting for approval of second participant
encryptedChatRequested Request for creation of an encrypted chat
encryptedChat Encrypted chat
encryptedChatDiscarded Discarded, deleted chat

Methods

messages.requestEncryption Sends request for creation of an encrypted chat
messages.acceptEncryption Confirms creation of an encrypted chat