Class: Aws::ChimeSDKMessaging::Types::ChannelMessageSummary
- Inherits:
-
Struct
- Object
- Struct
- Aws::ChimeSDKMessaging::Types::ChannelMessageSummary
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-chimesdkmessaging/types.rb
Overview
Summary of the messages in a ‘Channel`.
Constant Summary collapse
- SENSITIVE =
[:content, :metadata, :message_attributes, :content_type]
Instance Attribute Summary collapse
-
#content ⇒ String
The content of the channel message.
-
#content_type ⇒ String
The content type of the channel message listed in the summary.
-
#created_timestamp ⇒ Time
The time at which the message summary was created.
-
#last_edited_timestamp ⇒ Time
The time at which a message was last edited.
-
#last_updated_timestamp ⇒ Time
The time at which a message was last updated.
-
#message_attributes ⇒ Hash<String,Types::MessageAttributeValue>
The attributes for the channel message.
-
#message_id ⇒ String
The ID of the message.
-
#metadata ⇒ String
The metadata of the message.
-
#redacted ⇒ Boolean
Indicates whether a message was redacted.
-
#sender ⇒ Types::Identity
The message sender.
-
#status ⇒ Types::ChannelMessageStatusStructure
The message status.
-
#target ⇒ Array<Types::Target>
The target of a message, a sender, a user, or a bot.
-
#type ⇒ String
The type of message.
Instance Attribute Details
#content ⇒ String
The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to [Processing responses from an AppInstanceBot] in the *Amazon Chime SDK Messaging Developer Guide*.
[1]: docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#content_type ⇒ String
The content type of the channel message listed in the summary. For Amazon Lex V2 bot responses, the content type is ‘application/amz-chime-lex-msgs` for success responses and `application/amz-chime-lex-error` for failure responses. For more information, refer to [Processing responses from an AppInstanceBot] in the *Amazon Chime SDK Messaging Developer Guide*.
[1]: docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#created_timestamp ⇒ Time
The time at which the message summary was created.
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#last_edited_timestamp ⇒ Time
The time at which a message was last edited.
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#last_updated_timestamp ⇒ Time
The time at which a message was last updated.
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#message_attributes ⇒ Hash<String,Types::MessageAttributeValue>
The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to [Processing responses from an AppInstanceBot] in the *Amazon Chime SDK Messaging Developer Guide*.
[1]: docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#message_id ⇒ String
The ID of the message.
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#metadata ⇒ String
The metadata of the message.
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#redacted ⇒ Boolean
Indicates whether a message was redacted.
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#sender ⇒ Types::Identity
The message sender.
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#status ⇒ Types::ChannelMessageStatusStructure
The message status. The status value is ‘SENT` for messages sent to a channel without a channel flow. For channels associated with channel flow, the value determines the processing stage.
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#target ⇒ Array<Types::Target>
The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#type ⇒ String
The type of message.
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 837 class ChannelMessageSummary < Struct.new( :message_id, :content, :metadata, :type, :created_timestamp, :last_updated_timestamp, :last_edited_timestamp, :sender, :redacted, :status, :message_attributes, :content_type, :target) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |