Class: Google::Apis::ChatV1::ListCustomEmojisResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::ListCustomEmojisResponse
- 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
A response to list custom emojis.
Instance Attribute Summary collapse
-
#custom_emojis ⇒ Array<Google::Apis::ChatV1::CustomEmoji>
Unordered list.
-
#next_page_token ⇒ String
A token that you can send as
pageTokento retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListCustomEmojisResponse
constructor
A new instance of ListCustomEmojisResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListCustomEmojisResponse
Returns a new instance of ListCustomEmojisResponse.
4559 4560 4561 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4559 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_emojis ⇒ Array<Google::Apis::ChatV1::CustomEmoji>
Unordered list. List of custom emojis.
Corresponds to the JSON property customEmojis
4551 4552 4553 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4551 def custom_emojis @custom_emojis end |
#next_page_token ⇒ String
A token that you can send as pageToken to retrieve the next page of results.
If empty, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
4557 4558 4559 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4557 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4564 4565 4566 4567 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4564 def update!(**args) @custom_emojis = args[:custom_emojis] if args.key?(:custom_emojis) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |