AWSChimeSDKMessagingChannelMessage

Objective-C

@interface AWSChimeSDKMessagingChannelMessage

Swift

class AWSChimeSDKMessagingChannelMessage

The details of a message in a channel.

  • The ARN of the channel.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var lastEditedTimestamp: Date? { get set }
  • The time at which a message was 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 a message.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var metadata: String? { get set }
  • The persistence setting for a channel message.

    Declaration

    Objective-C

    @property (nonatomic) AWSChimeSDKMessagingChannelMessagePersistenceType persistence;

    Swift

    var persistence: AWSChimeSDKMessagingChannelMessagePersistenceType { get set }
  • Hides the content of a message.

    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 status of the channel message.

    Declaration

    Objective-C

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

    Swift

    var status: AWSChimeSDKMessagingChannelMessageStatusStructure? { get set }
  • The ID of the SubChannel.

    Declaration

    Objective-C

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

    Swift

    var subChannelId: String? { 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 message type.

    Declaration

    Objective-C

    @property (nonatomic) AWSChimeSDKMessagingChannelMessageType types;

    Swift

    var types: AWSChimeSDKMessagingChannelMessageType { get set }