Class: Google::Apps::Chat::V1::CardWithId

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/chat/v1/message.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#card::Google::Apps::Card::V1::Card

Returns A card. Maximum size is 32 KB.

Returns:



654
655
656
657
# File 'proto_docs/google/chat/v1/message.rb', line 654

class CardWithId
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#card_id::String

Returns 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.



654
655
656
657
# File 'proto_docs/google/chat/v1/message.rb', line 654

class CardWithId
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end