mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 06:22:43 +00:00
docs: bots API (#6091)
* docs: bot API commands * generate API commands doc * generate commands docs with parameters and responses * add API types * more types * document all types (with some deviations from JSON encodings) * rename types * interface objects * separator * command syntax * more syntax * API events * event types * fix all type definitions * pre-process types outside of rendering * pre-process event types * overview * pre-process commands * param syntax WIP * syntax for types in command parameters * API error response and chat event * remove unsupported/deprecated command parameters * reorder * syntax for choice * show command errors * event descriptions * python syntax for commands and types (#6099) * python syntax for commands and types * python snippets: convert numbers to string * fixes * update readme, enable all tests * fix operators test * update plans --------- Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
This commit is contained in:
1 parent
052b9ad628
commit
cf8bd7f6ac
32 files changed
+8447
-131
No files matched your search
@@ -311,7 +311,7 @@ markdownText (FormattedText f_ t) = case f_ of
|
||||
Just cStr -> cStr <> t `T.snoc` '!'
|
||||
Nothing -> t
|
||||
colorStr = \case
|
||||
Red -> Just "!1 "
|
||||
Red -> Just "!1 "
|
||||
Green -> Just "!2 "
|
||||
Blue -> Just "!3 "
|
||||
Yellow -> Just "!4 "
|
||||
|
||||
Reference in new issue
Block a user