From d48214e699522d90c5b0997f1cc8761ff14a180d Mon Sep 17 00:00:00 2001 From: LeleDerGrasshalmi Date: Thu, 25 Jul 2024 22:23:40 +0200 Subject: [PATCH] feat(docs): add message jsdoc & typo --- resources/structs.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/structs.ts b/resources/structs.ts index 62e974c3..34c22773 100644 --- a/resources/structs.ts +++ b/resources/structs.ts @@ -1473,7 +1473,13 @@ export interface AuthSessionStore extends Collection { /* EOS CHAT */ /* ------------------------------------------------------------------------------ */ +/** + * Represents a chat message data + */ export interface ChatMessagePayload { + /** + * The message body, should not be empty and not exceeed the limit of 256 characters + */ body: string; } @@ -1513,7 +1519,7 @@ export interface EOSConnectChatNewMsgMessage extends BaseEOSConnectMessage { namespace: string; conversation: { conversationId: string; - type: string; // i.e. 'party + type: string; // i.e. 'party' }; message: { body: string;