Class ChannelSnippet
Basic details about a channel, including title, description and thumbnails.
Implements
Inherited Members
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class ChannelSnippet : IDirectResponseSchemaProperties
Country
The country of the channel.
Declaration
[JsonProperty("country")]
public virtual string Country { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
CustomUrl
The custom url of the channel.
Declaration
[JsonProperty("customUrl")]
public virtual string CustomUrl { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
DefaultLanguage
The language of the channel's default title and description.
Declaration
[JsonProperty("defaultLanguage")]
public virtual string DefaultLanguage { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Description
The description of the channel.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Localized
Localized title and description, read-only.
Declaration
[JsonProperty("localized")]
public virtual ChannelLocalization Localized { get; set; }Property Value
| Type | Description | 
|---|---|
| ChannelLocalization | 
PublishedAt
DateTime representation of PublishedAtRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use PublishedAtDateTimeOffset instead.")]
public virtual DateTime? PublishedAt { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | 
PublishedAtDateTimeOffset
DateTimeOffset representation of PublishedAtRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? PublishedAtDateTimeOffset { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTimeOffset? | 
PublishedAtRaw
The date and time that the channel was created.
Declaration
[JsonProperty("publishedAt")]
public virtual string PublishedAtRaw { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Thumbnails
A map of thumbnail images associated with the channel. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. When displaying thumbnails in your application, make sure that your code uses the image URLs exactly as they are returned in API responses. For example, your application should not use the http domain instead of the https domain in a URL returned in an API response. Beginning in July 2018, channel thumbnail URLs will only be available in the https domain, which is how the URLs appear in API responses. After that time, you might see broken images in your application if it tries to load YouTube images from the http domain. Thumbnail images might be empty for newly created channels and might take up to one day to populate.
Declaration
[JsonProperty("thumbnails")]
public virtual ThumbnailDetails Thumbnails { get; set; }Property Value
| Type | Description | 
|---|---|
| ThumbnailDetails | 
Title
The channel's title.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }Property Value
| Type | Description | 
|---|---|
| string |