Class: Google::Apis::ChatV1::ListMessagesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::ListMessagesResponse
- 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
Instance Attribute Summary collapse
-
#messages ⇒ Array<Google::Apis::ChatV1::Message>
List of messages.
-
#next_page_token ⇒ String
You can send a token as
pageTokento retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListMessagesResponse
constructor
A new instance of ListMessagesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListMessagesResponse
Returns a new instance of ListMessagesResponse.
3287 3288 3289 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#messages ⇒ Array<Google::Apis::ChatV1::Message>
List of messages.
Corresponds to the JSON property messages
3279 3280 3281 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3279 def @messages end |
#next_page_token ⇒ String
You can send a token as pageToken to retrieve the next page of results. If
empty, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
3285 3286 3287 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3285 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3292 3293 3294 3295 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3292 def update!(**args) @messages = args[:messages] if args.key?(:messages) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |