Class CommandModule<TContext>
public abstract class CommandModule<TContext> : BaseCommandModule<TContext> where TContext : ICommandContext, IGatewayClientContext
Type Parameters
TContext
- Inheritance
-
BaseCommandModule<TContext>CommandModule<TContext>
- Inherited Members
Constructors
CommandModule()
protected CommandModule()
Methods
ReplyAsync(ReplyMessageProperties, RestRequestProperties?, CancellationToken)
public Task<RestMessage> ReplyAsync(ReplyMessageProperties replyMessage, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
replyMessage
ReplyMessagePropertiesproperties
RestRequestPropertiescancellationToken
CancellationToken
Returns
SendAsync(MessageProperties, RestRequestProperties?, CancellationToken)
public Task<RestMessage> SendAsync(MessageProperties message, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
message
MessagePropertiesproperties
RestRequestPropertiescancellationToken
CancellationToken