31 lines
1.1 KiB
Objective-C
31 lines
1.1 KiB
Objective-C
|
|
// Created by Tencent on 2023/06/09.
|
|
// Copyright © 2023 Tencent. All rights reserved.
|
|
/**
|
|
*
|
|
* This file declares the TUISystemMessageCell class, which is responsible for displaying system messages.
|
|
* The system message unit is responsible for displaying special messages from the system. Such messages are usually white on a gray background and centered.
|
|
*/
|
|
#import "TUIMessageCell.h"
|
|
#import "TUISystemMessageCellData.h"
|
|
|
|
/**
|
|
* 【Module name】 TUISystemMessageCell
|
|
* 【Function description】System message unit
|
|
* - It is used to display the system messages. Common system messages include: recall-message, group-member-change-message, group-created and
|
|
* group-diss-message, etc.
|
|
* - System messages are typically used to display notifications from apps that are sent by the system, not from any user.
|
|
*/
|
|
@interface TUISystemMessageCell : TUIMessageCell
|
|
|
|
/**
|
|
*
|
|
* The label of display system message content, such as "You recalled a message.".
|
|
*/
|
|
@property(readonly) UILabel *messageLabel;
|
|
|
|
@property(readonly) TUISystemMessageCellData *systemData;
|
|
|
|
- (void)fillWithData:(TUISystemMessageCellData *)data;
|
|
@end
|