#import #import #import @class TGVenueAttachment; @class TGUser; typedef enum { TGLocationPickerControllerDefaultIntent, TGLocationPickerControllerCustomLocationIntent } TGLocationPickerControllerIntent; @interface TGLocationPickerController : TGLocationMapViewController @property (nonatomic, copy) void (^locationPicked)(CLLocationCoordinate2D coordinate, TGVenueAttachment *venue); - (instancetype)initWithContext:(id)context intent:(TGLocationPickerControllerIntent)intent; @property (nonatomic, strong) id peer; @property (nonatomic, assign) bool allowLiveLocations; @property (nonatomic, assign) bool sharingLiveLocation; @end