mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
19 lines
471 B
Objective-C
19 lines
471 B
Objective-C
//
|
|
// TSServerMessage.h
|
|
// TextSecureKit
|
|
//
|
|
// Created by Frederic Jacobs on 18/11/14.
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <Mantle/Mantle.h>
|
|
#import "TSConstants.h"
|
|
|
|
@interface TSServerMessage : MTLModel<MTLJSONSerializing>
|
|
|
|
- (instancetype)initWithType:(TSWhisperMessageType)type
|
|
destination:(NSString*)destination
|
|
device:(int)deviceId
|
|
body:(NSData*)data;
|
|
|
|
@end
|