summaryrefslogtreecommitdiff
path: root/src/tg/get-updates.lisp
diff options
context:
space:
mode:
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))