Class: Aws::SocialMessaging::Types::LibraryTemplateButtonList
- Inherits:
-
Struct
- Object
- Struct
- Aws::SocialMessaging::Types::LibraryTemplateButtonList
- Defined in:
- gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb
Overview
Defines a button in a template from Meta's library.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#otp_type ⇒ String
The type of one-time password for OTP buttons.
-
#phone_number ⇒ String
The phone number in E.164 format for CALL-type buttons.
-
#supported_apps ⇒ Array<Hash<String,String>>
List of supported applications for this button type.
-
#text ⇒ String
The text displayed on the button (maximum 40 characters).
-
#type ⇒ String
The type of button (for example, QUICK_REPLY, CALL, or URL).
-
#url ⇒ String
The URL for URL-type buttons.
-
#zero_tap_terms_accepted ⇒ Boolean
When true, indicates acceptance of zero-tap terms for the button.
Instance Attribute Details
#otp_type ⇒ String
The type of one-time password for OTP buttons.
587 588 589 590 591 592 593 594 595 596 597 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 587 class LibraryTemplateButtonList < Struct.new( :type, :text, :phone_number, :url, :otp_type, :zero_tap_terms_accepted, :supported_apps) SENSITIVE = [] include Aws::Structure end |
#phone_number ⇒ String
The phone number in E.164 format for CALL-type buttons.
587 588 589 590 591 592 593 594 595 596 597 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 587 class LibraryTemplateButtonList < Struct.new( :type, :text, :phone_number, :url, :otp_type, :zero_tap_terms_accepted, :supported_apps) SENSITIVE = [] include Aws::Structure end |
#supported_apps ⇒ Array<Hash<String,String>>
List of supported applications for this button type.
587 588 589 590 591 592 593 594 595 596 597 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 587 class LibraryTemplateButtonList < Struct.new( :type, :text, :phone_number, :url, :otp_type, :zero_tap_terms_accepted, :supported_apps) SENSITIVE = [] include Aws::Structure end |
#text ⇒ String
The text displayed on the button (maximum 40 characters).
587 588 589 590 591 592 593 594 595 596 597 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 587 class LibraryTemplateButtonList < Struct.new( :type, :text, :phone_number, :url, :otp_type, :zero_tap_terms_accepted, :supported_apps) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type of button (for example, QUICK_REPLY, CALL, or URL).
587 588 589 590 591 592 593 594 595 596 597 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 587 class LibraryTemplateButtonList < Struct.new( :type, :text, :phone_number, :url, :otp_type, :zero_tap_terms_accepted, :supported_apps) SENSITIVE = [] include Aws::Structure end |
#url ⇒ String
The URL for URL-type buttons.
587 588 589 590 591 592 593 594 595 596 597 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 587 class LibraryTemplateButtonList < Struct.new( :type, :text, :phone_number, :url, :otp_type, :zero_tap_terms_accepted, :supported_apps) SENSITIVE = [] include Aws::Structure end |
#zero_tap_terms_accepted ⇒ Boolean
When true, indicates acceptance of zero-tap terms for the button.
587 588 589 590 591 592 593 594 595 596 597 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 587 class LibraryTemplateButtonList < Struct.new( :type, :text, :phone_number, :url, :otp_type, :zero_tap_terms_accepted, :supported_apps) SENSITIVE = [] include Aws::Structure end |