mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-29 09:50:20 +00:00
MessageActivity: add type enum
This commit is contained in:
@@ -17,9 +17,19 @@
|
||||
*/
|
||||
|
||||
export interface MessageActivity {
|
||||
type: 1 | 3 | 5;
|
||||
type: MessageActivityType;
|
||||
session_id?: string;
|
||||
party_id?: string;
|
||||
name_override?: string;
|
||||
icon_override?: string;
|
||||
}
|
||||
|
||||
export enum MessageActivityType {
|
||||
JOIN = 1,
|
||||
// @deprecated
|
||||
SPECTATE = 2,
|
||||
LISTEN = 3,
|
||||
// @deprecated
|
||||
WATCH = 4,
|
||||
JOIN_REQUEST = 5,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user