google_api_chat v0.2.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:
null
.- Enum - one of [ICON_UNSPECIFIED, AIRPLANE, BOOKMARK, BUS, CAR, CLOCK, CONFIRMATION_NUMBER_ICON, DOLLAR, DESCRIPTION, EMAIL, EVENT_PERFORMER, EVENT_SEAT, FLIGHT_ARRIVAL, FLIGHT_DEPARTURE, HOTEL, HOTEL_ROOM_TYPE, INVITE, MAP_PIN, MEMBERSHIP, MULTIPLE_PEOPLE, OFFER, PERSON, PHONE, RESTAURANT_ICON, SHOPPING_CART, STAR, STORE, TICKET, TRAIN, VIDEO_CAMERA, VIDEO_PLAY]
- iconUrl (String.t): The icon specified by a URL. Defaults to:
null
. - 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:
null
. - onClick (OnClick): The 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.ImageButton{
icon: any(),
iconUrl: any(),
name: any(),
onClick: GoogleApi.Chat.V1.Model.OnClick.t()
}
t() :: %GoogleApi.Chat.V1.Model.ImageButton{ icon: any(), iconUrl: any(), name: any(), 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.