Class: Aws::SocialMessaging::Types::LibraryTemplateButtonInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb

Overview

Configuration options for customizing buttons 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)


544
545
546
547
548
549
550
551
552
553
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 544

class LibraryTemplateButtonInput < Struct.new(
  :type,
  :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)


544
545
546
547
548
549
550
551
552
553
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 544

class LibraryTemplateButtonInput < Struct.new(
  :type,
  :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>>)


544
545
546
547
548
549
550
551
552
553
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 544

class LibraryTemplateButtonInput < Struct.new(
  :type,
  :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)


544
545
546
547
548
549
550
551
552
553
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 544

class LibraryTemplateButtonInput < Struct.new(
  :type,
  :phone_number,
  :url,
  :otp_type,
  :zero_tap_terms_accepted,
  :supported_apps)
  SENSITIVE = []
  include Aws::Structure
end

#urlHash<String,String>

The URL with dynamic parameters for URL-type buttons.

Returns:

  • (Hash<String,String>)


544
545
546
547
548
549
550
551
552
553
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 544

class LibraryTemplateButtonInput < Struct.new(
  :type,
  :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)


544
545
546
547
548
549
550
551
552
553
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 544

class LibraryTemplateButtonInput < Struct.new(
  :type,
  :phone_number,
  :url,
  :otp_type,
  :zero_tap_terms_accepted,
  :supported_apps)
  SENSITIVE = []
  include Aws::Structure
end