gogol-chat-0.5.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.Get

Contents

Description

Returns a message.

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

Synopsis

REST Resource

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

A resource alias for chat.spaces.messages.get method which the SpacesMessagesGet request conforms to.

Creating a Request

spacesMessagesGet Source #

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

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

data SpacesMessagesGet Source #

Returns a message.

See: spacesMessagesGet smart constructor.

Instances
Eq SpacesMessagesGet Source # 
Instance details

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

Data SpacesMessagesGet Source # 
Instance details

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

Methods

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

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

toConstr :: SpacesMessagesGet -> Constr #

dataTypeOf :: SpacesMessagesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SpacesMessagesGet Source # 
Instance details

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

Generic SpacesMessagesGet Source # 
Instance details

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

Associated Types

type Rep SpacesMessagesGet :: Type -> Type #

GoogleRequest SpacesMessagesGet Source # 
Instance details

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

Associated Types

type Rs SpacesMessagesGet :: Type #

type Scopes SpacesMessagesGet :: [Symbol] #

type Rep SpacesMessagesGet Source # 
Instance details

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

type Rep SpacesMessagesGet = D1 (MetaData "SpacesMessagesGet" "Network.Google.Resource.Chat.Spaces.Messages.Get" "gogol-chat-0.5.0-BUgrXiaaJDM5gJSlDAyqWv" False) (C1 (MetaCons "SpacesMessagesGet'" PrefixI True) ((S1 (MetaSel (Just "_smgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_smgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_smgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_smgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_smgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_smgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SpacesMessagesGet Source # 
Instance details

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

type Rs SpacesMessagesGet Source # 
Instance details

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

Request Lenses

smgUploadProtocol :: Lens' SpacesMessagesGet (Maybe Text) Source #

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

smgUploadType :: Lens' SpacesMessagesGet (Maybe Text) Source #

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

smgName :: Lens' SpacesMessagesGet Text Source #

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