diff --git a/types/Channels.ts b/types/Channels.ts index 7d1dd71..f816ee8 100644 --- a/types/Channels.ts +++ b/types/Channels.ts @@ -58,7 +58,7 @@ export type DirectMessageChannel = { */ recipients: Id[] - last_message: LastMessage + last_message?: LastMessage } export type GroupChannel = { @@ -89,7 +89,7 @@ export type GroupChannel = { */ description?: string, - last_message: LastMessage, + last_message?: LastMessage, /** * Group icon @@ -151,7 +151,7 @@ export type ServerChannel = { export type TextChannel = ServerChannel & { channel_type: 'TextChannel' - last_message: string + last_message?: string } export type VoiceChannel = ServerChannel & {