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.List

Contents

Description

Lists live chat messages for a specific chat.

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

Synopsis

REST Resource

type LiveChatMessagesListResource = "youtube" :> ("v3" :> ("liveChat" :> ("messages" :> (QueryParam "liveChatId" Text :> (QueryParam "part" Text :> (QueryParam "hl" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "profileImageSize" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LiveChatMessageListResponse)))))))))) Source #

A resource alias for youtube.liveChatMessages.list method which the LiveChatMessagesList request conforms to.

Creating a Request

liveChatMessagesList Source #

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

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

data LiveChatMessagesList Source #

Lists live chat messages for a specific chat.

See: liveChatMessagesList smart constructor.

Instances
Eq LiveChatMessagesList Source # 
Instance details

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

Data LiveChatMessagesList Source # 
Instance details

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

Methods

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

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

toConstr :: LiveChatMessagesList -> Constr #

dataTypeOf :: LiveChatMessagesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LiveChatMessagesList Source # 
Instance details

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

Generic LiveChatMessagesList Source # 
Instance details

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

Associated Types

type Rep LiveChatMessagesList :: Type -> Type #

GoogleRequest LiveChatMessagesList Source # 
Instance details

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

Associated Types

type Rs LiveChatMessagesList :: Type #

type Scopes LiveChatMessagesList :: [Symbol] #

type Rep LiveChatMessagesList Source # 
Instance details

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

type Rep LiveChatMessagesList = D1 (MetaData "LiveChatMessagesList" "Network.Google.Resource.YouTube.LiveChatMessages.List" "gogol-youtube-0.4.0-ICfv3TXlvc9ZGnb0rCY6m" False) (C1 (MetaCons "LiveChatMessagesList'" PrefixI True) ((S1 (MetaSel (Just "_lcmlPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_lcmlLiveChatId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lcmlHl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_lcmlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lcmlMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word32)) :*: S1 (MetaSel (Just "_lcmlProFileImageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))))
type Scopes LiveChatMessagesList Source # 
Instance details

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

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

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

Request Lenses

lcmlPart :: Lens' LiveChatMessagesList Text Source #

The part parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet.

lcmlLiveChatId :: Lens' LiveChatMessagesList Text Source #

The liveChatId parameter specifies the ID of the chat whose messages will be returned.

lcmlHl :: Lens' LiveChatMessagesList (Maybe Text) Source #

The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The parameter value must be a language code included in the list returned by the i18nLanguages.list method. If localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if localized details are not available, the snippet.localized object will contain resource details in the resource's default language.

lcmlPageToken :: Lens' LiveChatMessagesList (Maybe Text) Source #

The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identify other pages that could be retrieved.

lcmlMaxResults :: Lens' LiveChatMessagesList Word32 Source #

The maxResults parameter specifies the maximum number of messages that should be returned in the result set.

lcmlProFileImageSize :: Lens' LiveChatMessagesList (Maybe Word32) Source #

The profileImageSize parameter specifies the size of the user profile pictures that should be returned in the result set. Default: 88.