Reference documentation and code samples for the Google Apps Chat V1 Client class OpenLink.
Represents an onClick
event that opens a hyperlink.
Google Workspace Add-ons and Chat apps :
Generated from protobuf message google.apps.card.v1.OpenLink
Namespace
Google \ Apps \ Card \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ url
string
The URL to open.
↳ open_as
↳ on_close
int
Whether the client forgets about a link after opening it, or observes it until the window closes. Google Workspace Add-ons :
getUrl
The URL to open.
string
setUrl
The URL to open.
var
string
$this
getOpenAs
How to open a link.
int
setOpenAs
How to open a link.
var
int
$this
getOnClose
Whether the client forgets about a link after opening it, or observes it until the window closes.
int
setOnClose
Whether the client forgets about a link after opening it, or observes it until the window closes.
var
int
$this