libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging
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.ChimeSDKMessaging.Types.ChannelMessage

Description

 
Synopsis

Documentation

data ChannelMessage Source #

The details of a message in a channel.

See: newChannelMessage smart constructor.

Constructors

ChannelMessage' 

Fields

Instances

Instances details
Eq ChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessage

Show ChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessage

Generic ChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessage

Associated Types

type Rep ChannelMessage :: Type -> Type #

NFData ChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessage

Methods

rnf :: ChannelMessage -> () #

Hashable ChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessage

FromJSON ChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessage

type Rep ChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessage

type Rep ChannelMessage = D1 ('MetaData "ChannelMessage" "Amazonka.ChimeSDKMessaging.Types.ChannelMessage" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "ChannelMessage'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMessageStatusStructure)) :*: (S1 ('MetaSel ('Just "sender") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity)) :*: S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "redacted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "persistence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMessagePersistenceType))))) :*: ((S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMessageType)) :*: S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastEditedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newChannelMessage :: ChannelMessage Source #

Create a value of ChannelMessage 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:status:ChannelMessage', channelMessage_status - The status of the channel message.

$sel:sender:ChannelMessage', channelMessage_sender - The message sender.

$sel:channelArn:ChannelMessage', channelMessage_channelArn - The ARN of the channel.

$sel:content:ChannelMessage', channelMessage_content - The message content.

$sel:redacted:ChannelMessage', channelMessage_redacted - Hides the content of a message.

$sel:persistence:ChannelMessage', channelMessage_persistence - The persistence setting for a channel message.

$sel:metadata:ChannelMessage', channelMessage_metadata - The message metadata.

$sel:type':ChannelMessage', channelMessage_type - The message type.

$sel:createdTimestamp:ChannelMessage', channelMessage_createdTimestamp - The time at which the message was created.

$sel:messageId:ChannelMessage', channelMessage_messageId - The ID of a message.

$sel:lastUpdatedTimestamp:ChannelMessage', channelMessage_lastUpdatedTimestamp - The time at which a message was updated.

$sel:lastEditedTimestamp:ChannelMessage', channelMessage_lastEditedTimestamp - The time at which a message was edited.

channelMessage_redacted :: Lens' ChannelMessage (Maybe Bool) Source #

Hides the content of a message.

channelMessage_createdTimestamp :: Lens' ChannelMessage (Maybe UTCTime) Source #

The time at which the message was created.

channelMessage_lastUpdatedTimestamp :: Lens' ChannelMessage (Maybe UTCTime) Source #

The time at which a message was updated.

channelMessage_lastEditedTimestamp :: Lens' ChannelMessage (Maybe UTCTime) Source #

The time at which a message was edited.