mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Added .gitignore
This commit is contained in:
19
Watch/Extension/TGBridgeUserCache.h
Normal file
19
Watch/Extension/TGBridgeUserCache.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class TGBridgeUser;
|
||||
@class TGBridgeBotInfo;
|
||||
|
||||
@interface TGBridgeUserCache : NSObject
|
||||
|
||||
- (TGBridgeUser *)userWithId:(int32_t)userId;
|
||||
- (NSDictionary *)usersWithIndexSet:(NSIndexSet *)indexSet;
|
||||
- (void)storeUser:(TGBridgeUser *)user;
|
||||
- (void)storeUsers:(NSArray *)users;
|
||||
- (NSArray *)applyUserChanges:(NSArray *)userChanges;
|
||||
|
||||
- (TGBridgeBotInfo *)botInfoForUserId:(int32_t)userId;
|
||||
- (void)storeBotInfo:(TGBridgeBotInfo *)botInfo forUserId:(int32_t)userId;
|
||||
|
||||
+ (instancetype)instance;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user