mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00

git-subtree-dir: submodules/LegacyComponents git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9 git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
30 lines
810 B
Objective-C
30 lines
810 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#import <LegacyComponents/PSCoding.h>
|
|
|
|
@protocol TGStickerPackReference <NSObject, NSCopying, PSCoding, NSCoding>
|
|
|
|
@end
|
|
|
|
@interface TGStickerPackBuiltinReference : NSObject <TGStickerPackReference>
|
|
|
|
@end
|
|
|
|
@interface TGStickerPackIdReference : NSObject <TGStickerPackReference>
|
|
|
|
@property (nonatomic, readonly) int64_t packId;
|
|
@property (nonatomic, readonly) int64_t packAccessHash;
|
|
@property (nonatomic, strong, readonly) NSString *shortName;
|
|
|
|
- (instancetype)initWithPackId:(int64_t)packId packAccessHash:(int64_t)packAccessHash shortName:(NSString *)shortName;
|
|
|
|
@end
|
|
|
|
@interface TGStickerPackShortnameReference : NSObject <TGStickerPackReference>
|
|
|
|
@property (nonatomic, strong, readonly) NSString *shortName;
|
|
|
|
- (instancetype)initWithShortName:(NSString *)shortName;
|
|
|
|
@end
|