mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-06-15 00:05:04 +02:00
Rename UpdatePageProps
to UpdatePage
This commit is contained in:
3
page.go
3
page.go
@ -79,8 +79,9 @@ type CreatePageParams struct {
|
||||
Cover *Cover
|
||||
}
|
||||
|
||||
// UpdatePageParams is used for updating a page. At least one field should have
|
||||
// a non-empty value.
|
||||
type UpdatePageParams struct {
|
||||
// Either DatabasePageProperties, Title or Icon must be not nil.
|
||||
DatabasePageProperties *DatabasePageProperties
|
||||
Title []RichText
|
||||
Icon *Icon
|
||||
|
Reference in New Issue
Block a user