Class: Aws::Connect::Types::ChatMessage

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-connect/types.rb

Overview

A chat message.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The content of the chat message. Maximum of 16,384 bytes for all content types (‘text/plain`, `text/markdown`, `application/json`, and `application/vnd.amazonaws.connect.message.interactive.response`).

Some messaging channels enforce lower limits. For channel-specific message size limits, see [Chat message size limits by channel] in the *Amazon Connect Customer Administrator Guide*.

[1]: docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html#chat-message-size-limits

Returns:

  • (String)


3211
3212
3213
3214
3215
3216
# File 'lib/aws-sdk-connect/types.rb', line 3211

class ChatMessage < Struct.new(
  :content_type,
  :content)
  SENSITIVE = []
  include Aws::Structure
end

#content_typeString

The type of the content. Supported types are ‘text/plain`, `text/markdown`, `application/json`, and `application/vnd.amazonaws.connect.message.interactive.response`.

Returns:

  • (String)


3211
3212
3213
3214
3215
3216
# File 'lib/aws-sdk-connect/types.rb', line 3211

class ChatMessage < Struct.new(
  :content_type,
  :content)
  SENSITIVE = []
  include Aws::Structure
end