Loading...
Searching...
No Matches
FAccelByteModelsChatTopicQueryData Struct Reference

Topic Query result data. More...

#include <AccelByteChatModels.h>

Public Attributes

FString TopicId {}
FDateTime UpdatedAt {0}
 Last updated topic's time.
FString Name {}
ETopicType Type { ETopicType::Unknown }
 Chat topic types; either PERSONAL or GROUP; differs in member capacity. PERSONAL==2; GROUP>2.
TArray< FString > Members {}
 User Id of topic members.
int UnreadChats {0}

Detailed Description

Topic Query result data.

Member Data Documentation

◆ Name

FString FAccelByteModelsChatTopicQueryData::Name {}

ETopicType::GROUP -> Predefined TopicId alias ETopicType::PERSONAL -> Other chat participant UserId

◆ UnreadChats

int FAccelByteModelsChatTopicQueryData::UnreadChats {0}

[DEPRECATED] Number of unread chats by logged in user. Excluding chat sent by the querier e.g. In PERSONAL topic, between A and B. if A sent 2 chats, then A queries, it will return 0 unreadChats if B queries, then it will return 2 unread chats