Class: Aws::Connect::Types::ChatEvent

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

Overview

Chat integration event containing payload to perform different chat actions such as:

  • Sending a chat message

  • Sending a chat event, such as typing

  • Disconnecting from a chat

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

Content of the message or event. This is required when Type is MESSAGE and for certain ContentTypes when Type is EVENT.

  • For allowed message content, see the Content parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference.

  • For allowed event content, see the Content parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.

Returns:

  • (String)


1451
1452
1453
1454
1455
1456
1457
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1451

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

#content_typeString

Type of content. This is required when Type is MESSAGE or EVENT.

  • For allowed message content types, see the ContentType parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference.

  • For allowed event content types, see the ContentType parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.

Returns:

  • (String)


1451
1452
1453
1454
1455
1456
1457
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1451

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

#typeString

Type of chat integration event.

Returns:

  • (String)


1451
1452
1453
1454
1455
1456
1457
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1451

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