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)


1896
1897
1898
1899
1900
1901
1902
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1896

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)


1896
1897
1898
1899
1900
1901
1902
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1896

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

#typeString

Type of chat integration event.

Returns:

  • (String)


1896
1897
1898
1899
1900
1901
1902
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1896

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