deltachat / deltachat-node

Email-based instant messaging for Node.js.
GNU General Public License v3.0
45 stars 11 forks source link

Message.getJSON() does not contain all properties #488

Open Simon-Laux opened 3 years ago

Simon-Laux commented 3 years ago

some file properties are missing - we should add them. and after that cleanup the MessageType in desktop that is mostly there as an workaround around the message.getJSON not providing all values.

Simon-Laux commented 2 years ago

current definition in desktop:

export type MessageType = JsonMessage & {
  sender: JsonContact
  setupCodeBegin?: string
  file_mime: string | null
  file_bytes: number | null
  file_name: string | null
}

so this issue is still valid?