Class Card.Types.CardHeader
Represents a card header. For an example in Google Chat apps, see Add a header.
Implements
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.
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 |