Skip to content

Commit 47adf1d

Browse files
Added caption to EmbedBlock
1 parent 2e31537 commit 47adf1d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Src/Notion.Client/Models/Blocks/EmbedBlock.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Newtonsoft.Json;
1+
using System.Collections.Generic;
2+
using Newtonsoft.Json;
23

34
namespace Notion.Client
45
{
@@ -13,6 +14,10 @@ public class Info
1314
{
1415
[JsonProperty("url")]
1516
public string Url { get; set; }
17+
18+
[JsonProperty("caption")]
19+
public IEnumerable<RichTextBase> Caption { get; set; }
20+
1621
}
1722
}
1823
}

0 commit comments

Comments
 (0)