Class Snippet
A snippet object representing an excerpt from a larger corpus.
Implements
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class Snippet : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ImagePreview
Optional. Image preview of the snippet provided as an input when creating the citation.
Declaration
[JsonProperty("imagePreview")]
public virtual ElementsImage ImagePreview { get; set; }
Property Value
| Type | Description |
|---|---|
| ElementsImage |
Text
Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or
source preview. When footer sources are automatically populated from inline citations (because
Elements.cited_sources is not set), snippets are omitted from the deduplicated footer sources. Does not
support markdown format, and must not exceed 1,000 characters.
Declaration
[JsonProperty("text")]
public virtual string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |