Swiftgram/MTProtoKit/MTBadMsgNotificationMessage.h
Peter Iakovlev e94ad28ed3 no message
2014-12-15 20:13:34 +03:00

20 lines
695 B
Objective-C

#import <Foundation/Foundation.h>
@interface MTBadMsgNotificationMessage : NSObject
@property (nonatomic, readonly) int64_t badMessageId;
@property (nonatomic, readonly) int32_t badMessageSeqNo;
@property (nonatomic, readonly) int32_t errorCode;
- (instancetype)initWithBadMessageId:(int64_t)badMessageId badMessageSeqNo:(int32_t)badMessageSeqNo errorCode:(int32_t)errorCode;
@end
@interface MTBadServerSaltNotificationMessage : MTBadMsgNotificationMessage
@property (nonatomic, readonly) int64_t nextServerSalt;
- (instancetype)initWithBadMessageId:(int64_t)badMessageId badMessageSeqNo:(int32_t)badMessageSeqNo errorCode:(int32_t)errorCode nextServerSalt:(int64_t)nextServerSalt;
@end