Chat message interface.
More...
#include <meeting_chat_interface.h>
|
| virtual const zchar_t * | GetMessageID ()=0 |
| | Gets the message ID of the current message.
|
| |
| virtual unsigned int | GetSenderUserId ()=0 |
| | Gets the sender ID of the current message.
|
| |
| virtual const zchar_t * | GetSenderDisplayName ()=0 |
| | Gets the sender screen name of the current message.
|
| |
| virtual unsigned int | GetReceiverUserId ()=0 |
| | Gets the receiver ID of the current message.
|
| |
| virtual const zchar_t * | GetReceiverDisplayName ()=0 |
| | Gets the receiver screen name of the current message.
|
| |
| virtual const zchar_t * | GetContent ()=0 |
| | Gets the content of the current message.
|
| |
| virtual time_t | GetTimeStamp ()=0 |
| | Gets the timestamps of the current message.
|
| |
| virtual bool | IsChatToAll ()=0 |
| | Determines if the current message is sent to all.
|
| |
| virtual bool | IsChatToAllPanelist ()=0 |
| | Determines if the current message is sent to all the panelists.
|
| |
| virtual bool | IsChatToWaitingroom ()=0 |
| | Determines if the current message is sent to waiting room.
|
| |
| virtual SDKChatMessageType | GetChatMessageType ()=0 |
| | Gets the chat message type of the current message.
|
| |
| virtual bool | IsComment ()=0 |
| | Determines if the current message is a reply to another message.
|
| |
| virtual bool | IsThread ()=0 |
| | Determines if the current message is part of a message thread, and can be directly replied to.
|
| |
| virtual IList< IRichTextStyleItem * > * | GetTextStyleItemList ()=0 |
| | Gets the current message's chat message font style list.
|
| |
| virtual IList< SegmentDetails > * | GetSegmentDetails ()=0 |
| | Gets the chat message segment content and style detail of the current message. 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.
|
| |
| virtual const zchar_t * | GetThreadID ()=0 |
| | Gets the current message's thread ID.
|
| |
| virtual | ~IChatMsgInfo () |
| |
Chat message interface.
Definition at line 317 of file meeting_chat_interface.h.
◆ ~IChatMsgInfo()
| virtual IChatMsgInfo::~IChatMsgInfo |
( |
| ) |
|
|
inlinevirtual |
◆ GetChatMessageType()
Gets the chat message type of the current message.
- Returns
- If the function succeeds, it returns the chat message type of the current message.
◆ GetContent()
| virtual const zchar_t * IChatMsgInfo::GetContent |
( |
| ) |
|
|
pure virtual |
Gets the content of the current message.
- Returns
- If the function succeeds, the return value is the pointer to the content of the current message. Otherwise, the return value is nullptr.
◆ GetMessageID()
| virtual const zchar_t * IChatMsgInfo::GetMessageID |
( |
| ) |
|
|
pure virtual |
Gets the message ID of the current message.
- Returns
- If the function succeeds, the return value is the message ID of the current message. Otherwise, this function returns an error, the return value is the string of length zero(0)
◆ GetReceiverDisplayName()
| virtual const zchar_t * IChatMsgInfo::GetReceiverDisplayName |
( |
| ) |
|
|
pure virtual |
Gets the receiver screen name of the current message.
- Returns
- If the function succeeds, the return value is the receiver screen name of the current message. Otherwise, the return value is the string of length zero(0).
◆ GetReceiverUserId()
| virtual unsigned int IChatMsgInfo::GetReceiverUserId |
( |
| ) |
|
|
pure virtual |
Gets the receiver ID of the current message.
- Returns
- If the function succeeds, it returns the receiver ID of the current message. ZERO(0) indicates that the message is sent to all. ONE(1) indicates that the messages are sent to all the panelists. Otherwise, the return value is negative ONE(-1).
◆ GetSegmentDetails()
Gets the chat message segment content and style detail of the current message. 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.
◆ GetSenderDisplayName()
| virtual const zchar_t * IChatMsgInfo::GetSenderDisplayName |
( |
| ) |
|
|
pure virtual |
Gets the sender screen name of the current message.
- Returns
- If the function succeeds, the return value is sender screen name of the current message. Otherwise, this function returns an error, the return value is nullptr.
- Note
- If the message is sent to all or to all panelists, the return value will be nullptr.
◆ GetSenderUserId()
| virtual unsigned int IChatMsgInfo::GetSenderUserId |
( |
| ) |
|
|
pure virtual |
Gets the sender ID of the current message.
- Returns
- If the function succeeds, the return value is the sender ID of the current message. Otherwise, this function returns an error, the return value is -1.
◆ GetTextStyleItemList()
Gets the current message's chat message font style list.
- Deprecated
- This class is marked as deprecated
◆ GetThreadID()
| virtual const zchar_t * IChatMsgInfo::GetThreadID |
( |
| ) |
|
|
pure virtual |
Gets the current message's thread ID.
- Returns
- If the function succeeds, the return value is the current message's thread ID. Otherwise, the return value is the string of length zero(0)
◆ GetTimeStamp()
| virtual time_t IChatMsgInfo::GetTimeStamp |
( |
| ) |
|
|
pure virtual |
Gets the timestamps of the current message.
- Returns
- If the function succeeds, the return value is the timestamps of the current message.
◆ IsChatToAll()
| virtual bool IChatMsgInfo::IsChatToAll |
( |
| ) |
|
|
pure virtual |
Determines if the current message is sent to all.
- Returns
- true if the current message is sent to all. Otherwise, false.
◆ IsChatToAllPanelist()
| virtual bool IChatMsgInfo::IsChatToAllPanelist |
( |
| ) |
|
|
pure virtual |
Determines if the current message is sent to all the panelists.
- Returns
- true if the current message is sent to all the panelists. Otherwise, false.
◆ IsChatToWaitingroom()
| virtual bool IChatMsgInfo::IsChatToWaitingroom |
( |
| ) |
|
|
pure virtual |
Determines if the current message is sent to waiting room.
- Returns
- true if the current message is sent to waiting room. Otherwise, false.
◆ IsComment()
| virtual bool IChatMsgInfo::IsComment |
( |
| ) |
|
|
pure virtual |
Determines if the current message is a reply to another message.
- Returns
- true if the current message is a reply to another message. Otherwise, false.
◆ IsThread()
| virtual bool IChatMsgInfo::IsThread |
( |
| ) |
|
|
pure virtual |
Determines if the current message is part of a message thread, and can be directly replied to.
- Returns
- true if the current message is a part of a message thread. Otherwise, false.