HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
📌
hkob's Notion
/
NotionRubyMapping idea note
NotionRubyMapping idea note
/
Notion Ruby Mapping Public API Reference
Notion Ruby Mapping Public API Reference
/
⭕
EmojiObject
⭕

EmojiObject

👉
Links (Object base class)
⭕
CommentObject
⭕
FileObject
⭕
TextObject
⭕
EmojiObject
⭕
FileUploadObject
⭕
UserObject
⭕
EquationObject
⭕
MentionObject
Notion Ruby Mapping Public API Reference
Notion Ruby Mapping Public API Reference
ℹ️
↑ Table of Contents
1. Class methodsemoji_object(emoji_or_eo)2. Instance methodsemoji=(str)

1. Class methods

emoji_object(emoji_or_eo)

  • [PARAM] emoji_or_eo
    • emoji like as “🎂” (String)
    • existing EmojiObject
eo = EmojiObject.emoji_object "🎂" => #<NotionRubyMapping::EmojiObject:0x000000010983f450 @emoji="🎂", @will_update=false> eo2 = EmojiObject.emoji_object eo => #<NotionRubyMapping::EmojiObject:0x000000010983f450 @emoji="🎂", @will_update=false> # eo and eo2 are equal object.
ℹ️
↑ Table of Contents

2. Instance methods

emoji=(str)

  • [PARAM] str str like as “🎂” (String)
emoji= sets str to emoji, and set will_update flag to true.
eo = EmojiObject.emoji_object "🎂" => #<NotionRubyMapping::EmojiObject:0x000000010983f450 @emoji="🎂", @will_update=false> eo.emoji = "🆗" => "🆗" eo => #<NotionRubyMapping::EmojiObject:0x000000010983f450 @emoji="🆗", @will_update=true>
ℹ️
↑ Table of Contents