1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-22 18:51:36 +02:00
server/dist/Schema/Identify.d.ts
Flam3rboy 7099b88ea5 🔧 build
2021-02-06 21:39:23 +01:00

69 lines
2.0 KiB
TypeScript

import { ActivitySchema } from "./Activity";
export declare const IdentifySchema: {
token: StringConstructor;
intents: BigIntConstructor;
$properties: {
$$os: StringConstructor;
$$browser: StringConstructor;
$$device: StringConstructor;
};
$presence: {
afk: BooleanConstructor;
status: StringConstructor;
$activities: {
name: StringConstructor;
type: NumberConstructor;
$url: StringConstructor;
$created_at: NumberConstructor;
$timestamps: {
start: NumberConstructor;
end: NumberConstructor;
};
$application_id: BigIntConstructor;
$details: StringConstructor;
$State: StringConstructor;
$emoji: {
name: StringConstructor;
$id: BigIntConstructor;
animated: BooleanConstructor;
};
$party: {
$id: StringConstructor;
$size: NumberConstructor[];
};
$assets: {
$large_image: StringConstructor;
$large_text: StringConstructor;
$small_image: StringConstructor;
$small_text: StringConstructor;
};
$secrets: {
$join: StringConstructor;
$spectate: StringConstructor;
$match: StringConstructor;
};
$instance: BooleanConstructor;
flags: BigIntConstructor;
}[];
$since: NumberConstructor;
};
$compress: BooleanConstructor;
$large_threshold: NumberConstructor;
$shard: NumberConstructor[];
$guild_subscriptions: BooleanConstructor;
};
export interface IdentifySchema {
token: string;
properties: {
$$os: string;
$$browser: string;
$$device: string;
};
intents: bigint;
presence?: ActivitySchema;
compress?: boolean;
large_threshold?: number;
shard?: [number];
guild_subscriptions?: boolean;
}