Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::CardWithId.
A card in a Google Chat message.
Chat apps can create cards with app authentication. As part of the Developer Preview Program, if your Chat app authenticates as a user, it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication.
To learn how to create a message that contains cards, see Send a message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#card
def card() -> ::Google::Apps::Card::V1::Card- (::Google::Apps::Card::V1::Card) — A card. Maximum size is 32 KB.
#card=
def card=(value) -> ::Google::Apps::Card::V1::Card- value (::Google::Apps::Card::V1::Card) — A card. Maximum size is 32 KB.
- (::Google::Apps::Card::V1::Card) — A card. Maximum size is 32 KB.
#card_id
def card_id() -> ::String- (::String) — Required if the message contains multiple cards. A unique identifier for a card in a message.
#card_id=
def card_id=(value) -> ::String- value (::String) — Required if the message contains multiple cards. A unique identifier for a card in a message.
- (::String) — Required if the message contains multiple cards. A unique identifier for a card in a message.