Class: Google::Apis::ChatV1::CustomEmoji

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

Represents a custom emoji.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomEmoji

Returns a new instance of CustomEmoji.



836
837
838
# File 'lib/google/apis/chat_v1/classes.rb', line 836

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

Instance Attribute Details

#uidString

Output only. Unique key for the custom emoji resource. Corresponds to the JSON property uid

Returns:

  • (String)


834
835
836
# File 'lib/google/apis/chat_v1/classes.rb', line 834

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



841
842
843
# File 'lib/google/apis/chat_v1/classes.rb', line 841

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