class Google::Apis::ChatV1::DialogAction
Contains dialog if present as well as the ActionStatus
for the request sent from user.
Attributes
action_status[RW]
ActionStatus
represents status of a request from the bot developer's side. In specific, for each request a bot gets, the bot developer will set both fields below in relation to what the response status and message related to status should be. Corresponds to the JSON property `actionStatus` @return [Google::Apis::ChatV1::ActionStatus]
dialog[RW]
Wrapper around the card body of the dialog. Corresponds to the JSON property `dialog` @return [Google::Apis::ChatV1::Dialog]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 728 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/chat_v1/classes.rb, line 733 def update!(**args) @action_status = args[:action_status] if args.key?(:action_status) @dialog = args[:dialog] if args.key?(:dialog) end