Skip to content

McpThreadedChatV3

Class in IpDrv · IpDrv.McpThreadedChatV3

Object › McpServiceBase › McpThreadedChatBase › McpThreadedChatV3

Using it from Lua
h7.find_all("McpThreadedChatV3")            -- live instances
h7.find_class("IpDrv.McpThreadedChatV3")   -- the class
h7.hook("IpDrv.McpThreadedChatV3.ClearChatPosts", fn)

Structs

PostRequest

FieldType
PostIdstring
RequestHttpRequestInterface

ThreadRequest

FieldType
ThreadIdstring
RequestHttpRequestInterface

UserRequest

FieldType
McpIdstring
RequestHttpRequestInterface

UserThreadNameRequest

Struct extends UserRequest

FieldType
ThreadNamestring

UserThreadRequest

Struct extends ThreadRequest

FieldType
McpIdstring

Properties

NameTypeNotes
bWantsRepliesForUsersboolconfig
ChatPostsarray<McpChatPost>
ChatPostsResourceConcerningUserStringconfig
ChatPostsResourceForUsersStringconfig
ChatThreadResourceStringconfig
ChatThreadResourceConcerningUserStringconfig
PostRequestsarray<PostRequest>
SystemChatThreadsarray<McpSystemChatThread>
ThreadRequestsarray<ThreadRequest>
UserChatThreadsarray<McpUserChatThread>
UserRequestsarray<UserRequest>
UserThreadNameRequestsarray<UserThreadNameRequest>
UserThreadRequestsarray<UserThreadRequest>

Functions

NameDeclaration
ClearChatPostsfunction ClearChatPosts(String ThreadId)
CreateUserChatThreadfunction CreateUserChatThread(String McpId, String ThreadName)
DeleteUserDatafunction DeleteUserData(String McpId)
GetChatPostsfunction GetChatPosts(String ThreadId, out array<McpChatPost> OutChatPosts)
GetChatPostsForUserfunction GetChatPostsForUser(String McpId, out array<McpChatPost> OutChatPosts, optional String ThreadId)
GetSystemChatThreadsfunction GetSystemChatThreads(out array<McpSystemChatThread> OutSystemChatThreads)
GetUserChatThreadsfunction GetUserChatThreads(String McpId, out array<McpUserChatThread> OutUserChatThreads)
OnCreateUserChatThreadRequestCompletefunction OnCreateUserChatThreadRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnDeleteUserDataRequestCompletefunction OnDeleteUserDataRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnPostToThreadRequestCompletefunction OnPostToThreadRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnReadChatPostsConcerningUserRequestCompletefunction OnReadChatPostsConcerningUserRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnReadChatPostsRequestCompletefunction OnReadChatPostsRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnReadSystemChatThreadsRequestCompletefunction OnReadSystemChatThreadsRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnReadUserChatThreadsRequestCompletefunction OnReadUserChatThreadsRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnReportPostRequestCompletefunction OnReportPostRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnVoteOnPostRequestCompletefunction OnVoteOnPostRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
ParseChatPostprotected function ParseChatPost(JsonObject ParsedJson)
ParseChatPostsfunction ParseChatPosts(String JsonPayload)
ParseSystemChatThreadprotected function ParseSystemChatThread(JsonObject ParsedJson)
ParseThreadsprotected function ParseThreads(String JsonPayload, bool bSystemThread)
ParseUserChatThreadprotected function ParseUserChatThread(JsonObject ParsedJson)
PostToThreadfunction PostToThread(String ThreadId, String McpId, String OwnerName, String Message, optional String ReplyToMessageId, optional String ReplyToOwnerId, optional String ReplyToOwnerName)
ReadChatPostsByPopularityfunction ReadChatPostsByPopularity(String ThreadId, int Start = 0, int Count = 20)
ReadChatPostsByTimefunction ReadChatPostsByTime(String ThreadId, String Before = "", int Count = 20)
ReadChatPostsConcerningUserfunction ReadChatPostsConcerningUser(String McpId, optional String ThreadId, optional int Start = 0, optional int Count = 20)
ReadChatPostsForUsersfunction ReadChatPostsForUsers(String ThreadId, const out array McpIds, optional int Start = 0, optional int Count = 20)
ReadSystemChatThreadsfunction ReadSystemChatThreads()
ReadUserChatThreadsfunction ReadUserChatThreads(String McpId)
ReportPostfunction ReportPost(String ThreadId, String PostId, String McpId)
VoteDownPostfunction VoteDownPost(String ThreadId, String PostId, String McpId)
VoteOnPostfunction VoteOnPost(String ThreadId, String PostId, String McpId, bool bVoteUp)
VoteUpPostfunction VoteUpPost(String ThreadId, String PostId, String McpId)

Inherited

FromMembers
McpThreadedChatBase1 properties, 27 functions
McpServiceBase2 properties, 16 functions
Object13 properties, 308 functions