forked from Ivasoft/mattermost-mobile
[Gekidou MM-39728] - Websocket Events - Preferences (#5865)
This commit is contained in:
16
types/api/websocket.ts
Normal file
16
types/api/websocket.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
||||
// See LICENSE.txt for license information.
|
||||
|
||||
export type WebsocketBroadcast = {
|
||||
omit_users: Dictionary<boolean>;
|
||||
user_id: string;
|
||||
channel_id: string;
|
||||
team_id: string;
|
||||
}
|
||||
|
||||
export type WebSocketMessage = {
|
||||
event: string;
|
||||
data: any;
|
||||
broadcast: WebsocketBroadcast;
|
||||
seq: number;
|
||||
}
|
||||
Reference in New Issue
Block a user