Chat SDK for Unity and Windows v1.3.0
Public Attributes | List of all members
AgoraChat.ChatThread Class Reference
Inheritance diagram for AgoraChat.ChatThread:

Public Attributes

string Tid
 
string MessageId
 
string ParentId
 
string Owner
 
string Name
 
int MessageCount
 
int MembersCount
 
long CreateAt
 
Message LastMessage
 

Member Data Documentation

◆ Tid

string AgoraChat.ChatThread.Tid

Gets the message thread ID.

Returns
The message thread ID.

◆ MessageId

string AgoraChat.ChatThread.MessageId

Gets the ID of the parent message.

Returns
The ID of the parent message.

◆ ParentId

string AgoraChat.ChatThread.ParentId

Gets the group ID to which the message thread belongs.

Returns
The group ID.

◆ Owner

string AgoraChat.ChatThread.Owner

Gets the message thread creator.

This message thread creator is returned when you get the message thread details and message thread list.

Returns
The user ID of the message thread creator.

◆ Name

string AgoraChat.ChatThread.Name

Gets the message thread name.

Returns
The message thread name.

◆ MessageCount

int AgoraChat.ChatThread.MessageCount

Get the number of messages in a message thread.

To get the number of messages in a message thread, you need to first call IChatThreadManager#GetThreadDetail to get details of the message thread.

Returns
The message count.

◆ MembersCount

int AgoraChat.ChatThread.MembersCount

Gets the number of members in the message thread.

To get the member count, you need to first call IChatThreadManager#GetThreadDetail to get details of the message thread.

Returns
The number of members in the message thread.

◆ CreateAt

long AgoraChat.ChatThread.CreateAt

Gets the Unix timestamp when the message thread is created. The unit is millisecond.

Returns
The Unix timestamp when the message thread is created.

◆ LastMessage

Message AgoraChat.ChatThread.LastMessage

Get the last reply in the message thread.

To get the last reply in the message thread, you need to first call IChatThreadManager#GetThreadDetail to get details of the message thread.

Returns
The last reply in the message thread.