View Source GoogleApi.Chat.V1.Model.Card (google_api_chat v0.34.0)
A card is a UI element that can contain UI widgets such as text and images.
Attributes
-
cardActions
(type:list(GoogleApi.Chat.V1.Model.CardAction.t)
, default:nil
) - The actions of this card. -
header
(type:GoogleApi.Chat.V1.Model.CardHeader.t
, default:nil
) - The header of the card. A header usually contains a title and an image. -
name
(type:String.t
, default:nil
) - Name of the card. -
sections
(type:list(GoogleApi.Chat.V1.Model.Section.t)
, default:nil
) - Sections are separated by a line divider.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Chat.V1.Model.Card{ cardActions: [GoogleApi.Chat.V1.Model.CardAction.t()] | nil, header: GoogleApi.Chat.V1.Model.CardHeader.t() | nil, name: String.t() | nil, sections: [GoogleApi.Chat.V1.Model.Section.t()] | nil }
Functions
Unwrap a decoded JSON object into its complex fields.