Google Chat V1 API - Class Google::Apps::Chat::V1::CardWithId (v0.7.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#card

def card() -> ::Google::Apps::Card::V1::Card
Returns

#card=

def card=(value) -> ::Google::Apps::Card::V1::Card
Parameter
Returns

#card_id

def card_id() -> ::String
Returns
  • (::String) — Required if the message contains multiple cards. A unique identifier for a card in a message.

#card_id=

def card_id=(value) -> ::String
Parameter
  • value (::String) — Required if the message contains multiple cards. A unique identifier for a card in a message.
Returns
  • (::String) — Required if the message contains multiple cards. A unique identifier for a card in a message.