Class LiveChatMessagesResource.ListRequest
Lists live chat messages for a specific chat.
Inheritance
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class ListRequest : YouTubeBaseServiceRequest<LiveChatMessageListResponse>, IClientServiceRequest<LiveChatMessageListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, String, String)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string liveChatId, string part)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | liveChatId | |
| System.String | part |
Properties
Hl
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.
Declaration
[RequestParameter("hl", RequestParameterType.Query)]
public virtual string Hl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
LiveChatId
The liveChatId parameter specifies the ID of the chat whose messages will be returned.
Declaration
[RequestParameter("liveChatId", RequestParameterType.Query)]
public virtual string LiveChatId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
MaxResults
The maxResults parameter specifies the maximum number of messages that should be returned in the result set.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
PageToken
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.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Part
The part parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet.
Declaration
[RequestParameter("part", RequestParameterType.Query)]
public virtual string Part { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
ProfileImageSize
The profileImageSize parameter specifies the size of the user profile pictures that should be returned in the result set. Default: 88.
Declaration
[RequestParameter("profileImageSize", RequestParameterType.Query)]
public virtual long? ProfileImageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()