add: type definition for messagingMessage event

This commit is contained in:
Nya Candy 2021-10-17 12:27:21 +08:00
parent 71f35d90c5
commit 18ffecf395
No known key found for this signature in database
GPG key ID: 8B1BE5E86F2E66AE

View file

@ -16,6 +16,7 @@ export type Channels = {
meUpdated: (payload: MeDetailed) => void;
pageEvent: (payload: PageEvent) => void;
urlUploadFinished: (payload: { marker: string; file: DriveFile; }) => void;
messagingMessage: (payload: MessagingMessage) => void;
readAllNotifications: () => void;
unreadNotification: () => void;
unreadMention: () => void;