Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists moderators for a live chat.
See: YouTube Data API Reference for youtube.liveChatModerators.list
.
Synopsis
- type LiveChatModeratorsListResource = "youtube" :> ("v3" :> ("liveChat" :> ("moderators" :> (QueryParam "liveChatId" Text :> (QueryParam "part" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LiveChatModeratorListResponse))))))))
- liveChatModeratorsList :: Text -> Text -> LiveChatModeratorsList
- data LiveChatModeratorsList
- livPart :: Lens' LiveChatModeratorsList Text
- livLiveChatId :: Lens' LiveChatModeratorsList Text
- livPageToken :: Lens' LiveChatModeratorsList (Maybe Text)
- livMaxResults :: Lens' LiveChatModeratorsList Word32
REST Resource
type LiveChatModeratorsListResource = "youtube" :> ("v3" :> ("liveChat" :> ("moderators" :> (QueryParam "liveChatId" Text :> (QueryParam "part" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LiveChatModeratorListResponse)))))))) Source #
A resource alias for youtube.liveChatModerators.list
method which the
LiveChatModeratorsList
request conforms to.
Creating a Request
liveChatModeratorsList Source #
Creates a value of LiveChatModeratorsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LiveChatModeratorsList Source #
Lists moderators for a live chat.
See: liveChatModeratorsList
smart constructor.
Instances
Request Lenses
livPart :: Lens' LiveChatModeratorsList Text Source #
The part parameter specifies the liveChatModerator resource parts that the API response will include. Supported values are id and snippet.
livLiveChatId :: Lens' LiveChatModeratorsList Text Source #
The liveChatId parameter specifies the YouTube live chat for which the API should return moderators.
livPageToken :: Lens' LiveChatModeratorsList (Maybe Text) Source #
The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
livMaxResults :: Lens' LiveChatModeratorsList Word32 Source #
The maxResults parameter specifies the maximum number of items that should be returned in the result set.