Class SlackResponse
Inheritance
System.Object
SlackResponse
Assembly: LambdaSharp.Slack.dll
Syntax
public class SlackResponse
Properties
Attachments
Declaration
[JsonPropertyName("attachments")]
public SlackResponseAttachment[] Attachments { get; set; }
Property Value
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
Returns
InChannel(String, SlackResponseAttachment[])
Declaration
public static SlackResponse InChannel(string text, params SlackResponseAttachment[] attachments)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()