Show / Hide Table of Contents

Class SlackResponse

Inheritance
System.Object
SlackResponse
Namespace: LambdaSharp.Slack
Assembly: LambdaSharp.Slack.dll
Syntax
public class SlackResponse

Properties

Attachments

Declaration
[JsonPropertyName("attachments")]
public SlackResponseAttachment[] Attachments { get; set; }
Property Value
Type Description
SlackResponseAttachment[]

Channel

Declaration
[JsonPropertyName("channel")]
public string Channel { get; set; }
Property Value
Type Description
System.String

ResponseType

Declaration
[JsonPropertyName("response_type")]
public string ResponseType { get; set; }
Property Value
Type Description
System.String

Text

Declaration
[JsonPropertyName("text")]
public string Text { get; set; }
Property Value
Type Description
System.String

Methods

Ephemeral(String, SlackResponseAttachment[])

Declaration
public static SlackResponse Ephemeral(string text, params SlackResponseAttachment[] attachments)
Parameters
Type Name Description
System.String text
SlackResponseAttachment[] attachments
Returns
Type Description
SlackResponse

InChannel(String, SlackResponseAttachment[])

Declaration
public static SlackResponse InChannel(string text, params SlackResponseAttachment[] attachments)
Parameters
Type Name Description
System.String text
SlackResponseAttachment[] attachments
Returns
Type Description
SlackResponse

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()
In This Article
Back to top Generated by DocFX