Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCMeetingChat Class Reference

A class that retrieves meeting chat data. More...

#include <MobileRTCMeetingChat.h>

Inherits NSObject.

Properties

NSString *_Nullable chatId
 The message ID.
 
NSString *_Nullable senderId
 The ID of the user who sends the message.
 
NSString *_Nullable senderName
 The screen name of the user who sends the message.
 
NSString *_Nullable receiverId
 The ID of the user who receives the message.
 
NSString *_Nullable receiverName
 The screen name of the user who receives the message.
 
NSString *_Nullable content
 The message content.
 
NSDate *_Nullable date
 The message timestamp.
 
MobileRTCChatMessageType chatMessageType
 The chat message type.
 
BOOL isMyself
 Indicates whether the message is sent by the user themselves.
 
BOOL isPrivate
 Indicates whether the message is private.
 
BOOL isChatToAll
 Indicates whether the message is sent to all.
 
BOOL isChatToAllPanelist
 Indicates whether the message is sent to all panelists.
 
BOOL isChatToWaitingroom
 Indicates whether the message is sent to the waiting room.
 
BOOL isComment
 Determines if the current message is a comment replying to another message.
 
BOOL isThread
 Determines if the current message is part of a message thread and can be directly replied to.
 
NSArray< MobileRTCRichTextStyleItem * > *_Nullable textStyleItemList
 Gets the current message's chat message font style list.
 
NSArray< MobileRTCSegmentDetails * > *_Nullable segmentDetails
 Gets the chat message segment content and style detail of the current message.
 
NSString *_Nullable threadID
 Gets the current message's thread ID.
 

Detailed Description

A class that retrieves meeting chat data.

Warning
This function is optional.

Definition at line 717 of file MobileRTCMeetingChat.h.

Property Documentation

◆ chatId

- (NSString* _Nullable) chatId
readwritenonatomiccopy

The message ID.

Definition at line 722 of file MobileRTCMeetingChat.h.

◆ chatMessageType

- (MobileRTCChatMessageType) chatMessageType
readwritenonatomicassign

The chat message type.

Definition at line 757 of file MobileRTCMeetingChat.h.

◆ content

- (NSString* _Nullable) content
readwritenonatomiccopy

The message content.

Definition at line 747 of file MobileRTCMeetingChat.h.

◆ date

- (NSDate* _Nullable) date
readwritenonatomicretain

The message timestamp.

Definition at line 752 of file MobileRTCMeetingChat.h.

◆ isChatToAll

- (BOOL) isChatToAll
readwritenonatomicassign

Indicates whether the message is sent to all.

Definition at line 772 of file MobileRTCMeetingChat.h.

◆ isChatToAllPanelist

- (BOOL) isChatToAllPanelist
readwritenonatomicassign

Indicates whether the message is sent to all panelists.

Definition at line 777 of file MobileRTCMeetingChat.h.

◆ isChatToWaitingroom

- (BOOL) isChatToWaitingroom
readwritenonatomicassign

Indicates whether the message is sent to the waiting room.

Definition at line 782 of file MobileRTCMeetingChat.h.

◆ isComment

- (BOOL) isComment
readwritenonatomicassign

Determines if the current message is a comment replying to another message.

Definition at line 787 of file MobileRTCMeetingChat.h.

◆ isMyself

- (BOOL) isMyself
readwritenonatomicassign

Indicates whether the message is sent by the user themselves.

Definition at line 762 of file MobileRTCMeetingChat.h.

◆ isPrivate

- (BOOL) isPrivate
readwritenonatomicassign

Indicates whether the message is private.

Definition at line 767 of file MobileRTCMeetingChat.h.

◆ isThread

- (BOOL) isThread
readwritenonatomicassign

Determines if the current message is part of a message thread and can be directly replied to.

Definition at line 792 of file MobileRTCMeetingChat.h.

◆ receiverId

- (NSString* _Nullable) receiverId
readwritenonatomiccopy

The ID of the user who receives the message.

Definition at line 737 of file MobileRTCMeetingChat.h.

◆ receiverName

- (NSString* _Nullable) receiverName
readwritenonatomiccopy

The screen name of the user who receives the message.

Definition at line 742 of file MobileRTCMeetingChat.h.

◆ segmentDetails

- (NSArray<MobileRTCSegmentDetails *>* _Nullable) segmentDetails
readwritenonatomiccopy

Gets the chat message segment content and style detail of the current message.

Note
When receiving rich-text messages, a list of isolated paragraphs is included, each formatted according to its style. Concatenating these paragraphs together forms the complete message text.

Definition at line 804 of file MobileRTCMeetingChat.h.

◆ senderId

- (NSString* _Nullable) senderId
readwritenonatomiccopy

The ID of the user who sends the message.

Definition at line 727 of file MobileRTCMeetingChat.h.

◆ senderName

- (NSString* _Nullable) senderName
readwritenonatomiccopy

The screen name of the user who sends the message.

Definition at line 732 of file MobileRTCMeetingChat.h.

◆ textStyleItemList

- (NSArray<MobileRTCRichTextStyleItem *>* _Nullable) textStyleItemList
readwritenonatomiccopy

Gets the current message's chat message font style list.

Deprecated
Use segmentDetails instead.

Definition at line 798 of file MobileRTCMeetingChat.h.

◆ threadID

- (NSString* _Nullable) threadID
readwritenonatomiccopy

Gets the current message's thread ID.

Definition at line 808 of file MobileRTCMeetingChat.h.