Botticelli
  • Quick Start
  • Documentation
  • Discussion

No recent searches

Search by ribak
  • to select
  • to navigate
  • to close
    • Overview
      • Overview
        • Overview
        • Handlers
        • Command processors
        • Overview
        • Agents
        • Clients
        • RabbitMQ
        • Overview
      • Overview
      • Installation
      • Registering a new bot
      • Managing a bot
      • Overview
      • Message lifecycle
    • v. 0.2
    • v. 0.3

Commands

Command is one of basic entities in our framework intended for processing commands and their arguments from chats.

Command lifecycle

  1. 1. Receiving from message
  2. 2. Parsing
  3. 3. Validation
  4. 4. Getting arguments
  5. 5. Processing

Every command you define must implement interface ICommand (see https://github.com/devgopher/botticelli/blob/develop/Botticelli.Framework/Commands/ICommand.cs )

Example (no arguments)

In a messenger you should call it with

Botticelli.Bus RabbitMQ
Documentation Management
Table of Contents
  • Command lifecycle
  • Example (no arguments)

Copyright 2023 Evdokimov Igor