2015-10-01 18:19:52 +02:00
|
|
|
#import <SSignalKit/SSignalKit.h>
|
|
|
|
|
|
|
|
#import "TGStickerPack.h"
|
|
|
|
|
|
|
|
@interface TGStickersSignals : NSObject
|
|
|
|
|
|
|
|
+ (void)clearCache;
|
|
|
|
+ (void)addUseCountForDocumentId:(int64_t)documentId;
|
|
|
|
|
|
|
|
+ (bool)isStickerPackInstalled:(id<TGStickerPackReference>)packReference;
|
2016-02-25 01:03:51 +01:00
|
|
|
+ (NSString *)stickerPackShortName:(id<TGStickerPackReference>)packReference;
|
|
|
|
+ (void)forceUpdateStickers;
|
|
|
|
+ (void)dispatchStickers;
|
2015-10-01 18:19:52 +02:00
|
|
|
+ (SSignal *)stickerPacks;
|
|
|
|
|
|
|
|
+ (SSignal *)stickerPackInfo:(id<TGStickerPackReference>)packReference;
|
|
|
|
+ (SSignal *)installStickerPack:(id<TGStickerPackReference>)packReference;
|
|
|
|
+ (SSignal *)removeStickerPack:(id<TGStickerPackReference>)packReference;
|
2016-02-25 01:03:51 +01:00
|
|
|
+ (SSignal *)toggleStickerPackHidden:(id<TGStickerPackReference>)packReference hidden:(bool)hidden;
|
|
|
|
+ (SSignal *)reorderStickerPacks:(NSArray *)packReferences;
|
|
|
|
|
|
|
|
+ (void)remoteAddedStickerPack:(TGStickerPack *)stickerPack;
|
|
|
|
+ (void)remoteReorderedStickerPacks:(NSArray *)updatedOrder;
|
2015-10-01 18:19:52 +02:00
|
|
|
|
|
|
|
+ (SSignal *)preloadedStickerPreviews:(NSArray *)documents count:(NSUInteger)count;
|
|
|
|
|
|
|
|
@end
|