add /cancel
This commit is contained in:
parent
509935a9aa
commit
9937575651
|
@ -53,6 +53,12 @@ namespace TelegramRemindMe
|
|||
|
||||
var currentChat = _chats.Find(e => e.ChatId == messageEventArgs.Message.Chat.Id);
|
||||
|
||||
if (message.Text.Equals("/cancel"))
|
||||
{
|
||||
SendOverview(currentChat, "Action canceled.");
|
||||
return;
|
||||
}
|
||||
|
||||
switch (currentChat.status)
|
||||
{
|
||||
case ChatStatusEnum.WaitingTaskTitle:
|
||||
|
|
Loading…
Reference in a new issue