Reference documentation and code samples for the Google Apps Chat V1 Client class ActionResponse.
Parameters that a Chat app can use to configure how its response is posted.
Generated from protobuf message google.chat.v1.ActionResponse
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
int
Input only. The type of Chat app response.
↳ url
string
Input only. URL for users to authenticate or configure. (Only for REQUEST_CONFIG
response types.)
↳ dialog_action
Google\Apps\Chat\V1\DialogAction
Input only. A response to an interaction event related to a dialog
. Must be accompanied by ResponseType.Dialog
.
↳ updated_widget
getType
Input only. The type of Chat app response.
int
setType
Input only. The type of Chat app response.
var
int
$this
getUrl
Input only. URL for users to authenticate or configure. (Only for REQUEST_CONFIG
response types.)
string
setUrl
Input only. URL for users to authenticate or configure. (Only for REQUEST_CONFIG
response types.)
var
string
$this
getDialogAction
Input only. A response to an interaction event related to a dialog
. Must be
accompanied by ResponseType.Dialog
.
hasDialogAction
clearDialogAction
setDialogAction
Input only. A response to an interaction event related to a dialog
. Must be
accompanied by ResponseType.Dialog
.
$this
getUpdatedWidget
Input only. The response of the updated widget.
hasUpdatedWidget
clearUpdatedWidget
setUpdatedWidget
Input only. The response of the updated widget.
$this