Skip to content

Commit

Permalink
feat(docs): add message jsdoc & typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LeleDerGrasshalmi committed Jul 25, 2024
1 parent c78a0b3 commit d48214e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion resources/structs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,13 @@ export interface AuthSessionStore<K, V> extends Collection<K, V> {
/* 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;
}

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit d48214e

Please sign in to comment.