add websocket functionality
This commit is contained in:
6
types.d.ts
vendored
6
types.d.ts
vendored
@ -64,3 +64,9 @@ export interface Mention {
|
||||
url: string;
|
||||
username: string;
|
||||
}
|
||||
|
||||
export interface WSEvent {
|
||||
event: "update" | "status.update" | "notification";
|
||||
payload: string;
|
||||
stream: "user" | "direct";
|
||||
}
|
||||
|
Reference in New Issue
Block a user