gogol-youtube-0.3.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)))))) #

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

Creating a Request

liveChatMessagesInsert #

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 #

Adds a message to a live chat.

See: liveChatMessagesInsert smart constructor.

Instances

Eq LiveChatMessagesInsert # 
Data LiveChatMessagesInsert # 

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 # 
Generic LiveChatMessagesInsert # 
GoogleRequest LiveChatMessagesInsert # 
type Rep LiveChatMessagesInsert # 
type Rep LiveChatMessagesInsert = D1 (MetaData "LiveChatMessagesInsert" "Network.Google.Resource.YouTube.LiveChatMessages.Insert" "gogol-youtube-0.3.0-AfG7xN9T3g6cNxOHVx5t0" False) (C1 (MetaCons "LiveChatMessagesInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcmiPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_lcmiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LiveChatMessage))))
type Scopes LiveChatMessagesInsert # 
type Scopes LiveChatMessagesInsert = (:) Symbol "https://www.googleapis.com/auth/youtube" ((:) Symbol "https://www.googleapis.com/auth/youtube.force-ssl" ([] Symbol))
type Rs LiveChatMessagesInsert # 

Request Lenses

lcmiPart :: Lens' LiveChatMessagesInsert Text #

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.