mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-09 04:49:27 +00:00

git-subtree-dir: submodules/LegacyComponents git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9 git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
26 lines
834 B
Objective-C
26 lines
834 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
#import <LegacyComponents/PSCoding.h>
|
|
|
|
#import <LegacyComponents/TGStickerPackReference.h>
|
|
|
|
@interface TGStickerMaskDescription : NSObject <PSCoding, NSCoding>
|
|
|
|
@property (nonatomic, readonly) int32_t n;
|
|
@property (nonatomic, readonly) CGPoint point;
|
|
@property (nonatomic, readonly) CGFloat zoom;
|
|
|
|
- (instancetype)initWithN:(int32_t)n point:(CGPoint)point zoom:(CGFloat)zoom;
|
|
|
|
@end
|
|
|
|
@interface TGDocumentAttributeSticker : NSObject <PSCoding, NSCoding>
|
|
|
|
@property (nonatomic, strong, readonly) NSString *alt;
|
|
@property (nonatomic, strong, readonly) id<TGStickerPackReference> packReference;
|
|
@property (nonatomic, strong, readonly) TGStickerMaskDescription *mask;
|
|
|
|
- (instancetype)initWithAlt:(NSString *)alt packReference:(id<TGStickerPackReference>)packReference mask:(TGStickerMaskDescription *)mask;
|
|
|
|
@end
|