Class: Google::Apis::ChatV1::CustomEmojiMetadata

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb

Overview

Annotation metadata for custom emoji.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomEmojiMetadata

Returns a new instance of CustomEmojiMetadata.



1007
1008
1009
# File 'lib/google/apis/chat_v1/classes.rb', line 1007

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#custom_emojiGoogle::Apis::ChatV1::CustomEmoji

Represents a custom emoji. Corresponds to the JSON property customEmoji



1005
1006
1007
# File 'lib/google/apis/chat_v1/classes.rb', line 1005

def custom_emoji
  @custom_emoji
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1012
1013
1014
# File 'lib/google/apis/chat_v1/classes.rb', line 1012

def update!(**args)
  @custom_emoji = args[:custom_emoji] if args.key?(:custom_emoji)
end