Class: Aws::PinpointSMSVoiceV2::Types::RcsContent
- Inherits:
-
Struct
- Object
- Struct
- Aws::PinpointSMSVoiceV2::Types::RcsContent
- Defined in:
- gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb
Overview
RcsContent is a union - when making an API calls you must set exactly one of the members.
The message body of an RCS message. Exactly one content type must be specified.
Defined Under Namespace
Classes: Carousel, FileMessage, RichCard, TextMessage, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#carousel ⇒ Types::RcsCarousel
A carousel of 2 to 10 scrollable cards, each with media, title, description, and suggested actions.
-
#file_message ⇒ Types::RcsFileMessage
A file message containing a media file (image, video, audio, or PDF) with an optional thumbnail.
-
#rich_card ⇒ Types::RcsStandaloneCard
A standalone rich card with media, title, description, and suggested actions.
-
#text_message ⇒ Types::RcsTextMessage
A plain text RCS message.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#carousel ⇒ Types::RcsCarousel
A carousel of 2 to 10 scrollable cards, each with media, title, description, and suggested actions.
6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 |
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6437 class RcsContent < Struct.new( :text_message, :file_message, :rich_card, :carousel, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class TextMessage < RcsContent; end class FileMessage < RcsContent; end class RichCard < RcsContent; end class Carousel < RcsContent; end class Unknown < RcsContent; end end |
#file_message ⇒ Types::RcsFileMessage
A file message containing a media file (image, video, audio, or PDF) with an optional thumbnail.
6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 |
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6437 class RcsContent < Struct.new( :text_message, :file_message, :rich_card, :carousel, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class TextMessage < RcsContent; end class FileMessage < RcsContent; end class RichCard < RcsContent; end class Carousel < RcsContent; end class Unknown < RcsContent; end end |
#rich_card ⇒ Types::RcsStandaloneCard
A standalone rich card with media, title, description, and suggested actions.
6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 |
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6437 class RcsContent < Struct.new( :text_message, :file_message, :rich_card, :carousel, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class TextMessage < RcsContent; end class FileMessage < RcsContent; end class RichCard < RcsContent; end class Carousel < RcsContent; end class Unknown < RcsContent; end end |
#text_message ⇒ Types::RcsTextMessage
A plain text RCS message.
6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 |
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6437 class RcsContent < Struct.new( :text_message, :file_message, :rich_card, :carousel, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class TextMessage < RcsContent; end class FileMessage < RcsContent; end class RichCard < RcsContent; end class Carousel < RcsContent; end class Unknown < RcsContent; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
6437 6438 6439 |
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6437 def unknown @unknown end |