-
Notifications
You must be signed in to change notification settings - Fork 16
v2.chat.channels.join
cyperdark edited this page May 23, 2023
·
1 revision
Join channel by id
const { auth } = require('osu-api-extended');
await auth.login_lazer(username, password);
await v2.chat.channels.join(channel_id, user_id)
Parameter | Type | Description |
---|---|---|
channel_id | number |
Channel id |
user_id | number |
User id |
export interface response {
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: string;
};
last_message_id: number;
last_read_id: string;
users: [];
}