createNote

Tạo ghi chú mới

api.createNote(options, groupId)

Parameters

  • options

    • title string

    • pinAct boolean?

      • Ghim ghi chú, mặc định false

  • groupId string

Return

Promise<CreateNoteResponse>

CreateNoteResponse

  • id string

  • type number

  • color number

  • emoji string

  • startTime number

  • duration number

  • params

    • title string

  • creatorId string

  • editorId string

  • createTime number

  • editTime number

  • repeat number

Examples

Tạp ghi chú mới

const groupId = "0000000000000000000";

api.createNote(
    {
        title: "ghi chú mới",
        pinAct: true
    },
    groupId,
)
    .then(console.log)
    .catch(console.error);

Last updated