mirror of
https://github.com/danog/Telegram.git
synced 2024-11-30 04:29:15 +01:00
39 lines
1.1 KiB
Objective-C
39 lines
1.1 KiB
Objective-C
/*
|
|
* This is the source code of Telegram for iOS v. 1.1
|
|
* It is licensed under GNU GPL v. 2 or later.
|
|
* You should have received a copy of the license in this archive (see LICENSE).
|
|
*
|
|
* Copyright Peter Iakovlev, 2013.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "TGDialogListCellAssetsSource.h"
|
|
|
|
@interface TGDialogListSearchCell : UITableViewCell
|
|
|
|
@property (nonatomic, strong) id<TGDialogListCellAssetsSource> assetsSource;
|
|
|
|
@property (nonatomic) int64_t conversationId;
|
|
|
|
@property (nonatomic, strong) NSString *titleTextFirst;
|
|
@property (nonatomic, strong) NSString *titleTextSecond;
|
|
@property (nonatomic, strong) NSAttributedString *attributedSubtitleText;
|
|
|
|
@property (nonatomic, strong) NSString *avatarUrl;
|
|
|
|
@property (nonatomic) bool isChat;
|
|
@property (nonatomic) bool isEncrypted;
|
|
@property (nonatomic) bool isVerified;
|
|
@property (nonatomic) int encryptedUserId;
|
|
|
|
@property (nonatomic) int unreadCount;
|
|
|
|
- (void)resetView:(bool)animated;
|
|
|
|
- (void)setBoldMode:(int)index;
|
|
|
|
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier assetsSource:(id<TGDialogListCellAssetsSource>)assetsSource;
|
|
|
|
@end
|