Command Page Template

Use this template for new command pages or when splitting a command into its own detail page later.

Command Page Template

Use this template for new command pages or when splitting a command into its own detail page later.

Summary

Short statement of what the command does in the current code.

Location in code

  • Handler:
  • Service:
  • Raw API:
  • Normalizer / typed builder:
  • Related modules:

Request

Structure

{
  "action": "<command>",
  "userbot_id": 1
}

Parameters

Field Type Required Default Notes

Request variants / notes

  • Describe only variants that really exist in code.

Response variants

  • Success event(s):
  • Error event(s):
  • Result type:

Errors

Error Type/Code When happens Notes

Flow

  • gateway -> command publish
  • owner runtime -> registry -> handler
  • service -> raw API -> normalizer
  • live event emit
  • Link to shared type pages.
  • Link to sibling or adjacent commands.

Needs verification

  • Explicitly list anything not formally schema-bound in code.