New NotionToDoBlock - fasteiner/Notion GitHub Wiki
Creates a new Notion to-do block object.
New-NotionToDoBlock [<CommonParameters>]
New-NotionToDoBlock -RichText <Object> -Checked <Boolean>
[<CommonParameters>]
New-NotionToDoBlock -RichText <Object> [<CommonParameters>]
This function creates a new instance of the notion_to_do_block class. You can create an empty to-do block, provide rich text content, or provide rich text content and a checked state.
New-NotionToDoBlock
New-NotionToDoBlock -RichText "Buy milk"
New-NotionToDoBlock -RichText "Buy milk" -Checked $true
Indicates whether the to-do item is checked.
Type: Boolean
Parameter Sets: WithTextAndChecked
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
The rich text content for the to-do item.
Type: Object
Parameter Sets: WithTextAndChecked, WithText
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.