| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- //
- // TUIChatDefine.h
- // Pods
- //
- // Created by xiangzhang on 2022/10/14.
- // Copyright © 2023 Tencent. All rights reserved.
- //
- #ifndef TUI_COMPONENTS_IOS_TUICHAT_COMMONMODEL_TUICHATDEFINE_H_
- #define TUI_COMPONENTS_IOS_TUICHAT_COMMONMODEL_TUICHATDEFINE_H_
- static NSString* const kMemberCellReuseId = @"kMemberCellReuseId";
- typedef void (^TUIImageMessageDownloadCallback)(void);
- typedef void (^TUIVideoMessageDownloadCallback)(void);
- typedef void (^TUIReplyAsyncLoadFinish)(void);
- typedef void (^TUIInputPreviewBarCallback)(void);
- typedef void (^TUIReplyQuoteAsyncLoadFinish)(void);
- typedef void (^TUIChatSelectAllContentCallback)(BOOL);
- typedef void (^TUIReferenceSelectAllContentCallback)(BOOL);
- typedef void (^TUIReplySelectAllContentCallback)(BOOL);
- typedef NS_ENUM(NSInteger, TUIMultiResultOption) {
- /**
- *
- * Get all selected results
- */
- TUIMultiResultOptionAll = 0,
- /**
- *
- * Filter out data that does not support forwarding
- */
- TUIMultiResultOptionFiterUnsupportRelay = 1 << 0,
- };
- typedef NS_ENUM(NSInteger, TUIMessageReadViewTag) {
- TUIMessageReadViewTagUnknown = 0, // unknown
- TUIMessageReadViewTagRead, // read group members
- TUIMessageReadViewTagUnread, // unread group members
- TUIMessageReadViewTagReadDisable, // disable read group members
- TUIMessageReadViewTagC2C, // c2c member
- };
- typedef NS_ENUM(NSUInteger, InputStatus) {
- Input_Status_Input,
- Input_Status_Input_Face,
- Input_Status_Input_More,
- Input_Status_Input_Keyboard,
- Input_Status_Input_Talk,
- Input_Status_Input_Camera,
- };
- typedef NS_ENUM(NSUInteger, RecordStatus) {
- Record_Status_TooShort,
- Record_Status_TooLong,
- Record_Status_Recording,
- Record_Status_Cancel,
- };
- typedef NS_ENUM(NSInteger, TUIChatSmallTongueType) {
- TUIChatSmallTongueType_None,
- TUIChatSmallTongueType_ScrollToBoom,
- TUIChatSmallTongueType_ReceiveNewMsg,
- TUIChatSmallTongueType_SomeoneAt,
- };
- #define TUITencentCloudHomePageCN @"https://cloud.tencent.com/document/product/269/68228"
- #define TUITencentCloudHomePageEN @"https://www.tencentcloud.com/document/product/1047/45913"
- #define TUIChatSendMessageNotification @"TUIChatSendMessageNotification"
- #define TUIChatSendMessageWithoutUpdateUINotification @"TUIChatSendMessageWithoutUpdateUINotification"
- #define TUIChatInsertMessageWithoutUpdateUINotification @"TUIChatInsertMessageWithoutUpdateUINotification"
- #endif // TUI_COMPONENTS_IOS_TUICHAT_COMMONMODEL_TUICHATDEFINE_H_
|