libZSservicesZSamazonka-connectZSamazonka-connect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Connect.Types.ChatMessage

Description

 
Synopsis

Documentation

data ChatMessage Source #

A chat message.

See: newChatMessage smart constructor.

Constructors

ChatMessage' 

Fields

Instances

Instances details
Eq ChatMessage Source # 
Instance details

Defined in Amazonka.Connect.Types.ChatMessage

Read ChatMessage Source # 
Instance details

Defined in Amazonka.Connect.Types.ChatMessage

Show ChatMessage Source # 
Instance details

Defined in Amazonka.Connect.Types.ChatMessage

Generic ChatMessage Source # 
Instance details

Defined in Amazonka.Connect.Types.ChatMessage

Associated Types

type Rep ChatMessage :: Type -> Type #

NFData ChatMessage Source # 
Instance details

Defined in Amazonka.Connect.Types.ChatMessage

Methods

rnf :: ChatMessage -> () #

Hashable ChatMessage Source # 
Instance details

Defined in Amazonka.Connect.Types.ChatMessage

ToJSON ChatMessage Source # 
Instance details

Defined in Amazonka.Connect.Types.ChatMessage

type Rep ChatMessage Source # 
Instance details

Defined in Amazonka.Connect.Types.ChatMessage

type Rep ChatMessage = D1 ('MetaData "ChatMessage" "Amazonka.Connect.Types.ChatMessage" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ChatMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newChatMessage Source #

Create a value of ChatMessage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:contentType:ChatMessage', chatMessage_contentType - The type of the content. Supported types are text and plain.

$sel:content:ChatMessage', chatMessage_content - The content of the chat message.

chatMessage_contentType :: Lens' ChatMessage Text Source #

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

chatMessage_content :: Lens' ChatMessage Text Source #

The content of the chat message.