C#C
C#3y ago
burn

❔ How do I implement this property?

I'm trying to use a C# Notion API wrapper, I've got my code working but for the love of god I cannot figure out how to implement this RichText property.

It's an IEnumerable so I thought this would work but I got a 400 bad request from the API so I don't think this is how the authors meant for it to be used. Could someone take a quick look at the GitHub and help me understand? Tysm ❤️
RichText = new List<RichTextBaseInput>() { new RichTextBaseInput()
{
    PlainText = "shouldn't this work?"
} },
GitHub
A Notion SDK for .Net. Contribute to notion-dotnet/notion-sdk-net development by creating an account on GitHub.
Was this page helpful?