Show / Hide Table of Contents

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

Inheritance
object
CardWithId
Implements
IMessage<CardWithId>
IEquatable<CardWithId>
IDeepCloneable<CardWithId>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class CardWithId : IMessage<CardWithId>, IEquatable<CardWithId>, IDeepCloneable<CardWithId>, IBufferMessage, IMessage

Constructors

CardWithId()

Declaration
public CardWithId()

CardWithId(CardWithId)

Declaration
public CardWithId(CardWithId other)
Parameters
Type Name Description
CardWithId other

Properties

Card

A card. Maximum size is 32 KB.

Declaration
public Card Card { get; set; }
Property Value
Type Description
Card

CardId

Required if the message contains multiple cards. A unique identifier for a card in a message.

Declaration
public string CardId { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX