Swiftgram/LegacyComponents/TGLocationAnnotation.h

27 lines
719 B
Objective-C

#import <MapKit/MapKit.h>
#import <SSignalKit/SSignalKit.h>
@class TGLocationMediaAttachment;
@class TGUser;
@interface TGLocationPickerAnnotation: NSObject <MKAnnotation>
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
@property (nonatomic, strong) id peer;
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate;
@end
@interface TGLocationAnnotation : NSObject <MKAnnotation>
@property (nonatomic, readonly) TGLocationMediaAttachment *location;
@property (nonatomic, strong) id peer;
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
@property (nonatomic, assign) int32_t messageId;
- (instancetype)initWithLocation:(TGLocationMediaAttachment *)location;
@end