2018-07-30 04:07:02 +02:00
|
|
|
package org.telegram.messenger;
|
|
|
|
|
|
|
|
import org.telegram.tgnet.TLObject;
|
|
|
|
import org.telegram.tgnet.TLRPC;
|
|
|
|
|
|
|
|
public class SecureDocument extends TLObject {
|
|
|
|
|
|
|
|
public SecureDocumentKey secureDocumentKey;
|
|
|
|
public TLRPC.TL_secureFile secureFile;
|
|
|
|
public String path;
|
|
|
|
public TLRPC.TL_inputFile inputFile;
|
|
|
|
public byte[] fileSecret;
|
|
|
|
public byte[] fileHash;
|
2018-08-27 10:33:11 +02:00
|
|
|
public int type;
|
2018-07-30 04:07:02 +02:00
|
|
|
|
|
|
|
public SecureDocument(SecureDocumentKey key, TLRPC.TL_secureFile file, String p, byte[] fh, byte[] secret) {
|
|
|
|
secureDocumentKey = key;
|
|
|
|
secureFile = file;
|
|
|
|
path = p;
|
|
|
|
fileHash = fh;
|
|
|
|
fileSecret = secret;
|
|
|
|
}
|
|
|
|
}
|