gogol-chat-0.4.0: Google Hangouts Chat SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Chat.Spaces.Messages.Delete

Contents

Description

Deletes a message.

See: Hangouts Chat API Reference for chat.spaces.messages.delete.

Synopsis

REST Resource

type SpacesMessagesDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #

A resource alias for chat.spaces.messages.delete method which the SpacesMessagesDelete request conforms to.

Creating a Request

spacesMessagesDelete Source #

Creates a value of SpacesMessagesDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SpacesMessagesDelete Source #

Deletes a message.

See: spacesMessagesDelete smart constructor.

Instances
Eq SpacesMessagesDelete Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Messages.Delete

Data SpacesMessagesDelete Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Messages.Delete

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SpacesMessagesDelete -> c SpacesMessagesDelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SpacesMessagesDelete #

toConstr :: SpacesMessagesDelete -> Constr #

dataTypeOf :: SpacesMessagesDelete -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SpacesMessagesDelete) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SpacesMessagesDelete) #

gmapT :: (forall b. Data b => b -> b) -> SpacesMessagesDelete -> SpacesMessagesDelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SpacesMessagesDelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SpacesMessagesDelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> SpacesMessagesDelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SpacesMessagesDelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SpacesMessagesDelete -> m SpacesMessagesDelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SpacesMessagesDelete -> m SpacesMessagesDelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SpacesMessagesDelete -> m SpacesMessagesDelete #

Show SpacesMessagesDelete Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Messages.Delete

Generic SpacesMessagesDelete Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Messages.Delete

Associated Types

type Rep SpacesMessagesDelete :: Type -> Type #

GoogleRequest SpacesMessagesDelete Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Messages.Delete

Associated Types

type Rs SpacesMessagesDelete :: Type #

type Scopes SpacesMessagesDelete :: [Symbol] #

type Rep SpacesMessagesDelete Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Messages.Delete

type Rep SpacesMessagesDelete = D1 (MetaData "SpacesMessagesDelete" "Network.Google.Resource.Chat.Spaces.Messages.Delete" "gogol-chat-0.4.0-Hx9iuEakGYJtTWKZeZRZC" False) (C1 (MetaCons "SpacesMessagesDelete'" PrefixI True) ((S1 (MetaSel (Just "_smdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_smdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_smdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_smdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_smdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_smdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SpacesMessagesDelete Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Messages.Delete

type Rs SpacesMessagesDelete Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Messages.Delete

Request Lenses

smdUploadProtocol :: Lens' SpacesMessagesDelete (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

smdUploadType :: Lens' SpacesMessagesDelete (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

smdName :: Lens' SpacesMessagesDelete Text Source #

Required. Resource name of the message to be deleted, in the form "spaces/*/messages/*" Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4