1234567891011121314151617181920212223242526272829303132333435363738394041 |
- // _____ _
- // |_ _| |_ _ _ ___ ___ _ __ __ _
- // | | | ' \| '_/ -_) -_) ' \/ _` |_
- // |_| |_||_|_| \___\___|_|_|_\__,_(_)
- //
- // Threema iOS Client
- // Copyright (c) 2015-2020 Threema GmbH
- //
- // This program is free software: you can redistribute it and/or modify
- // it under the terms of the GNU Affero General Public License, version 3,
- // as published by the Free Software Foundation.
- //
- // This program is distributed in the hope that it will be useful,
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- // GNU Affero General Public License for more details.
- //
- // You should have received a copy of the GNU Affero General Public License
- // along with this program. If not, see <https://www.gnu.org/licenses/>.
- #ifndef Threema_FileMessageKeys_h
- #define Threema_FileMessageKeys_h
- #define JSON_FILE_KEY_FILE_BLOB @"b"
- #define JSON_FILE_KEY_THUMBNAIL_BLOB @"t"
- #define JSON_FILE_KEY_ENCRYPTION_KEY @"k"
- #define JSON_FILE_KEY_MIMETYPE @"m"
- #define JSON_FILE_KEY_MIMETYPETHUMBNAIL @"p"
- #define JSON_FILE_KEY_FILENAME @"n"
- #define JSON_FILE_KEY_FILESIZE @"s"
- #define JSON_FILE_KEY_TYPE_DEPRECATED @"i"
- #define JSON_FILE_KEY_TYPE @"j"
- #define JSON_FILE_KEY_DESCRIPTION @"d"
- #define JSON_FILE_KEY_CORRELATION @"c"
- #define JSON_FILE_KEY_METADATA @"x"
- #define JSON_FILE_KEY_METADATA_HEIGHT @"h"
- #define JSON_FILE_KEY_METADATA_WIDTH @"w"
- #define JSON_FILE_KEY_METADATA_DURATION @"d"
- #endif
|