1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2025-06-15 00:05:04 +02:00

Add support for audio block type (#48)

Closes #47
This commit is contained in:
David Stotijn
2022-11-18 19:55:59 +01:00
committed by GitHub
parent de8cab86ca
commit 87a7d4c3cd
2 changed files with 34 additions and 0 deletions

View File

@ -189,6 +189,12 @@ func main() {
URL: "https://picsum.photos/600/200.jpg",
},
},
notion.AudioBlock{
Type: notion.FileTypeExternal,
External: &notion.FileExternal{
URL: "https://download.samplelib.com/mp3/sample-3s.mp3",
},
},
notion.VideoBlock{
Type: notion.FileTypeExternal,
External: &notion.FileExternal{