> For the complete documentation index, see [llms.txt](https://prethink.gitbook.io/prtelegrambot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prethink.gitbook.io/prtelegrambot/ru/api/interfeisy/imessagecommandhandler.md).

# IMessageCommandHandler

```csharp
using Telegram.Bot.Types;

namespace PRTelegramBot.Interfaces
{
    /// <summary>
    /// Интерфейс обработчика для message команд.
    /// </summary>
    public interface IMessageCommandHandler : ICommandHandlerBase<Message>
    {
        /// <summary>
        /// Обработка.
        /// </summary>
        /// <param name="context">Контекст бота.</param>
        /// <param name="updateType">Messageкласс update.</param>
        /// <returns>Результат обновления.</returns>
        public Task<UpdateResult> Handle(IBotContext context, Message updateType);
    }
}

```
