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.
828 829 830 |
# File 'lib/google/apis/chat_v1/classes.rb', line 828 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
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 |