View Source GoogleApi.Chat.V1.Model.GoogleAppsCardV1OpenLink (google_api_chat v0.34.0)

Represents an onClick event that opens a hyperlink. Google Workspace Add-ons and Chat apps:

Attributes

  • onClose (type: String.t, default: nil) - Whether the client forgets about a link after opening it, or observes it until the window closes. Google Workspace Add-ons:
  • openAs (type: String.t, default: nil) - How to open a link. Google Workspace Add-ons:
  • url (type: String.t, default: nil) - The URL to open.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1OpenLink{
  onClose: String.t() | nil,
  openAs: String.t() | nil,
  url: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.