Mark last_message as optional as well

This commit is contained in:
jack1142
2021-08-19 03:17:58 +00:00
parent 4a367f6f8f
commit f540ed38ef
+3 -3
View File
@@ -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 & {