From 9e424b351da370630924e32d0a84eba6fdb8c05e Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Mon, 13 Oct 2025 06:32:57 +0300 Subject: Move bot/methods to tg/* --- src/tg/get-updates.lisp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/tg/get-updates.lisp (limited to 'src/tg/get-updates.lisp') 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 @@ +;; SPDX-License-Identifier: EUPL-1.2 +;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs +(defpackage :ukkoclot/tg/get-updates + (:use :c2cl :ukkoclot/bot/method-macros :ukkoclot/tg/update) + (:export :get-updates)) +(in-package :ukkoclot/tg/get-updates) + +(define-tg-method (get-updates (array update)) + (offset (or integer null) nil) + (limit (or integer null) nil) + (timeout (or integer null) nil) + (allowed-updates (or string null) nil)) -- cgit v1.2.3