-Removed unread messages while connecting
-Added KeyedDB integration
-pdf mimetype fix + mimetype can be string now
This commit is contained in:
Adhiraj
2020-07-31 17:32:15 +05:30
parent 44bf842724
commit b06f53401f
8 changed files with 85 additions and 66 deletions
+2 -2
View File
@@ -55,7 +55,7 @@ export enum Mimetype {
png = 'image/png',
mp4 = 'video/mp4',
gif = 'video/gif',
pdf = 'appliction/pdf',
pdf = 'application/pdf',
ogg = 'audio/ogg; codecs=opus',
/** for stickers */
webp = 'image/webp',
@@ -66,7 +66,7 @@ export interface MessageOptions {
timestamp?: Date
caption?: string
thumbnail?: string
mimetype?: Mimetype
mimetype?: Mimetype | string
validateID?: boolean,
filename?: string
}