google_api_chat v0.6.0 GoogleApi.Chat.V1.Model.ImageButton View Source
An image button with an onclick action.
Attributes
- icon (String.t): The icon specified by an enum that indices to an icon provided by Chat
API. Defaults to
nil
. - iconUrl (String.t): The icon specified by a URL. Defaults to
nil
. - name (String.t): The name of this image_button which will be used for accessibility.
Default value will be provided if developers don't specify. Defaults to
nil
. - onClick (GoogleApi.Chat.V1.Model.OnClick.t): The onclick action. Defaults to
nil
.
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 Source
t()
View Source
t() :: %GoogleApi.Chat.V1.Model.ImageButton{
icon: String.t(),
iconUrl: String.t(),
name: String.t(),
onClick: GoogleApi.Chat.V1.Model.OnClick.t()
}
t() :: %GoogleApi.Chat.V1.Model.ImageButton{ icon: String.t(), iconUrl: String.t(), name: String.t(), onClick: GoogleApi.Chat.V1.Model.OnClick.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.