-
Notifications
You must be signed in to change notification settings - Fork 16
v2.chat.channels.details
cyperdark edited this page May 23, 2023
·
3 revisions
Return details about specified channel (only channel that you joined to)
const { auth } = require('osu-api-extended');
await auth.login_lazer(username, password);
await v2.chat.channels.details(channel)
Parameter | Type | Description |
---|---|---|
channel | number |
id of the channel |
export interface response {
channel: {
channel_id: number;
description: string;
icon: string;
moderated: boolean;
name: string;
type: string;
uuid: string;
current_user_attributes: {
can_message: boolean;
can_message_error: string;
last_read_id: number;
};
last_message_id: number;
last_read_id: number;
users: [];
};
users: [];
}