Reference documentation and code samples for the Google Apps Chat V1 Client class CardWithId.
A card in a Google Chat message.
Only Chat apps can create cards. If your Chat app authenticates as a user , the message can't contain cards. Card builder
Generated from protobuf message google.chat.v1.CardWithId
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ card_id
string
Required if the message contains multiple cards. A unique identifier for a card in a message.
↳ card
getCardId
Required if the message contains multiple cards. A unique identifier for a card in a message.
string
setCardId
Required if the message contains multiple cards. A unique identifier for a card in a message.
var
string
$this
getCard
A card. Maximum size is 32 KB.
hasCard
clearCard
setCard
A card. Maximum size is 32 KB.
$this