class Google::Apis::ChatV1::ActionResponse
Parameters that a bot can use to configure how it's response is posted.
Attributes
dialog_action[RW]
Contains dialog if present as well as the ActionStatus
for the request sent from user. Corresponds to the JSON property `dialogAction` @return [Google::Apis::ChatV1::DialogAction]
type[RW]
The type of bot response. Corresponds to the JSON property `type` @return [String]
url[RW]
URL for users to auth or config. (Only for REQUEST_CONFIG response types.) Corresponds to the JSON property `url` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 73 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 78 def update!(**args) @dialog_action = args[:dialog_action] if args.key?(:dialog_action) @type = args[:type] if args.key?(:type) @url = args[:url] if args.key?(:url) end