> 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/icallbackquerycommandhandler.md).

# ICallbackQueryCommandHandler

```csharp
using Telegram.Bot.Types;

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

```
