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.



828
829
830
# File 'lib/google/apis/chat_v1/classes.rb', line 828

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)


826
827
828
# File 'lib/google/apis/chat_v1/classes.rb', line 826

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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