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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#card
def card() -> ::Google::Apps::Card::V1::Card
Returns
- (::Google::Apps::Card::V1::Card) — A card. Maximum size is 32 KB.
#card=
def card=(value) -> ::Google::Apps::Card::V1::Card
Parameter
- value (::Google::Apps::Card::V1::Card) — A card. Maximum size is 32 KB.
Returns
- (::Google::Apps::Card::V1::Card) — A card. Maximum size is 32 KB.
#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.