editNote

Chỉnh sửa ghi chú

api.editNote(title, topicId, groupId)

Parameters

  • title string

  • topicId string

  • groupId string

Return

Promise<EditNoteResponse>

  • id string

  • type number

  • color number

  • emoji string

  • startTime number

  • duration number

  • params

    • title string

    • extra string

  • creatorId string

  • editorId string

  • createTime number

  • editTime number

  • repeat number

Examples

const groupId = "0000000000000000000";
const topicId = "";
const newTitle = "Tiêu đề mới"

api.editNote(newTitle, topicId, groupId)
    .then(console.log)
    .catch(console.error);

Last updated