1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Watch/Extension/TGUserHandle.h
2015-10-01 19:19:52 +03:00

18 lines
588 B
Objective-C

#import "WKInterfaceTable+TGDataDrivenTable.h"
typedef NS_ENUM(NSUInteger, TGUserHandleType) {
TGUserHandleTypeUndefined,
TGUserHandleTypePhone,
TGUserHandleTypeDescription
};
@interface TGUserHandle : NSObject <TGTableItem>
@property (nonatomic, readonly) NSString *handle;
@property (nonatomic, readonly) NSString *type;
@property (nonatomic, readonly) TGUserHandleType handleType;
@property (nonatomic, readonly) NSString *data;
- (instancetype)initWithHandle:(NSString *)handle type:(NSString *)type handleType:(TGUserHandleType)handleType data:(NSString *)data;
@end