RichText/RichTextMention.cs

notion-sdk-net · Src/Notion.Client/Models/Database/RichText/RichTextMention.cs · csharp · MIT
database

RichTextMention.cs from notion-dotnet/notion-sdk-net

// Source: https://github.com/notion-dotnet/notion-sdk-net | License: MIT | Copyright 2021 Vedant Koditkar
// Provided via justclaw.it.com; keep this notice with the code.
using Newtonsoft.Json;

namespace Notion.Client
{
    public class RichTextMention : RichTextBase
    {
        public override RichTextType Type => RichTextType.Mention;

        [JsonProperty("mention")]
        public Mention Mention { get; set; }
    }

    public class Mention
    {
        [JsonProperty("type")]
        public string Type { get; set; }

        [JsonProperty("user")]
        public User User { get; set; }

        [JsonProperty("page")]
        public ObjectId Page { get; set; }

        [JsonProperty("database")]
        public ObjectId Database { get; set; }

        [JsonProperty("date")]
     

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key