YoutubeListChatCommand constructor

YoutubeListChatCommand()

Implementation

YoutubeListChatCommand() {
  argParser
    ..addOption('liveChatId',
        mandatory: true,
        valueHelp: 'liveChatId',
        help:
            'The liveChatId parameter specifies the ID of the chat whose messages will be returned. The live chat ID associated with a broadcast is returned in the liveBroadcast resource\'s snippet.liveChatId property.')
    ..addOption('part',
        defaultsTo: 'id,snippet,authorDetails',
        help:
            'The part parameter specifies the liveChatMessage resource parts that the API response will include. Supported values are id, snippet, and authorDetails.')
    ..addOption('max-results',
        defaultsTo: '500',
        valueHelp: 'number',
        help:
            'The maxResults parameter specifies the maximum number of messages that should be returned in the result set. Acceptable values are 200 to 2000, inclusive. The default value is 500.')
    ..addOption('page-token',
        valueHelp: 'token',
        help:
            '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.')
    ..addOption('profile-image-size',
        defaultsTo: '88',
        valueHelp: 'number',
        help:
            'The profileImageSize parameter specifies the size of the user profile pictures that should be returned in the result set. The images are square. The default value is 88, meaning pictures will be 88px by 88px. Acceptable values are in the range 16 to 720, inclusive.');
}