Skip to content

v2.chat.channels.details

cyperdark edited this page May 23, 2023 · 3 revisions

Return details about specified channel (only channel that you joined to)

Authentication

const { auth } = require('osu-api-extended');
await auth.login_lazer(username, password);

Function

await v2.chat.channels.details(channel)

Parameters

Parameter Type Description
channel number id of the channel

Response

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: [];
}

[v3.x.x] Documentation


[v2.x.x] Documentation

Clone this wiki locally