diff options
| author | 2025-10-13 06:32:57 +0300 | |
|---|---|---|
| committer | 2025-10-13 06:32:57 +0300 | |
| commit | 9e424b351da370630924e32d0a84eba6fdb8c05e (patch) | |
| tree | 60999a1b91e73c8aa74e43085e3c0be39d5ec8cf /src/tg/send-message.lisp | |
| parent | Improve define-tg-method (diff) | |
| download | ukkoclot-9e424b351da370630924e32d0a84eba6fdb8c05e.tar.gz ukkoclot-9e424b351da370630924e32d0a84eba6fdb8c05e.tar.xz ukkoclot-9e424b351da370630924e32d0a84eba6fdb8c05e.zip | |
Move bot/methods to tg/*
Diffstat (limited to 'src/tg/send-message.lisp')
| -rw-r--r-- | src/tg/send-message.lisp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/tg/send-message.lisp b/src/tg/send-message.lisp new file mode 100644 index 0000000..d2e7248 --- /dev/null +++ b/src/tg/send-message.lisp | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | ;; SPDX-License-Identifier: EUPL-1.2 | ||
| 2 | ;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com> | ||
| 3 | (defpackage :ukkoclot/tg/send-message | ||
| 4 | (:use | ||
| 5 | :c2cl | ||
| 6 | :ukkoclot/tg/force-reply | ||
| 7 | :ukkoclot/tg/inline-keyboard-markup | ||
| 8 | :ukkoclot/tg/link-preview-options | ||
| 9 | :ukkoclot/tg/message | ||
| 10 | :ukkoclot/tg/message-entity | ||
| 11 | :ukkoclot/bot/method-macros | ||
| 12 | :ukkoclot/tg/parse-mode | ||
| 13 | :ukkoclot/tg/reply-keyboard-markup | ||
| 14 | :ukkoclot/tg/reply-keyboard-remove | ||
| 15 | :ukkoclot/tg/reply-parameters) | ||
| 16 | (:export :send-message)) | ||
| 17 | (in-package :ukkoclot/tg/send-message) | ||
| 18 | |||
| 19 | (define-tg-method (send-message message) | ||
| 20 | (business-connection-id (or string null) nil) | ||
| 21 | (chat-id (or integer string)) | ||
| 22 | (message-thread-id (or integer null) nil) | ||
| 23 | (text string) | ||
| 24 | (parse-mode (or parse-mode null) nil) | ||
| 25 | (entities (or (array message-entity) null) nil) | ||
| 26 | (link-preview-options (or link-preview-options null) nil) | ||
| 27 | (disable-notification (or boolean null) nil) | ||
| 28 | (protect-content (or boolean null) nil) | ||
| 29 | (message-effect-id (or string null) nil) | ||
| 30 | (reply-parameters (or reply-parameters null) nil) | ||
| 31 | (reply-markup (or inline-keyboard-markup reply-keyboard-markup reply-keyboard-remove force-reply null) nil)) | ||