summaryrefslogtreecommitdiff
path: root/src/tg/get-updates.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/get-updates.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/get-updates.lisp')
-rw-r--r--src/tg/get-updates.lisp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tg/get-updates.lisp b/src/tg/get-updates.lisp
new file mode 100644
index 0000000..15f5e3f
--- /dev/null
+++ b/src/tg/get-updates.lisp
@@ -0,0 +1,12 @@
1;; SPDX-License-Identifier: EUPL-1.2
2;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com>
3(defpackage :ukkoclot/tg/get-updates
4 (:use :c2cl :ukkoclot/bot/method-macros :ukkoclot/tg/update)
5 (:export :get-updates))
6(in-package :ukkoclot/tg/get-updates)
7
8(define-tg-method (get-updates (array update))
9 (offset (or integer null) nil)
10 (limit (or integer null) nil)
11 (timeout (or integer null) nil)
12 (allowed-updates (or string null) nil))