Show / Hide Table of Contents

Class ChannelSnippet

Basic details about a channel, including title, description and thumbnails.

Inheritance
System.Object
ChannelSnippet
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class ChannelSnippet : IDirectResponseSchema

Properties

Country

The country of the channel.

Declaration
[JsonProperty("country")]
public virtual string Country { get; set; }
Property Value
Type Description
System.String

CustomUrl

The custom url of the channel.

Declaration
[JsonProperty("customUrl")]
public virtual string CustomUrl { get; set; }
Property Value
Type Description
System.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
System.String

Description

The description of the channel.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Localized

Localized title and description, read-only.

Declaration
[JsonProperty("localized")]
public virtual ChannelLocalization Localized { get; set; }
Property Value
Type Description
ChannelLocalization

PublishedAt

Declaration
[JsonProperty("publishedAt")]
public virtual string PublishedAt { get; set; }
Property Value
Type Description
System.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.

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
System.String

Implements

IDirectResponseSchema
Back to top