View Source GoogleApi.Chat.V1.Model.CardWithId (google_api_chat v0.34.3)

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

Attributes

  • card (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Card.t, default: nil) - A card. Maximum size is 32 KB.
  • cardId (type: String.t, default: nil) - Required if the message contains multiple cards. A unique identifier for a card in a message.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.CardWithId{
  card: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Card.t() | nil,
  cardId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.