summaryrefslogtreecommitdiff
path: root/src/tg/message.lisp
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2025-10-19 11:12:24 +0300
committerGravatar Uko Kokņevičs2025-10-19 11:37:39 +0300
commit6b544b58dba095cafd6906d78b70bfd237397439 (patch)
treec7c4c6b061909a11c3d93cc53c3a141d9e6cae16 /src/tg/message.lisp
parentAdd an alpine build script for srht (diff)
downloadukkoclot-6b544b58dba095cafd6906d78b70bfd237397439.tar.gz
ukkoclot-6b544b58dba095cafd6906d78b70bfd237397439.tar.xz
ukkoclot-6b544b58dba095cafd6906d78b70bfd237397439.zip
Fix lint issues
Diffstat (limited to 'src/tg/message.lisp')
-rw-r--r--src/tg/message.lisp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tg/message.lisp b/src/tg/message.lisp
index 6739189..13162a5 100644
--- a/src/tg/message.lisp
+++ b/src/tg/message.lisp
@@ -1,6 +1,7 @@
1;; SPDX-License-Identifier: EUPL-1.2 1;; SPDX-License-Identifier: EUPL-1.2
2;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com> 2;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com>
3(defpackage :ukkoclot/src/tg/message 3(defpackage :ukkoclot/src/tg/message
4 (:documentation "Message Telegram type")
4 (:use 5 (:use
5 :c2cl 6 :c2cl
6 :ukkoclot/src/tg/animation 7 :ukkoclot/src/tg/animation
@@ -162,11 +163,17 @@
162 ;; (reply-markup (or inline-keyboard-markup null) nil) 163 ;; (reply-markup (or inline-keyboard-markup null) nil)
163 ) ; lint:suppress closing-parens-same-line whitespace-before-close-paren 164 ) ; lint:suppress closing-parens-same-line whitespace-before-close-paren
164 165
166(declaim (inline message-id))
165(defun message-id (msg) 167(defun message-id (msg)
168 "Better named version of `message-message-id'."
166 (message-message-id msg)) 169 (message-message-id msg))
167 170
171(declaim (inline message-chat-id))
168(defun message-chat-id (msg) 172(defun message-chat-id (msg)
173 "Shortcut for (CHAT-ID (MESSAGE-CHAT MSG))."
169 (chat-id (message-chat msg))) 174 (chat-id (message-chat msg)))
170 175
176(declaim (inline message-thread-id))
171(defun message-thread-id (msg) 177(defun message-thread-id (msg)
178 "Better named version of `message-message-thread-id'."
172 (message-message-thread-id msg)) 179 (message-message-thread-id msg))