1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Watch/Bridge/TGBridgeChatMessageListSubscription.h
2015-10-01 19:19:52 +03:00

31 lines
834 B
Objective-C

#import "TGBridgeSubscription.h"
@interface TGBridgeChatMessageListSubscription : TGBridgeSubscription
@property (nonatomic, readonly) int64_t peerId;
@property (nonatomic, readonly) int32_t atMessageId;
@property (nonatomic, readonly) NSUInteger rangeMessageCount;
- (instancetype)initWithPeerId:(int64_t)peerId atMessageId:(int32_t)messageId rangeMessageCount:(NSUInteger)rangeMessageCount;
@end
@interface TGBridgeChatMessageSubscription : TGBridgeSubscription
@property (nonatomic, readonly) int64_t peerId;
@property (nonatomic, readonly) int32_t messageId;
- (instancetype)initWithPeerId:(int64_t)peerId messageId:(int32_t)messageId;
@end
@interface TGBridgeReadChatMessageListSubscription : TGBridgeSubscription
@property (nonatomic, readonly) int64_t peerId;
- (instancetype)initWithPeerId:(int64_t)peerId;
@end