Class: Aws::SocialMessaging::Types::LibraryTemplateButtonList

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#otp_typeString

The type of one-time password for OTP buttons.

Returns:

  • (String)


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_numberString

The phone number in E.164 format for CALL-type buttons.

Returns:

  • (String)


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_appsArray<Hash<String,String>>

List of supported applications for this button type.

Returns:

  • (Array<Hash<String,String>>)


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

#textString

The text displayed on the button (maximum 40 characters).

Returns:

  • (String)


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

#typeString

The type of button (for example, QUICK_REPLY, CALL, or URL).

Returns:

  • (String)


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

#urlString

The URL for URL-type buttons.

Returns:

  • (String)


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_acceptedBoolean

When true, indicates acceptance of zero-tap terms for the button.

Returns:

  • (Boolean)


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