google_api_chat v0.8.0 GoogleApi.Chat.V1.Model.KeyValue 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
Link to this type
t()
View Sourcet() :: %GoogleApi.Chat.V1.Model.KeyValue{
bottomLabel: String.t(),
button: GoogleApi.Chat.V1.Model.Button.t(),
content: String.t(),
contentMultiline: boolean(),
icon: String.t(),
iconUrl: String.t(),
onClick: GoogleApi.Chat.V1.Model.OnClick.t(),
topLabel: String.t()
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.