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 live chat messages for a specific chat.
See: YouTube Data API Reference for youtube.liveChatMessages.list
.
Synopsis
- 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))))))))))
- liveChatMessagesList :: Text -> Text -> LiveChatMessagesList
- data LiveChatMessagesList
- lcmlPart :: Lens' LiveChatMessagesList Text
- lcmlLiveChatId :: Lens' LiveChatMessagesList Text
- lcmlHl :: Lens' LiveChatMessagesList (Maybe Text)
- lcmlPageToken :: Lens' LiveChatMessagesList (Maybe Text)
- lcmlMaxResults :: Lens' LiveChatMessagesList Word32
- lcmlProFileImageSize :: Lens' LiveChatMessagesList (Maybe Word32)
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
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
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.