Reference documentation and code samples for the Google Apps Chat V1 Client class RichLinkMetadata.
A rich link to a resource.
Generated from protobuf message google.chat.v1.RichLinkMetadata
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uri |
string
The URI of this link. |
↳ rich_link_type |
int
The rich link type. |
↳ drive_link_data |
DriveLinkData
Data for a drive link. |
↳ chat_space_link_data |
ChatSpaceLinkData
Data for a chat space link. |
getUri
The URI of this link.
Returns | |
---|---|
Type | Description |
string |
setUri
The URI of this link.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRichLinkType
The rich link type.
Returns | |
---|---|
Type | Description |
int |
setRichLinkType
The rich link type.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDriveLinkData
Data for a drive link.
Returns | |
---|---|
Type | Description |
DriveLinkData|null |
hasDriveLinkData
setDriveLinkData
Data for a drive link.
Parameter | |
---|---|
Name | Description |
var |
DriveLinkData
|
Returns | |
---|---|
Type | Description |
$this |
getChatSpaceLinkData
Data for a chat space link.
Returns | |
---|---|
Type | Description |
ChatSpaceLinkData|null |
hasChatSpaceLinkData
setChatSpaceLinkData
Data for a chat space link.
Parameter | |
---|---|
Name | Description |
var |
ChatSpaceLinkData
|
Returns | |
---|---|
Type | Description |
$this |
getData
Returns | |
---|---|
Type | Description |
string |