Class ALambdaSlackCommandFunction
Inheritance
System.Object
ALambdaSlackCommandFunction
Assembly: LambdaSharp.Slack.dll
Syntax
public abstract class ALambdaSlackCommandFunction : ALambdaFunction, ILambdaSharpLogger
Methods
InitializeAsync(LambdaConfig)
Declaration
public override async Task InitializeAsync(LambdaConfig config)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
ProcessMessageStreamAsync(Stream)
Declaration
public sealed override async Task<Stream> ProcessMessageStreamAsync(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.IO.Stream> |
|
Overrides
ProcessSlackRequestAsync(SlackRequest)
Declaration
protected abstract Task ProcessSlackRequestAsync(SlackRequest request)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Respond(SlackRequest, SlackResponse)
Declaration
protected async Task<bool> Respond(SlackRequest request, SlackResponse response)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
RespondEphemeral(SlackRequest, String, SlackResponseAttachment[])
Declaration
protected Task<bool> RespondEphemeral(SlackRequest request, string text, params SlackResponseAttachment[] attachments)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
RespondInChannel(SlackRequest, String, SlackResponseAttachment[])
Declaration
protected Task<bool> RespondInChannel(SlackRequest request, string text, params SlackResponseAttachment[] attachments)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
Implements