1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGStickerPackReference.h
2015-10-01 19:19:52 +03:00

29 lines
781 B
Objective-C

#import <Foundation/Foundation.h>
#import "PSCoding.h"
@protocol TGStickerPackReference <NSObject, 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