use of org.telegram.messenger.SecureDocumentKey in project Telegram-FOSS by Telegram-FOSS-Team.
the class PassportActivity method addDocumentViewInternal.
private void addDocumentViewInternal(TLRPC.TL_secureFile f, int uploadingType) {
SecureDocumentKey secureDocumentKey = getSecureDocumentKey(f.secret, f.file_hash);
SecureDocument secureDocument = new SecureDocument(secureDocumentKey, f, null, null, null);
addDocumentView(secureDocument, uploadingType);
}
Aggregations