mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 02:17:51 +01:00
18 lines
588 B
Objective-C
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 |