osu-api-extended
Version:
Advanced osu! api wrapper cover all V2 and V1 endpoints, and provide useful tools
28 lines (27 loc) • 649 B
TypeScript
export interface ChatUpdatesResponse {
presence: Presence[];
silences: Silence[];
}
export interface Silence {
id: number;
user_id: number;
}
export interface Presence {
channel_id: number;
description: string;
icon?: string;
message_length_limit: number;
moderated: boolean;
name: string;
type: string;
uuid: any;
current_user_attributes: CurrentUserAttributes;
last_message_id: number;
last_read_id?: number;
users: number[];
}
export interface CurrentUserAttributes {
can_message: boolean;
can_message_error?: string;
last_read_id?: number;
}