summaryrefslogtreecommitdiff
path: root/src/tg/answer-callback-query.lisp
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2025-10-13 06:32:57 +0300
committerGravatar Uko Kokņevičs2025-10-13 06:32:57 +0300
commit9e424b351da370630924e32d0a84eba6fdb8c05e (patch)
tree60999a1b91e73c8aa74e43085e3c0be39d5ec8cf /src/tg/answer-callback-query.lisp
parentImprove define-tg-method (diff)
downloadukkoclot-9e424b351da370630924e32d0a84eba6fdb8c05e.tar.gz
ukkoclot-9e424b351da370630924e32d0a84eba6fdb8c05e.tar.xz
ukkoclot-9e424b351da370630924e32d0a84eba6fdb8c05e.zip
Move bot/methods to tg/*
Diffstat (limited to 'src/tg/answer-callback-query.lisp')
-rw-r--r--src/tg/answer-callback-query.lisp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tg/answer-callback-query.lisp b/src/tg/answer-callback-query.lisp
new file mode 100644
index 0000000..badd8a4
--- /dev/null
+++ b/src/tg/answer-callback-query.lisp
@@ -0,0 +1,13 @@
1;; SPDX-License-Identifier: EUPL-1.2
2;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com>
3(defpackage :ukkoclot/tg/answer-callback-query
4 (:use :c2cl :ukkoclot/bot/method-macros)
5 (:export :answer-callback-query))
6(in-package :ukkoclot/tg/answer-callback-query)
7
8(define-tg-method (answer-callback-query boolean)
9 (callback-query-id string)
10 (text (or string null) nil)
11 (show-alert boolean nil)
12 (url (or string null) nil)
13 (cache-time (or integer null) nil))