Class AppsDynamiteV1ApiCompatV1Attachment
Richly formatted attachments. Documentation: - https://api.slack.com/docs/message-attachments
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class AppsDynamiteV1ApiCompatV1Attachment : IDirectResponseSchema
Properties
Actions
Array of actions (currently only buttons).
Declaration
[JsonProperty("actions")]
public virtual IList<AppsDynamiteV1ApiCompatV1Action> Actions { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<AppsDynamiteV1ApiCompatV1Action> |
AttachmentType
Undocumented - used in interactive button examples. The only valid value appears to be "default".
Declaration
[JsonProperty("attachment_type")]
public virtual string AttachmentType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
AuthorIcon
Avatar URL for the user.
Declaration
[JsonProperty("author_icon")]
public virtual string AuthorIcon { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
AuthorLink
URL that the user name should link to.
Declaration
[JsonProperty("author_link")]
public virtual string AuthorLink { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
AuthorName
User name to display as the author of the message.
Declaration
[JsonProperty("author_name")]
public virtual string AuthorName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
CallbackId
Unique identifier for the collection of buttons within this attachment. Will be sent back to the action handler URL when a button is clicked.
Declaration
[JsonProperty("callback_id")]
public virtual string CallbackId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Color
A color "bar" to display to the left of the attachment.
Declaration
[JsonProperty("color")]
public virtual string Color { 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 |
Fallback
Fallback plain-text string for clients that don't support attachments.
Declaration
[JsonProperty("fallback")]
public virtual string Fallback { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Fields
Columns of text inside the attachment body.
Declaration
[JsonProperty("fields")]
public virtual IList<AppsDynamiteV1ApiCompatV1Field> Fields { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<AppsDynamiteV1ApiCompatV1Field> |
Footer
A string displayed at the bottom of the attachment.
Declaration
[JsonProperty("footer")]
public virtual string Footer { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FooterIcon
Avatar URL displayed to the left of the footer.
Declaration
[JsonProperty("footer_icon")]
public virtual string FooterIcon { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ImageUrl
URL of an image to display in an image chip.
Declaration
[JsonProperty("image_url")]
public virtual string ImageUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
MrkdwnIn
List of fields to apply formatting to.
Declaration
[JsonProperty("mrkdwn_in")]
public virtual IList<string> MrkdwnIn { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |
Pretext
A string to show above the attachment.
Declaration
[JsonProperty("pretext")]
public virtual string Pretext { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Text
Main text.
Declaration
[JsonProperty("text")]
public virtual string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ThumbUrl
URL of a thumbnail image to display to the right of the attachment body.
Declaration
[JsonProperty("thumb_url")]
public virtual string ThumbUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Title
Title string of this attachment.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
TitleLink
URL that the title string should link to.
Declaration
[JsonProperty("title_link")]
public virtual string TitleLink { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Ts
UNIX timestamp of the attachment.
Declaration
[JsonProperty("ts")]
public virtual int? Ts { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |