gogol-youtube-0.4.0: Google YouTube Data 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.YouTube.LiveChatMessages.Insert

Contents

Description

Adds a message to a live chat.

See: YouTube Data API Reference for youtube.liveChatMessages.insert.

Synopsis

REST Resource

type LiveChatMessagesInsertResource = "youtube" :> ("v3" :> ("liveChat" :> ("messages" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LiveChatMessage :> Post '[JSON] LiveChatMessage)))))) Source #

A resource alias for youtube.liveChatMessages.insert method which the LiveChatMessagesInsert request conforms to.

Creating a Request

liveChatMessagesInsert Source #

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

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

data LiveChatMessagesInsert Source #

Adds a message to a live chat.

See: liveChatMessagesInsert smart constructor.

Instances
Eq LiveChatMessagesInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatMessages.Insert

Data LiveChatMessagesInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatMessages.Insert

Methods

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

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

toConstr :: LiveChatMessagesInsert -> Constr #

dataTypeOf :: LiveChatMessagesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LiveChatMessagesInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatMessages.Insert

Generic LiveChatMessagesInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatMessages.Insert

Associated Types

type Rep LiveChatMessagesInsert :: Type -> Type #

GoogleRequest LiveChatMessagesInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatMessages.Insert

type Rep LiveChatMessagesInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatMessages.Insert

type Rep LiveChatMessagesInsert = D1 (MetaData "LiveChatMessagesInsert" "Network.Google.Resource.YouTube.LiveChatMessages.Insert" "gogol-youtube-0.4.0-ICfv3TXlvc9ZGnb0rCY6m" False) (C1 (MetaCons "LiveChatMessagesInsert'" PrefixI True) (S1 (MetaSel (Just "_lcmiPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lcmiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LiveChatMessage)))
type Scopes LiveChatMessagesInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatMessages.Insert

type Scopes LiveChatMessagesInsert = "https://www.googleapis.com/auth/youtube" ': ("https://www.googleapis.com/auth/youtube.force-ssl" ': ([] :: [Symbol]))
type Rs LiveChatMessagesInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTube.LiveChatMessages.Insert

Request Lenses

lcmiPart :: Lens' LiveChatMessagesInsert Text Source #

The part parameter serves two purposes. It identifies the properties that the write operation will set as well as the properties that the API response will include. Set the parameter value to snippet.