Show / Hide Table of Contents

Class Card.Types.CardHeader

Represents a card header. For an example in Google Chat apps, see Add a header.

Google Workspace Add-ons and Chat apps:

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

Constructors

CardHeader()

Declaration
public CardHeader()

CardHeader(CardHeader)

Declaration
public CardHeader(Card.Types.CardHeader other)
Parameters
Type Name Description
Card.Types.CardHeader other

Properties

ImageAltText

The alternative text of this image that's used for accessibility.

Declaration
public string ImageAltText { get; set; }
Property Value
Type Description
string

ImageType

The shape used to crop the image.

Google Workspace Add-ons and Chat apps:

Declaration
public Widget.Types.ImageType ImageType { get; set; }
Property Value
Type Description
Widget.Types.ImageType

ImageUrl

The HTTPS URL of the image in the card header.

Declaration
public string ImageUrl { get; set; }
Property Value
Type Description
string

Subtitle

The subtitle of the card header. If specified, appears on its own line below the title.

Declaration
public string Subtitle { get; set; }
Property Value
Type Description
string

Title

Required. The title of the card header. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.

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