1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 17:09:46 +01:00
Telegram/Telegraph/TGSpotlightIndexData.h

23 lines
619 B
C
Raw Normal View History

2016-02-25 01:03:51 +01:00
#import <Foundation/Foundation.h>
@class TGConversation;
@class TGUser;
@interface TGSpotlightIndexItem : NSObject <NSCopying>
@property (nonatomic, readonly) int64_t peerId;
@property (nonatomic, strong, readonly) NSString *title;
@property (nonatomic, strong, readonly) NSString *avatarUrl;
- (instancetype)initWithConversation:(TGConversation *)conversation;
- (instancetype)initWithUser:(TGUser *)user;
@end
@interface TGSpotlightIndexData : NSObject
@property (nonatomic, strong, readonly) NSMutableSet *indexedItems;
@property (nonatomic, strong, readonly) NSMutableDictionary *indexedItemsByPeerId;
@end