Class: Google::Apis::ChatV1::CustomEmoji
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::CustomEmoji
- 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
-
#uid ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomEmoji
constructor
A new instance of CustomEmoji.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#uid ⇒ String
Output only. Unique key for the custom emoji resource.
Corresponds to the JSON property uid
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 |