AWSConnectChatMessage

Objective-C

@interface AWSConnectChatMessage

Swift

class AWSConnectChatMessage

A chat message.

Required parameters: [ContentType, Content]

  • The content of the chat message.

    • For text/plain and text/markdown, the Length Constraints are Minimum of 1, Maximum of 1024.

    • For application/json, the Length Constraints are Minimum of 1, Maximum of 12000.

    Declaration

    Objective-C

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

    Swift

    var content: String? { get set }
  • The type of the content. Supported types are text/plain, text/markdown, and application/json.

    Declaration

    Objective-C

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

    Swift

    var contentType: String? { get set }