Skip to content

v2.forums.post.edit

cyperdark edited this page May 23, 2023 · 1 revision

Authentication

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

Function

await v2.forums.post.edit(post_id, body)

Parameters

Parameter Type Description
post_id number Post id
body number Body of the post

Response

export interface response {
  created_at: string;
  deleted_at: string;
  edited_at: string;
  edited_by_id: number;
  forum_id: number;
  id: number;
  topic_id: number;
  user_id: number;
  body: {
    html: string;
    raw: string;
  };
}

[v3.x.x] Documentation


[v2.x.x] Documentation

Clone this wiki locally