mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
18 lines
586 B
TypeScript
18 lines
586 B
TypeScript
/// <reference path="../util/MongoBigInt.d.ts" />
|
|
import { Schema, Document } from "mongoose";
|
|
export interface VoiceState extends Document {
|
|
guild_id?: bigint;
|
|
channel_id: bigint;
|
|
user_id: bigint;
|
|
session_id: string;
|
|
deaf: boolean;
|
|
mute: boolean;
|
|
self_deaf: boolean;
|
|
self_mute: boolean;
|
|
self_stream?: boolean;
|
|
self_video: boolean;
|
|
suppress: boolean;
|
|
}
|
|
export declare const VoiceSateSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>;
|
|
export declare const VoiceStateModel: import("mongoose").Model<VoiceState>;
|