Statistics
| Branch: | Tag: | Revision:

chatsecureios / ChatSecure / Classes / Model / Yap Storage / OTROutgoingMessage.h @ 8d76e2e3

History | View | Annotate | Download (1004 Bytes)

1
//
2
//  OTROutgoingMessage.h
3
//  ChatSecure
4
//
5
//  Created by David Chiles on 11/10/16.
6
//  Copyright © 2016 Chris Ballinger. All rights reserved.
7
//
8

    
9
#import "OTRBaseMessage.h"
10
@import YapDatabase;
11

    
12
NS_ASSUME_NONNULL_BEGIN
13
@interface OTROutgoingMessage : OTRBaseMessage <OTRMessageProtocol>
14

    
15
/** OUTGOING ONLY. The date that the message left the device and went on the wire.*/
16
@property (nonatomic, strong, nullable) NSDate *dateSent;
17

    
18
/** OUTGOING ONLY. The date that the message is acknowledged by the server. Only relevant if the stream supporrts XEP-0198 at the time of sending*/
19
@property (nonatomic, strong, nullable) NSDate *dateAcked;
20

    
21
/** OUTGOING ONLY. The date the message is deliverd to the other client. Only relevant if the other client supports XEP-0184. There is no way to query support */
22
@property (nonatomic, strong, nullable) NSDate *dateDelivered;
23

    
24
/** Mark message as deliverd via XEP-0184.*/
25
@property (nonatomic, getter = isDelivered) BOOL delivered;
26

    
27
@end
28
NS_ASSUME_NONNULL_END