Class: Aws::ConnectParticipant::Types::SendMessageRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/types.rb

Overview

Note:

When making an API call, you may pass SendMessageRequest data as a hash:

{
  content_type: "ChatContentType", # required
  content: "ChatContent", # required
  client_token: "ClientToken",
  connection_token: "ParticipantToken", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


525
526
527
528
529
530
531
532
# File 'gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/types.rb', line 525

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

#connection_tokenString

The authentication token associated with the connection.

Returns:

  • (String)


525
526
527
528
529
530
531
532
# File 'gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/types.rb', line 525

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

#contentString

The content of the message.

Returns:

  • (String)


525
526
527
528
529
530
531
532
# File 'gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/types.rb', line 525

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

#content_typeString

The type of the content. Supported types are text/plain.

Returns:

  • (String)


525
526
527
528
529
530
531
532
# File 'gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/types.rb', line 525

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