Files
featherVoice/TUIKit/TUIChat/CommonModel/TUIEmojiConfig.h

46 lines
1.6 KiB
C
Raw Normal View History

2025-08-08 10:49:36 +08:00
//
// TUIEmojiConfig.h
// TUIEmojiPlugin
//
// Created by wyl on 2023/11/13.
// Copyright © 2023 Tencent. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <TIMCommon/TIMCommonModel.h>
NS_ASSUME_NONNULL_BEGIN
@class TUIFaceGroup;
@interface TUIEmojiConfig : NSObject
+ (TUIEmojiConfig *)defaultConfig;
/**
* In respect for the copyright of the emoji design, the Chat Demo/TUIKit project does not include the cutouts of large emoji elements. Please replace them
* with your own designed or copyrighted emoji packs before the official launch for commercial use. The default small yellow face emoji pack is copyrighted by
* Tencent Cloud and can be authorized for a fee. If you wish to obtain authorization, please submit a ticket to contact us.
*
* submit a ticket urlhttps://console.cloud.tencent.com/workorder/category?level1_id=29&level2_id=40&source=14&data_title=%E5%8D%B3%E6%97%B6%E9%80%9A%E4%BF%A1%20IM&step=1 (China mainland)
* submit a ticket urlhttps://console.tencentcloud.com/workorder/category?level1_id=29&level2_id=40&source=14&data_title=Chat&step=1 (Other regions)
*/
@property(nonatomic, strong) NSArray<TUIFaceGroup *> *faceGroups;
/**
* The list of emoticons displayed after long-pressing the message on the chat interface
*/
@property(nonatomic, strong) NSArray<TUIFaceGroup *> *chatPopDetailGroups;
@property(nonatomic, strong) NSArray<TUIFaceGroup *> *chatContextEmojiDetailGroups;
- (void)appendFaceGroup:(TUIFaceGroup *)faceGroup;
@end
@interface TUIEmojiConfig (defaultFace)
- (TUIFaceGroup *)getChatPopMenuRecentQueue;
- (void)updateEmojiGroups;
- (void)updateRecentMenuQueue:(NSString *)faceName;
@end
NS_ASSUME_NONNULL_END