Reference documentation and code samples for the Google Apps Chat V1 Client class CardFixedFooter.
A persistent (sticky) footer that that appears at the bottom of the card.
Setting fixedFooter
without specifying a primaryButton
or a secondaryButton
causes an error.
For Chat apps, you can use fixed footers in dialogs
, but not card
messages
.
For an example in Google Chat apps, see Add a persistent
footer
. Google Workspace Add-ons and Chat
apps
:
Generated from protobuf message google.apps.card.v1.Card.CardFixedFooter
Namespace
Google \ Apps \ Card \ V1 \ CardMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ primary_button
Google\Apps\Card\V1\Button
The primary button of the fixed footer. The button must be a text button with text and color set.
↳ secondary_button
Google\Apps\Card\V1\Button
The secondary button of the fixed footer. The button must be a text button with text and color set. If secondaryButton
is set, you must also set primaryButton
.
getPrimaryButton
The primary button of the fixed footer. The button must be a text button with text and color set.
hasPrimaryButton
clearPrimaryButton
setPrimaryButton
The primary button of the fixed footer. The button must be a text button with text and color set.
$this
getSecondaryButton
The secondary button of the fixed footer. The button must be a text button with text and color set.
If secondaryButton
is set, you must also set primaryButton
.
hasSecondaryButton
clearSecondaryButton
setSecondaryButton
The secondary button of the fixed footer. The button must be a text button with text and color set.
If secondaryButton
is set, you must also set primaryButton
.
$this