AWSChimeSDKMessagingChannelMessageSummary

Objective-C

@interface AWSChimeSDKMessagingChannelMessageSummary

Swift

class AWSChimeSDKMessagingChannelMessageSummary

Summary of the messages in a Channel.

  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable content;

    Swift

    var content: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable contentType;

    Swift

    var contentType: String? { get set }
  • The time at which the message summary was created.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable createdTimestamp;

    Swift

    var createdTimestamp: Date? { get set }
  • The time at which a message was last edited.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable lastEditedTimestamp;

    Swift

    var lastEditedTimestamp: Date? { get set }
  • The time at which a message was last updated.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable lastUpdatedTimestamp;

    Swift

    var lastUpdatedTimestamp: Date? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, AWSChimeSDKMessagingMessageAttributeValue *> *_Nullable messageAttributes;

    Swift

    var messageAttributes: [String : AWSChimeSDKMessagingMessageAttributeValue]? { get set }
  • The ID of the message.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable messageId;

    Swift

    var messageId: String? { get set }
  • The metadata of the message.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable metadata;

    Swift

    var metadata: String? { get set }
  • Indicates whether a message was redacted.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable redacted;

    Swift

    var redacted: NSNumber? { get set }
  • The message sender.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSChimeSDKMessagingIdentity *_Nullable sender;

    Swift

    var sender: AWSChimeSDKMessagingIdentity? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSChimeSDKMessagingChannelMessageStatusStructure *_Nullable status;

    Swift

    var status: AWSChimeSDKMessagingChannelMessageStatusStructure? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSChimeSDKMessagingTarget *> *_Nullable target;

    Swift

    var target: [AWSChimeSDKMessagingTarget]? { get set }
  • The type of message.

    Declaration

    Objective-C

    @property (nonatomic) AWSChimeSDKMessagingChannelMessageType types;

    Swift

    var types: AWSChimeSDKMessagingChannelMessageType { get set }