mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-07 14:53:35 +00:00
27 lines
882 B
Objective-C
27 lines
882 B
Objective-C
#ifdef BUCK
|
|
#import <MTProtoKit/MTProtoKit.h>
|
|
#else
|
|
#import <MTProtoKitDynamic/MTProtoKitDynamic.h>
|
|
#endif
|
|
|
|
@interface TGShareLocationResult : NSObject
|
|
|
|
@property (nonatomic, readonly) double latitude;
|
|
@property (nonatomic, readonly) double longitude;
|
|
@property (nonatomic, readonly) NSString *title;
|
|
@property (nonatomic, readonly) NSString *address;
|
|
@property (nonatomic, readonly) NSString *provider;
|
|
@property (nonatomic, readonly) NSString *venueId;
|
|
@property (nonatomic, readonly) NSString *venueType;
|
|
|
|
- (instancetype)initWithLatitude:(double)latitude longitude:(double)longitude title:(NSString *)title address:(NSString *)address provider:(NSString *)provider venueId:(NSString *)venueId venueType:(NSString *)venueType;
|
|
|
|
@end
|
|
|
|
@interface TGShareLocationSignals : NSObject
|
|
|
|
+ (MTSignal *)locationMessageContentForURL:(NSURL *)url;
|
|
+ (bool)isLocationURL:(NSURL *)url;
|
|
|
|
@end
|