#import #import @class TGLocationMediaAttachment; @class TGUser; @interface TGLocationPickerAnnotation: NSObject @property (nonatomic, assign) CLLocationCoordinate2D coordinate; @property (nonatomic, strong) id peer; - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate; @end @interface TGLocationAnnotation : NSObject @property (nonatomic, readonly) TGLocationMediaAttachment *location; @property (nonatomic, readonly) bool isLiveLocation; @property (nonatomic, strong) id peer; @property (nonatomic, strong) UIColor *color; @property (nonatomic, assign) CLLocationCoordinate2D coordinate; @property (nonatomic, assign) int32_t messageId; @property (nonatomic, assign) bool isOwn; @property (nonatomic, assign) bool hasSession; @property (nonatomic, assign) bool isExpired; @property (nonatomic, strong) NSNumber *heading; - (instancetype)initWithLocation:(TGLocationMediaAttachment *)location; - (instancetype)initWithLocation:(TGLocationMediaAttachment *)location color:(UIColor *)color; @end