AWSChimeSDKMessagingChannelMessageCallback

Objective-C

@interface AWSChimeSDKMessagingChannelMessageCallback

Swift

class AWSChimeSDKMessagingChannelMessageCallback

Stores information about a callback.

Required parameters: [MessageId]

  • The message content. 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 call-back 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 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 message ID.

    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 push notification configuration of the message.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSChimeSDKMessagingPushNotificationConfiguration *_Nullable pushNotification;

    Swift

    var pushNotification: AWSChimeSDKMessagingPushNotificationConfiguration? { get set }
  • The ID of the SubChannel.

    Declaration

    Objective-C

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

    Swift

    var subChannelId: String? { get set }