GoogleApi.Chat.V1.Model.KeyValue (google_api_chat v0.27.0) View Source
A UI element contains a key (label) and a value (content). And this element may also contain some actions such as onclick button.
Attributes
-
bottomLabel(type:String.t, default:nil) - The text of the bottom label. Formatted text supported. -
button(type:GoogleApi.Chat.V1.Model.Button.t, default:nil) - A button that can be clicked to trigger an action. -
content(type:String.t, default:nil) - The text of the content. Formatted text supported and always required. -
contentMultiline(type:boolean(), default:nil) - If the content should be multiline. -
icon(type:String.t, default:nil) - An enum value that will be replaced by the Chat API with the corresponding icon image. -
iconUrl(type:String.t, default:nil) - The icon specified by a URL. -
onClick(type:GoogleApi.Chat.V1.Model.OnClick.t, default:nil) - The onclick action. Only the top label, bottom label and content region are clickable. -
topLabel(type:String.t, default:nil) - The text of the top label. Formatted text supported.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Chat.V1.Model.KeyValue{
bottomLabel: String.t() | nil,
button: GoogleApi.Chat.V1.Model.Button.t() | nil,
content: String.t() | nil,
contentMultiline: boolean() | nil,
icon: String.t() | nil,
iconUrl: String.t() | nil,
onClick: GoogleApi.Chat.V1.Model.OnClick.t() | nil,
topLabel: String.t() | nil
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.