Reference documentation and code samples for the Google Apps Chat V1 Client class Card.
A card is a UI element that can contain UI widgets such as text and images.
Generated from protobuf message google.chat.v1.ContextualAddOnMarkup.Card
Namespace
Google \ Apps \ Chat \ V1 \ ContextualAddOnMarkupMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ header
↳ sections
↳ card_actions
↳ name
string
Name of the card.
getHeader
The header of the card. A header usually contains a title and an image.
hasHeader
clearHeader
setHeader
The header of the card. A header usually contains a title and an image.
$this
getSections
Sections are separated by a line divider.
setSections
Sections are separated by a line divider.
$this
getCardActions
The actions of this card.
setCardActions
The actions of this card.
$this
getName
Name of the card.
string
setName
Name of the card.
var
string
$this