google_api_chat v0.2.0 GoogleApi.Chat.V1.Model.Button View Source
A button. Can be a text button or an image button.
Attributes
- imageButton (ImageButton): A button with image and onclick action. Defaults to:
null
. - textButton (TextButton): A button with text and onclick action. Defaults to:
null
.
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.Button{
imageButton: GoogleApi.Chat.V1.Model.ImageButton.t(),
textButton: GoogleApi.Chat.V1.Model.TextButton.t()
}
t() :: %GoogleApi.Chat.V1.Model.Button{ imageButton: GoogleApi.Chat.V1.Model.ImageButton.t(), textButton: GoogleApi.Chat.V1.Model.TextButton.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.