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.



791
792
793
# File 'lib/google/apis/chat_v1/classes.rb', line 791

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)


789
790
791
# File 'lib/google/apis/chat_v1/classes.rb', line 789

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



796
797
798
# File 'lib/google/apis/chat_v1/classes.rb', line 796

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