Class: Google::Apis::ChatV1::ListCustomEmojisResponse

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

A response to list custom emojis.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCustomEmojisResponse

Returns a new instance of ListCustomEmojisResponse.



4685
4686
4687
# File 'lib/google/apis/chat_v1/classes.rb', line 4685

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#custom_emojisArray<Google::Apis::ChatV1::CustomEmoji>

Unordered list. List of custom emojis. Corresponds to the JSON property customEmojis



4677
4678
4679
# File 'lib/google/apis/chat_v1/classes.rb', line 4677

def custom_emojis
  @custom_emojis
end

#next_page_tokenString

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

Returns:

  • (String)


4683
4684
4685
# File 'lib/google/apis/chat_v1/classes.rb', line 4683

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4690
4691
4692
4693
# File 'lib/google/apis/chat_v1/classes.rb', line 4690

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