diff options
| author | 2025-10-13 00:05:43 +0300 | |
|---|---|---|
| committer | 2025-10-13 00:05:43 +0300 | |
| commit | 5a941f218b918ca3b301d661942f0911c5153a12 (patch) | |
| tree | 2846be6d3428342d1a1f9f1cd7bc5058a4d4fe1a | |
| parent | Some more TG types (diff) | |
| download | ukkoclot-5a941f218b918ca3b301d661942f0911c5153a12.tar.gz ukkoclot-5a941f218b918ca3b301d661942f0911c5153a12.tar.xz ukkoclot-5a941f218b918ca3b301d661942f0911c5153a12.zip | |
Rename tg-types to just tg
| -rw-r--r-- | src/bot/advanced.lisp | 2 | ||||
| -rw-r--r-- | src/bot/methods.lisp | 2 | ||||
| -rw-r--r-- | src/inline-bots.lisp | 2 | ||||
| -rw-r--r-- | src/main.lisp | 2 | ||||
| -rw-r--r-- | src/tg-types.lisp | 40 | ||||
| -rw-r--r-- | src/tg.lisp | 40 | ||||
| -rw-r--r-- | src/tg/animation.lisp (renamed from src/tg-types/animation.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/bot-name.lisp (renamed from src/tg-types/bot-name.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/business-bot-rights.lisp (renamed from src/tg-types/business-bot-rights.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/business-connection.lisp (renamed from src/tg-types/business-connection.lisp) | 10 | ||||
| -rw-r--r-- | src/tg/callback-query.lisp (renamed from src/tg-types/callback-query.lisp) | 10 | ||||
| -rw-r--r-- | src/tg/chat-administrator-rights.lisp (renamed from src/tg-types/chat-administrator-rights.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/chat-type.lisp (renamed from src/tg-types/chat-type.lisp) | 4 | ||||
| -rw-r--r-- | src/tg/chat.lisp (renamed from src/tg-types/chat.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/force-reply.lisp (renamed from src/tg-types/force-reply.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/inline-keyboard-button.lisp (renamed from src/tg-types/inline-keyboard-button.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/inline-keyboard-markup.lisp (renamed from src/tg-types/inline-keyboard-markup.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/keyboard-button-poll-type.lisp (renamed from src/tg-types/keyboard-button-poll-type.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/keyboard-button-request-chat.lisp (renamed from src/tg-types/keyboard-button-request-chat.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/keyboard-button-request-users.lisp (renamed from src/tg-types/keyboard-button-request-users.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/keyboard-button.lisp (renamed from src/tg-types/keyboard-button.lisp) | 14 | ||||
| -rw-r--r-- | src/tg/link-preview-options.lisp (renamed from src/tg-types/link-preview-options.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/macros.lisp (renamed from src/tg-types/macros.lisp) | 4 | ||||
| -rw-r--r-- | src/tg/message-entity-type.lisp (renamed from src/tg-types/message-entity-type.lisp) | 4 | ||||
| -rw-r--r-- | src/tg/message-entity.lisp (renamed from src/tg-types/message-entity.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/message-reaction-updated.lisp (renamed from src/tg-types/message-reaction-updated.lisp) | 12 | ||||
| -rw-r--r-- | src/tg/message.lisp (renamed from src/tg-types/message.lisp) | 16 | ||||
| -rw-r--r-- | src/tg/parse-mode.lisp (renamed from src/tg-types/parse-mode.lisp) | 4 | ||||
| -rw-r--r-- | src/tg/photo-size.lisp (renamed from src/tg-types/photo-size.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/reaction-type-custom-emoji.lisp (renamed from src/tg-types/reaction-type-custom-emoji.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/reaction-type-emoji.lisp (renamed from src/tg-types/reaction-type-emoji.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/reaction-type-paid.lisp (renamed from src/tg-types/reaction-type-paid.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/reaction-type.lisp (renamed from src/tg-types/reaction-type.lisp) | 12 | ||||
| -rw-r--r-- | src/tg/reply-keyboard-markup.lisp (renamed from src/tg-types/reply-keyboard-markup.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/reply-keyboard-remove.lisp (renamed from src/tg-types/reply-keyboard-remove.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/reply-parameters.lisp (renamed from src/tg-types/reply-parameters.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/suggested-post-parameters.lisp (renamed from src/tg-types/suggested-post-parameters.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/suggested-post-price.lisp (renamed from src/tg-types/suggested-post-price.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/update.lisp (renamed from src/tg-types/update.lisp) | 14 | ||||
| -rw-r--r-- | src/tg/user.lisp (renamed from src/tg-types/user.lisp) | 6 | ||||
| -rw-r--r-- | src/tg/web-app-info.lisp (renamed from src/tg-types/web-app-info.lisp) | 6 |
41 files changed, 168 insertions, 168 deletions
diff --git a/src/bot/advanced.lisp b/src/bot/advanced.lisp index 241b04d..635bdb0 100644 --- a/src/bot/advanced.lisp +++ b/src/bot/advanced.lisp | |||
| @@ -1,7 +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/bot/advanced | 3 | (defpackage :ukkoclot/bot/advanced |
| 4 | (:use :c2cl :ukkoclot/bot/impl :ukkoclot/bot/methods :ukkoclot/tg-types) | 4 | (:use :c2cl :ukkoclot/bot/impl :ukkoclot/bot/methods :ukkoclot/tg) |
| 5 | (:export :bot-id :bot-username :reply-animation :reply-message :try-delete-message)) | 5 | (:export :bot-id :bot-username :reply-animation :reply-message :try-delete-message)) |
| 6 | (in-package :ukkoclot/bot/advanced) | 6 | (in-package :ukkoclot/bot/advanced) |
| 7 | 7 | ||
diff --git a/src/bot/methods.lisp b/src/bot/methods.lisp index 984646a..6ef507c 100644 --- a/src/bot/methods.lisp +++ b/src/bot/methods.lisp | |||
| @@ -1,7 +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/bot/methods | 3 | (defpackage :ukkoclot/bot/methods |
| 4 | (:use :c2cl :ukkoclot/bot/impl :ukkoclot/tg-types :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/bot/impl :ukkoclot/tg :ukkoclot/tg/macros) |
| 5 | (:export :answer-callback-query :delete-message :send-animation :edit-message-text :get-me :get-updates :send-message :set-my-name)) | 5 | (:export :answer-callback-query :delete-message :send-animation :edit-message-text :get-me :get-updates :send-message :set-my-name)) |
| 6 | (in-package :ukkoclot/bot/methods) | 6 | (in-package :ukkoclot/bot/methods) |
| 7 | 7 | ||
diff --git a/src/inline-bots.lisp b/src/inline-bots.lisp index 3c6b7c4..08568d2 100644 --- a/src/inline-bots.lisp +++ b/src/inline-bots.lisp | |||
| @@ -1,7 +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/inline-bots | 3 | (defpackage :ukkoclot/inline-bots |
| 4 | (:use :c2cl :ukkoclot/bot :ukkoclot/config :ukkoclot/tg-types) | 4 | (:use :c2cl :ukkoclot/bot :ukkoclot/config :ukkoclot/tg) |
| 5 | (:import-from :log) | 5 | (:import-from :log) |
| 6 | (:local-nicknames (:db :ukkoclot/db)) | 6 | (:local-nicknames (:db :ukkoclot/db)) |
| 7 | (:export :blacklist-inline-bot :on-inline-bot :whitelist-inline-bot)) | 7 | (:export :blacklist-inline-bot :on-inline-bot :whitelist-inline-bot)) |
diff --git a/src/main.lisp b/src/main.lisp index f90bfb3..862526b 100644 --- a/src/main.lisp +++ b/src/main.lisp | |||
| @@ -2,7 +2,7 @@ | |||
| 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/main | 3 | (defpackage :ukkoclot/main |
| 4 | (:nicknames :ukkoclot) | 4 | (:nicknames :ukkoclot) |
| 5 | (:use :c2cl :ukkoclot/bot :ukkoclot/config :ukkoclot/inline-bots :ukkoclot/tg-types) | 5 | (:use :c2cl :ukkoclot/bot :ukkoclot/config :ukkoclot/inline-bots :ukkoclot/tg) |
| 6 | (:import-from :anaphora :acond :awhen :it) | 6 | (:import-from :anaphora :acond :awhen :it) |
| 7 | (:import-from :log) | 7 | (:import-from :log) |
| 8 | (:import-from :ukkoclot/bot :make-bot :bot-power-on :fixup-value) | 8 | (:import-from :ukkoclot/bot :make-bot :bot-power-on :fixup-value) |
diff --git a/src/tg-types.lisp b/src/tg-types.lisp deleted file mode 100644 index 24d4923..0000000 --- a/src/tg-types.lisp +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | ;; SPDX-License-Identifier: EUPL-1.2 | ||
| 2 | ;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com> | ||
| 3 | (uiop:define-package :ukkoclot/tg-types | ||
| 4 | (:use) | ||
| 5 | (:use-reexport | ||
| 6 | :ukkoclot/tg-types/animation | ||
| 7 | :ukkoclot/tg-types/bot-name | ||
| 8 | :ukkoclot/tg-types/business-bot-rights | ||
| 9 | :ukkoclot/tg-types/business-connection | ||
| 10 | :ukkoclot/tg-types/callback-query | ||
| 11 | :ukkoclot/tg-types/chat | ||
| 12 | :ukkoclot/tg-types/chat-type | ||
| 13 | :ukkoclot/tg-types/chat-administrator-rights | ||
| 14 | :ukkoclot/tg-types/force-reply | ||
| 15 | :ukkoclot/tg-types/inline-keyboard-button | ||
| 16 | :ukkoclot/tg-types/inline-keyboard-markup | ||
| 17 | :ukkoclot/tg-types/keyboard-button | ||
| 18 | :ukkoclot/tg-types/keyboard-button-poll-type | ||
| 19 | :ukkoclot/tg-types/keyboard-button-request-chat | ||
| 20 | :ukkoclot/tg-types/keyboard-button-request-users | ||
| 21 | :ukkoclot/tg-types/link-preview-options | ||
| 22 | :ukkoclot/tg-types/message | ||
| 23 | :ukkoclot/tg-types/message-entity | ||
| 24 | :ukkoclot/tg-types/message-entity-type | ||
| 25 | :ukkoclot/tg-types/message-reaction-updated | ||
| 26 | :ukkoclot/tg-types/parse-mode | ||
| 27 | :ukkoclot/tg-types/photo-size | ||
| 28 | :ukkoclot/tg-types/reaction-type | ||
| 29 | :ukkoclot/tg-types/reaction-type-custom-emoji | ||
| 30 | :ukkoclot/tg-types/reaction-type-emoji | ||
| 31 | :ukkoclot/tg-types/reaction-type-paid | ||
| 32 | :ukkoclot/tg-types/reply-keyboard-markup | ||
| 33 | :ukkoclot/tg-types/reply-keyboard-remove | ||
| 34 | :ukkoclot/tg-types/reply-parameters | ||
| 35 | :ukkoclot/tg-types/suggested-post-parameters | ||
| 36 | :ukkoclot/tg-types/suggested-post-price | ||
| 37 | :ukkoclot/tg-types/update | ||
| 38 | :ukkoclot/tg-types/user | ||
| 39 | :ukkoclot/tg-types/web-app-info | ||
| 40 | )) | ||
diff --git a/src/tg.lisp b/src/tg.lisp new file mode 100644 index 0000000..e12f04a --- /dev/null +++ b/src/tg.lisp | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | ;; SPDX-License-Identifier: EUPL-1.2 | ||
| 2 | ;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com> | ||
| 3 | (uiop:define-package :ukkoclot/tg | ||
| 4 | (:use) | ||
| 5 | (:use-reexport | ||
| 6 | :ukkoclot/tg/animation | ||
| 7 | :ukkoclot/tg/bot-name | ||
| 8 | :ukkoclot/tg/business-bot-rights | ||
| 9 | :ukkoclot/tg/business-connection | ||
| 10 | :ukkoclot/tg/callback-query | ||
| 11 | :ukkoclot/tg/chat | ||
| 12 | :ukkoclot/tg/chat-type | ||
| 13 | :ukkoclot/tg/chat-administrator-rights | ||
| 14 | :ukkoclot/tg/force-reply | ||
| 15 | :ukkoclot/tg/inline-keyboard-button | ||
| 16 | :ukkoclot/tg/inline-keyboard-markup | ||
| 17 | :ukkoclot/tg/keyboard-button | ||
| 18 | :ukkoclot/tg/keyboard-button-poll-type | ||
| 19 | :ukkoclot/tg/keyboard-button-request-chat | ||
| 20 | :ukkoclot/tg/keyboard-button-request-users | ||
| 21 | :ukkoclot/tg/link-preview-options | ||
| 22 | :ukkoclot/tg/message | ||
| 23 | :ukkoclot/tg/message-entity | ||
| 24 | :ukkoclot/tg/message-entity-type | ||
| 25 | :ukkoclot/tg/message-reaction-updated | ||
| 26 | :ukkoclot/tg/parse-mode | ||
| 27 | :ukkoclot/tg/photo-size | ||
| 28 | :ukkoclot/tg/reaction-type | ||
| 29 | :ukkoclot/tg/reaction-type-custom-emoji | ||
| 30 | :ukkoclot/tg/reaction-type-emoji | ||
| 31 | :ukkoclot/tg/reaction-type-paid | ||
| 32 | :ukkoclot/tg/reply-keyboard-markup | ||
| 33 | :ukkoclot/tg/reply-keyboard-remove | ||
| 34 | :ukkoclot/tg/reply-parameters | ||
| 35 | :ukkoclot/tg/suggested-post-parameters | ||
| 36 | :ukkoclot/tg/suggested-post-price | ||
| 37 | :ukkoclot/tg/update | ||
| 38 | :ukkoclot/tg/user | ||
| 39 | :ukkoclot/tg/web-app-info | ||
| 40 | )) | ||
diff --git a/src/tg-types/animation.lisp b/src/tg/animation.lisp index 421dcc7..d17db94 100644 --- a/src/tg-types/animation.lisp +++ b/src/tg/animation.lisp | |||
| @@ -1,7 +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/tg-types/animation | 3 | (defpackage :ukkoclot/tg/animation |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros :ukkoclot/tg-types/photo-size) | 4 | (:use :c2cl :ukkoclot/tg/macros :ukkoclot/tg/photo-size) |
| 5 | (:export | 5 | (:export |
| 6 | #:animation | 6 | #:animation |
| 7 | #:make-animation | 7 | #:make-animation |
| @@ -16,7 +16,7 @@ | |||
| 16 | #:animation-file-name | 16 | #:animation-file-name |
| 17 | #:animation-mime-type | 17 | #:animation-mime-type |
| 18 | #:animation-file-size)) | 18 | #:animation-file-size)) |
| 19 | (in-package :ukkoclot/tg-types/animation) | 19 | (in-package :ukkoclot/tg/animation) |
| 20 | 20 | ||
| 21 | (define-tg-type animation | 21 | (define-tg-type animation |
| 22 | (file-id string) | 22 | (file-id string) |
diff --git a/src/tg-types/bot-name.lisp b/src/tg/bot-name.lisp index b42765c..933ce8c 100644 --- a/src/tg-types/bot-name.lisp +++ b/src/tg/bot-name.lisp | |||
| @@ -1,14 +1,14 @@ | |||
| 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/tg-types/bot-name | 3 | (defpackage :ukkoclot/tg/bot-name |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:bot-name | 6 | #:bot-name |
| 7 | #:make-bot-name | 7 | #:make-bot-name |
| 8 | #:bot-name-p | 8 | #:bot-name-p |
| 9 | #:copy-bot-name | 9 | #:copy-bot-name |
| 10 | #:bot-name-name)) | 10 | #:bot-name-name)) |
| 11 | (in-package :ukkoclot/tg-types/bot-name) | 11 | (in-package :ukkoclot/tg/bot-name) |
| 12 | 12 | ||
| 13 | (define-tg-type bot-name | 13 | (define-tg-type bot-name |
| 14 | (name string)) | 14 | (name string)) |
diff --git a/src/tg-types/business-bot-rights.lisp b/src/tg/business-bot-rights.lisp index 7a65dcd..f5a44c0 100644 --- a/src/tg-types/business-bot-rights.lisp +++ b/src/tg/business-bot-rights.lisp | |||
| @@ -1,7 +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/tg-types/business-bot-rights | 3 | (defpackage :ukkoclot/tg/business-bot-rights |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:business-bot-rights | 6 | #:business-bot-rights |
| 7 | #:make-business-bot-rights | 7 | #:make-business-bot-rights |
| @@ -21,7 +21,7 @@ | |||
| 21 | #:business-bot-rights-can-transfer-and-upgrade-gifts | 21 | #:business-bot-rights-can-transfer-and-upgrade-gifts |
| 22 | #:business-bot-rights-can-transfer-stars | 22 | #:business-bot-rights-can-transfer-stars |
| 23 | #:business-bot-rights-can-manage-stories)) | 23 | #:business-bot-rights-can-manage-stories)) |
| 24 | (in-package :ukkoclot/tg-types/business-bot-rights) | 24 | (in-package :ukkoclot/tg/business-bot-rights) |
| 25 | 25 | ||
| 26 | (define-tg-type business-bot-rights | 26 | (define-tg-type business-bot-rights |
| 27 | (can-reply boolean nil) | 27 | (can-reply boolean nil) |
diff --git a/src/tg-types/business-connection.lisp b/src/tg/business-connection.lisp index 04fe7c4..74f6c9e 100644 --- a/src/tg-types/business-connection.lisp +++ b/src/tg/business-connection.lisp | |||
| @@ -1,11 +1,11 @@ | |||
| 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/tg-types/business-connection | 3 | (defpackage :ukkoclot/tg/business-connection |
| 4 | (:use | 4 | (:use |
| 5 | :c2cl | 5 | :c2cl |
| 6 | :ukkoclot/tg-types/macros | 6 | :ukkoclot/tg/macros |
| 7 | :ukkoclot/tg-types/business-bot-rights | 7 | :ukkoclot/tg/business-bot-rights |
| 8 | :ukkoclot/tg-types/user) | 8 | :ukkoclot/tg/user) |
| 9 | (:export | 9 | (:export |
| 10 | #:business-connection | 10 | #:business-connection |
| 11 | #:make-business-connection | 11 | #:make-business-connection |
| @@ -17,7 +17,7 @@ | |||
| 17 | #:business-connection-date | 17 | #:business-connection-date |
| 18 | #:business-connection-rights | 18 | #:business-connection-rights |
| 19 | #:business-connection-is-enabled)) | 19 | #:business-connection-is-enabled)) |
| 20 | (in-package :ukkoclot/tg-types/business-connection) | 20 | (in-package :ukkoclot/tg/business-connection) |
| 21 | 21 | ||
| 22 | (define-tg-type business-connection | 22 | (define-tg-type business-connection |
| 23 | (id string) | 23 | (id string) |
diff --git a/src/tg-types/callback-query.lisp b/src/tg/callback-query.lisp index 875ff25..6b89755 100644 --- a/src/tg-types/callback-query.lisp +++ b/src/tg/callback-query.lisp | |||
| @@ -1,10 +1,10 @@ | |||
| 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/tg-types/callback-query | 3 | (defpackage :ukkoclot/tg/callback-query |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:use | 5 | (:use |
| 6 | :ukkoclot/tg-types/message | 6 | :ukkoclot/tg/message |
| 7 | :ukkoclot/tg-types/user) | 7 | :ukkoclot/tg/user) |
| 8 | (:export | 8 | (:export |
| 9 | #:callback-query | 9 | #:callback-query |
| 10 | #:make-callback-query | 10 | #:make-callback-query |
| @@ -17,7 +17,7 @@ | |||
| 17 | #:callback-query-chat-instance | 17 | #:callback-query-chat-instance |
| 18 | #:callback-query-data | 18 | #:callback-query-data |
| 19 | #:callback-query-game-short-name)) | 19 | #:callback-query-game-short-name)) |
| 20 | (in-package :ukkoclot/tg-types/callback-query) | 20 | (in-package :ukkoclot/tg/callback-query) |
| 21 | 21 | ||
| 22 | (define-tg-type callback-query | 22 | (define-tg-type callback-query |
| 23 | (id string) | 23 | (id string) |
diff --git a/src/tg-types/chat-administrator-rights.lisp b/src/tg/chat-administrator-rights.lisp index 37c1ce0..2c37757 100644 --- a/src/tg-types/chat-administrator-rights.lisp +++ b/src/tg/chat-administrator-rights.lisp | |||
| @@ -1,7 +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/tg-types/chat-administrator-rights | 3 | (defpackage :ukkoclot/tg/chat-administrator-rights |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:chat-administrator-rights | 6 | #:chat-administrator-rights |
| 7 | #:make-chat-administrator-rights | 7 | #:make-chat-administrator-rights |
| @@ -23,7 +23,7 @@ | |||
| 23 | #:chat-administrator-rights-can-pin-messages | 23 | #:chat-administrator-rights-can-pin-messages |
| 24 | #:chat-administrator-rights-can-manage-topics | 24 | #:chat-administrator-rights-can-manage-topics |
| 25 | #:chat-administrator-rights-can-manage-direct-messages)) | 25 | #:chat-administrator-rights-can-manage-direct-messages)) |
| 26 | (in-package :ukkoclot/tg-types/chat-administrator-rights) | 26 | (in-package :ukkoclot/tg/chat-administrator-rights) |
| 27 | 27 | ||
| 28 | (define-tg-type chat-administrator-rights | 28 | (define-tg-type chat-administrator-rights |
| 29 | (is-anonymous boolean) | 29 | (is-anonymous boolean) |
diff --git a/src/tg-types/chat-type.lisp b/src/tg/chat-type.lisp index dc9147a..daf135a 100644 --- a/src/tg-types/chat-type.lisp +++ b/src/tg/chat-type.lisp | |||
| @@ -1,9 +1,9 @@ | |||
| 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/tg-types/chat-type | 3 | (defpackage :ukkoclot/tg/chat-type |
| 4 | (:use :c2cl :ukkoclot/enum) | 4 | (:use :c2cl :ukkoclot/enum) |
| 5 | (:export :channel :chat-type :group :private :supergroup)) | 5 | (:export :channel :chat-type :group :private :supergroup)) |
| 6 | (in-package :ukkoclot/tg-types/chat-type) | 6 | (in-package :ukkoclot/tg/chat-type) |
| 7 | 7 | ||
| 8 | (define-enum chat-type | 8 | (define-enum chat-type |
| 9 | (private "private") | 9 | (private "private") |
diff --git a/src/tg-types/chat.lisp b/src/tg/chat.lisp index d4af5a1..1fa3f7e 100644 --- a/src/tg-types/chat.lisp +++ b/src/tg/chat.lisp | |||
| @@ -1,7 +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/tg-types/chat | 3 | (defpackage :ukkoclot/tg/chat |
| 4 | (:use :c2cl :ukkoclot/tg-types/chat-type :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/chat-type :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:chat | 6 | #:chat |
| 7 | #:make-chat | 7 | #:make-chat |
| @@ -15,7 +15,7 @@ | |||
| 15 | #:chat-last-name | 15 | #:chat-last-name |
| 16 | #:chat-is-forum | 16 | #:chat-is-forum |
| 17 | #:chat-is-direct-messages)) | 17 | #:chat-is-direct-messages)) |
| 18 | (in-package :ukkoclot/tg-types/chat) | 18 | (in-package :ukkoclot/tg/chat) |
| 19 | 19 | ||
| 20 | (define-tg-type chat | 20 | (define-tg-type chat |
| 21 | (id integer) | 21 | (id integer) |
diff --git a/src/tg-types/force-reply.lisp b/src/tg/force-reply.lisp index 5dc49fb..816eb75 100644 --- a/src/tg-types/force-reply.lisp +++ b/src/tg/force-reply.lisp | |||
| @@ -1,7 +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/tg-types/force-reply | 3 | (defpackage :ukkoclot/tg/force-reply |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:force-reply | 6 | #:force-reply |
| 7 | #:make-force-reply | 7 | #:make-force-reply |
| @@ -10,7 +10,7 @@ | |||
| 10 | #:force-reply-force-reply | 10 | #:force-reply-force-reply |
| 11 | #:force-reply-input-field-placeholder | 11 | #:force-reply-input-field-placeholder |
| 12 | #:force-reply-selective)) | 12 | #:force-reply-selective)) |
| 13 | (in-package :ukkoclot/tg-types/force-reply) | 13 | (in-package :ukkoclot/tg/force-reply) |
| 14 | 14 | ||
| 15 | (define-tg-type force-reply | 15 | (define-tg-type force-reply |
| 16 | (force-reply boolean t :skip-if-default nil) | 16 | (force-reply boolean t :skip-if-default nil) |
diff --git a/src/tg-types/inline-keyboard-button.lisp b/src/tg/inline-keyboard-button.lisp index e3b3533..e403f2a 100644 --- a/src/tg-types/inline-keyboard-button.lisp +++ b/src/tg/inline-keyboard-button.lisp | |||
| @@ -1,7 +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/tg-types/inline-keyboard-button | 3 | (defpackage :ukkoclot/tg/inline-keyboard-button |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros :ukkoclot/tg-types/web-app-info) | 4 | (:use :c2cl :ukkoclot/tg/macros :ukkoclot/tg/web-app-info) |
| 5 | (:export | 5 | (:export |
| 6 | #:inline-keyboard-button | 6 | #:inline-keyboard-button |
| 7 | #:make-inline-keyboard-button | 7 | #:make-inline-keyboard-button |
| @@ -14,7 +14,7 @@ | |||
| 14 | #:inline-keyboard-button-switch-inline-query | 14 | #:inline-keyboard-button-switch-inline-query |
| 15 | #:inline-keyboard-button-switch-inline-query-current-chat | 15 | #:inline-keyboard-button-switch-inline-query-current-chat |
| 16 | #:inline-keyboard-button-pay)) | 16 | #:inline-keyboard-button-pay)) |
| 17 | (in-package :ukkoclot/tg-types/inline-keyboard-button) | 17 | (in-package :ukkoclot/tg/inline-keyboard-button) |
| 18 | 18 | ||
| 19 | (define-tg-type inline-keyboard-button | 19 | (define-tg-type inline-keyboard-button |
| 20 | (text string) | 20 | (text string) |
diff --git a/src/tg-types/inline-keyboard-markup.lisp b/src/tg/inline-keyboard-markup.lisp index bb7b9c1..023b87f 100644 --- a/src/tg-types/inline-keyboard-markup.lisp +++ b/src/tg/inline-keyboard-markup.lisp | |||
| @@ -1,14 +1,14 @@ | |||
| 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/tg-types/inline-keyboard-markup | 3 | (defpackage :ukkoclot/tg/inline-keyboard-markup |
| 4 | (:use :c2cl :ukkoclot/tg-types/inline-keyboard-button :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/inline-keyboard-button :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:inline-keyboard-markup | 6 | #:inline-keyboard-markup |
| 7 | #:make-inline-keyboard-markup | 7 | #:make-inline-keyboard-markup |
| 8 | #:inline-keyboard-markup-p | 8 | #:inline-keyboard-markup-p |
| 9 | #:copy-inline-keyboard-markup | 9 | #:copy-inline-keyboard-markup |
| 10 | #:inline-keyboard-markup-inline-keyboard)) | 10 | #:inline-keyboard-markup-inline-keyboard)) |
| 11 | (in-package :ukkoclot/tg-types/inline-keyboard-markup) | 11 | (in-package :ukkoclot/tg/inline-keyboard-markup) |
| 12 | 12 | ||
| 13 | (define-tg-type inline-keyboard-markup | 13 | (define-tg-type inline-keyboard-markup |
| 14 | (inline-keyboard (array (array inline-keyboard-button)))) | 14 | (inline-keyboard (array (array inline-keyboard-button)))) |
diff --git a/src/tg-types/keyboard-button-poll-type.lisp b/src/tg/keyboard-button-poll-type.lisp index fdd7b92..7b5b063 100644 --- a/src/tg-types/keyboard-button-poll-type.lisp +++ b/src/tg/keyboard-button-poll-type.lisp | |||
| @@ -1,14 +1,14 @@ | |||
| 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/tg-types/keyboard-button-poll-type | 3 | (defpackage :ukkoclot/tg/keyboard-button-poll-type |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:keyboard-button-poll-type | 6 | #:keyboard-button-poll-type |
| 7 | #:make-keyboard-button-poll-type | 7 | #:make-keyboard-button-poll-type |
| 8 | #:keyboard-button-poll-type-p | 8 | #:keyboard-button-poll-type-p |
| 9 | #:copy-keyboard-button-poll-type | 9 | #:copy-keyboard-button-poll-type |
| 10 | #:keyboard-button-poll-type-type)) | 10 | #:keyboard-button-poll-type-type)) |
| 11 | (in-package :ukkoclot/tg-types/keyboard-button-poll-type) | 11 | (in-package :ukkoclot/tg/keyboard-button-poll-type) |
| 12 | 12 | ||
| 13 | (define-tg-type keyboard-button-poll-type | 13 | (define-tg-type keyboard-button-poll-type |
| 14 | (type (or string null) nil)) ;(member "quiz" "regular") or null | 14 | (type (or string null) nil)) ;(member "quiz" "regular") or null |
diff --git a/src/tg-types/keyboard-button-request-chat.lisp b/src/tg/keyboard-button-request-chat.lisp index aab8512..07f0d27 100644 --- a/src/tg-types/keyboard-button-request-chat.lisp +++ b/src/tg/keyboard-button-request-chat.lisp | |||
| @@ -1,7 +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/tg-types/keyboard-button-request-chat | 3 | (defpackage :ukkoclot/tg/keyboard-button-request-chat |
| 4 | (:use :c2cl :ukkoclot/tg-types/chat-administrator-rights :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/chat-administrator-rights :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:keyboard-button-request-chat | 6 | #:keyboard-button-request-chat |
| 7 | #:make-keyboard-button-request-chat | 7 | #:make-keyboard-button-request-chat |
| @@ -16,7 +16,7 @@ | |||
| 16 | #:keyboard-button-request-chat-request-title | 16 | #:keyboard-button-request-chat-request-title |
| 17 | #:keyboard-button-request-chat-request-username | 17 | #:keyboard-button-request-chat-request-username |
| 18 | #:keyboard-button-request-chat-request-photo)) | 18 | #:keyboard-button-request-chat-request-photo)) |
| 19 | (in-package :ukkoclot/tg-types/keyboard-button-request-chat) | 19 | (in-package :ukkoclot/tg/keyboard-button-request-chat) |
| 20 | 20 | ||
| 21 | (define-tg-type keyboard-button-request-chat | 21 | (define-tg-type keyboard-button-request-chat |
| 22 | (request-id integer) | 22 | (request-id integer) |
diff --git a/src/tg-types/keyboard-button-request-users.lisp b/src/tg/keyboard-button-request-users.lisp index 9b20c3d..82b9151 100644 --- a/src/tg-types/keyboard-button-request-users.lisp +++ b/src/tg/keyboard-button-request-users.lisp | |||
| @@ -1,7 +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/tg-types/keyboard-button-request-users | 3 | (defpackage :ukkoclot/tg/keyboard-button-request-users |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:keyboard-button-request-users | 6 | #:keyboard-button-request-users |
| 7 | #:make-keyboard-button-request-users | 7 | #:make-keyboard-button-request-users |
| @@ -12,7 +12,7 @@ | |||
| 12 | #:keyboard-button-request-users-request-name | 12 | #:keyboard-button-request-users-request-name |
| 13 | #:keyboard-button-request-users-request-username | 13 | #:keyboard-button-request-users-request-username |
| 14 | #:keyboard-button-request-users-request-photo)) | 14 | #:keyboard-button-request-users-request-photo)) |
| 15 | (in-package :ukkoclot/tg-types/keyboard-button-request-users) | 15 | (in-package :ukkoclot/tg/keyboard-button-request-users) |
| 16 | 16 | ||
| 17 | (define-tg-type keyboard-button-request-users | 17 | (define-tg-type keyboard-button-request-users |
| 18 | (request-id integer) | 18 | (request-id integer) |
diff --git a/src/tg-types/keyboard-button.lisp b/src/tg/keyboard-button.lisp index fac64e6..79c87d6 100644 --- a/src/tg-types/keyboard-button.lisp +++ b/src/tg/keyboard-button.lisp | |||
| @@ -1,13 +1,13 @@ | |||
| 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/tg-types/keyboard-button | 3 | (defpackage :ukkoclot/tg/keyboard-button |
| 4 | (:use | 4 | (:use |
| 5 | :c2cl | 5 | :c2cl |
| 6 | :ukkoclot/tg-types/keyboard-button-poll-type | 6 | :ukkoclot/tg/keyboard-button-poll-type |
| 7 | :ukkoclot/tg-types/keyboard-button-request-chat | 7 | :ukkoclot/tg/keyboard-button-request-chat |
| 8 | :ukkoclot/tg-types/keyboard-button-request-users | 8 | :ukkoclot/tg/keyboard-button-request-users |
| 9 | :ukkoclot/tg-types/macros | 9 | :ukkoclot/tg/macros |
| 10 | :ukkoclot/tg-types/web-app-info) | 10 | :ukkoclot/tg/web-app-info) |
| 11 | (:export | 11 | (:export |
| 12 | #:keyboard-button | 12 | #:keyboard-button |
| 13 | #:make-keyboard-button | 13 | #:make-keyboard-button |
| @@ -20,7 +20,7 @@ | |||
| 20 | #:keyboard-button-request-location | 20 | #:keyboard-button-request-location |
| 21 | #:keyboard-button-request-poll | 21 | #:keyboard-button-request-poll |
| 22 | #:keyboard-button-web-app)) | 22 | #:keyboard-button-web-app)) |
| 23 | (in-package :ukkoclot/tg-types/keyboard-button) | 23 | (in-package :ukkoclot/tg/keyboard-button) |
| 24 | 24 | ||
| 25 | (define-tg-type keyboard-button | 25 | (define-tg-type keyboard-button |
| 26 | (text string) | 26 | (text string) |
diff --git a/src/tg-types/link-preview-options.lisp b/src/tg/link-preview-options.lisp index 450a9ea..7ed4859 100644 --- a/src/tg-types/link-preview-options.lisp +++ b/src/tg/link-preview-options.lisp | |||
| @@ -1,7 +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/tg-types/link-preview-options | 3 | (defpackage :ukkoclot/tg/link-preview-options |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:link-preview-options | 6 | #:link-preview-options |
| 7 | #:make-link-preview-options | 7 | #:make-link-preview-options |
| @@ -12,7 +12,7 @@ | |||
| 12 | #:link-preview-options-prefer-small-media | 12 | #:link-preview-options-prefer-small-media |
| 13 | #:link-preview-options-prefer-large-media | 13 | #:link-preview-options-prefer-large-media |
| 14 | #:link-preview-options-show-above-text)) | 14 | #:link-preview-options-show-above-text)) |
| 15 | (in-package :ukkoclot/tg-types/link-preview-options) | 15 | (in-package :ukkoclot/tg/link-preview-options) |
| 16 | 16 | ||
| 17 | (define-tg-type link-preview-options | 17 | (define-tg-type link-preview-options |
| 18 | (is-disabled boolean nil) | 18 | (is-disabled boolean nil) |
diff --git a/src/tg-types/macros.lisp b/src/tg/macros.lisp index a8a3d96..92afd6e 100644 --- a/src/tg-types/macros.lisp +++ b/src/tg/macros.lisp | |||
| @@ -1,6 +1,6 @@ | |||
| 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/tg-types/macros | 3 | (defpackage :ukkoclot/tg/macros |
| 4 | (:use :c2cl) | 4 | (:use :c2cl) |
| 5 | (:import-from :ukkoclot/bot/impl :bot :do-call :parse-value) | 5 | (:import-from :ukkoclot/bot/impl :bot :do-call :parse-value) |
| 6 | (:import-from :ukkoclot/hash-tables :gethash-lazy) | 6 | (:import-from :ukkoclot/hash-tables :gethash-lazy) |
| @@ -8,7 +8,7 @@ | |||
| 8 | (:local-nicknames | 8 | (:local-nicknames |
| 9 | (:jzon :com.inuoe.jzon)) | 9 | (:jzon :com.inuoe.jzon)) |
| 10 | (:export :define-tg-method :define-tg-type)) | 10 | (:export :define-tg-method :define-tg-type)) |
| 11 | (in-package :ukkoclot/tg-types/macros) | 11 | (in-package :ukkoclot/tg/macros) |
| 12 | 12 | ||
| 13 | (eval-when (:compile-toplevel :load-toplevel :execute) | 13 | (eval-when (:compile-toplevel :load-toplevel :execute) |
| 14 | (defstruct (field (:constructor make-field%)) name type default skip-if-default) | 14 | (defstruct (field (:constructor make-field%)) name type default skip-if-default) |
diff --git a/src/tg-types/message-entity-type.lisp b/src/tg/message-entity-type.lisp index f34c44a..f904509 100644 --- a/src/tg-types/message-entity-type.lisp +++ b/src/tg/message-entity-type.lisp | |||
| @@ -1,6 +1,6 @@ | |||
| 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/tg-types/message-entity-type | 3 | (defpackage :ukkoclot/tg/message-entity-type |
| 4 | (:use :c2cl :ukkoclot/enum) | 4 | (:use :c2cl :ukkoclot/enum) |
| 5 | (:export | 5 | (:export |
| 6 | :message-entity-type | 6 | :message-entity-type |
| @@ -23,7 +23,7 @@ | |||
| 23 | :text-link | 23 | :text-link |
| 24 | :text-mention | 24 | :text-mention |
| 25 | :custom-emoji)) | 25 | :custom-emoji)) |
| 26 | (in-package :ukkoclot/tg-types/message-entity-type) | 26 | (in-package :ukkoclot/tg/message-entity-type) |
| 27 | 27 | ||
| 28 | (define-enum message-entity-type | 28 | (define-enum message-entity-type |
| 29 | (mention "mention") | 29 | (mention "mention") |
diff --git a/src/tg-types/message-entity.lisp b/src/tg/message-entity.lisp index 1eb96cb..c5be269 100644 --- a/src/tg-types/message-entity.lisp +++ b/src/tg/message-entity.lisp | |||
| @@ -1,7 +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/tg-types/message-entity | 3 | (defpackage :ukkoclot/tg/message-entity |
| 4 | (:use :c2cl :iterate :ukkoclot/tg-types/macros :ukkoclot/tg-types/message-entity-type :ukkoclot/tg-types/user) | 4 | (:use :c2cl :iterate :ukkoclot/tg/macros :ukkoclot/tg/message-entity-type :ukkoclot/tg/user) |
| 5 | (:export | 5 | (:export |
| 6 | #:message-entity | 6 | #:message-entity |
| 7 | #:make-message-entity | 7 | #:make-message-entity |
| @@ -16,7 +16,7 @@ | |||
| 16 | #:message-entity-custom-emoji-id | 16 | #:message-entity-custom-emoji-id |
| 17 | 17 | ||
| 18 | #:message-entity-extract)) | 18 | #:message-entity-extract)) |
| 19 | (in-package :ukkoclot/tg-types/message-entity) | 19 | (in-package :ukkoclot/tg/message-entity) |
| 20 | 20 | ||
| 21 | (define-tg-type message-entity | 21 | (define-tg-type message-entity |
| 22 | (type message-entity-type) | 22 | (type message-entity-type) |
diff --git a/src/tg-types/message-reaction-updated.lisp b/src/tg/message-reaction-updated.lisp index 38d506f..f91a8f1 100644 --- a/src/tg-types/message-reaction-updated.lisp +++ b/src/tg/message-reaction-updated.lisp | |||
| @@ -1,12 +1,12 @@ | |||
| 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/tg-types/message-reaction-updated | 3 | (defpackage :ukkoclot/tg/message-reaction-updated |
| 4 | (:use | 4 | (:use |
| 5 | :c2cl | 5 | :c2cl |
| 6 | :ukkoclot/tg-types/chat | 6 | :ukkoclot/tg/chat |
| 7 | :ukkoclot/tg-types/macros | 7 | :ukkoclot/tg/macros |
| 8 | :ukkoclot/tg-types/reaction-type | 8 | :ukkoclot/tg/reaction-type |
| 9 | :ukkoclot/tg-types/user) | 9 | :ukkoclot/tg/user) |
| 10 | (:export | 10 | (:export |
| 11 | #:message-reaction-updated | 11 | #:message-reaction-updated |
| 12 | #:make-message-reaction-updated | 12 | #:make-message-reaction-updated |
| @@ -19,7 +19,7 @@ | |||
| 19 | #:message-reaction-updated-date | 19 | #:message-reaction-updated-date |
| 20 | #:message-reaction-updated-old-reaction | 20 | #:message-reaction-updated-old-reaction |
| 21 | #:message-reaction-updated-new-reaction)) | 21 | #:message-reaction-updated-new-reaction)) |
| 22 | (in-package :ukkoclot/tg-types/message-reaction-updated) | 22 | (in-package :ukkoclot/tg/message-reaction-updated) |
| 23 | 23 | ||
| 24 | (define-tg-type message-reaction-updated | 24 | (define-tg-type message-reaction-updated |
| 25 | (chat chat) | 25 | (chat chat) |
diff --git a/src/tg-types/message.lisp b/src/tg/message.lisp index c402af2..18eb5c4 100644 --- a/src/tg-types/message.lisp +++ b/src/tg/message.lisp | |||
| @@ -1,14 +1,14 @@ | |||
| 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/tg-types/message | 3 | (defpackage :ukkoclot/tg/message |
| 4 | (:use | 4 | (:use |
| 5 | :c2cl | 5 | :c2cl |
| 6 | :ukkoclot/tg-types/animation | 6 | :ukkoclot/tg/animation |
| 7 | :ukkoclot/tg-types/chat | 7 | :ukkoclot/tg/chat |
| 8 | :ukkoclot/tg-types/macros | 8 | :ukkoclot/tg/macros |
| 9 | :ukkoclot/tg-types/message-entity | 9 | :ukkoclot/tg/message-entity |
| 10 | :ukkoclot/tg-types/photo-size | 10 | :ukkoclot/tg/photo-size |
| 11 | :ukkoclot/tg-types/user) | 11 | :ukkoclot/tg/user) |
| 12 | (:export | 12 | (:export |
| 13 | #:message-chat-id | 13 | #:message-chat-id |
| 14 | #:message-thread-id | 14 | #:message-thread-id |
| @@ -57,7 +57,7 @@ | |||
| 57 | #:message-migrate-from-chat-id | 57 | #:message-migrate-from-chat-id |
| 58 | #:message-pinned-message | 58 | #:message-pinned-message |
| 59 | #:message-connected-website)) | 59 | #:message-connected-website)) |
| 60 | (in-package :ukkoclot/tg-types/message) | 60 | (in-package :ukkoclot/tg/message) |
| 61 | 61 | ||
| 62 | ;; If this is a MaybeInaccessibleMessage date will be 0 if this is inaccessible | 62 | ;; If this is a MaybeInaccessibleMessage date will be 0 if this is inaccessible |
| 63 | (define-tg-type message | 63 | (define-tg-type message |
diff --git a/src/tg-types/parse-mode.lisp b/src/tg/parse-mode.lisp index 80c24aa..57ef2af 100644 --- a/src/tg-types/parse-mode.lisp +++ b/src/tg/parse-mode.lisp | |||
| @@ -1,9 +1,9 @@ | |||
| 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/tg-types/parse-mode | 3 | (defpackage :ukkoclot/tg/parse-mode |
| 4 | (:use :c2cl :ukkoclot/enum) | 4 | (:use :c2cl :ukkoclot/enum) |
| 5 | (:export :html :markdown-legacy :markdown :parse-mode)) | 5 | (:export :html :markdown-legacy :markdown :parse-mode)) |
| 6 | (in-package :ukkoclot/tg-types/parse-mode) | 6 | (in-package :ukkoclot/tg/parse-mode) |
| 7 | 7 | ||
| 8 | (define-enum parse-mode | 8 | (define-enum parse-mode |
| 9 | (markdown-legacy "Markdown") | 9 | (markdown-legacy "Markdown") |
diff --git a/src/tg-types/photo-size.lisp b/src/tg/photo-size.lisp index 2c8906d..32b586c 100644 --- a/src/tg-types/photo-size.lisp +++ b/src/tg/photo-size.lisp | |||
| @@ -1,7 +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/tg-types/photo-size | 3 | (defpackage :ukkoclot/tg/photo-size |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:photo-size | 6 | #:photo-size |
| 7 | #:make-photo-size | 7 | #:make-photo-size |
| @@ -12,7 +12,7 @@ | |||
| 12 | #:photo-size-width | 12 | #:photo-size-width |
| 13 | #:photo-size-height | 13 | #:photo-size-height |
| 14 | #:photo-size-file-size)) | 14 | #:photo-size-file-size)) |
| 15 | (in-package :ukkoclot/tg-types/photo-size) | 15 | (in-package :ukkoclot/tg/photo-size) |
| 16 | 16 | ||
| 17 | (define-tg-type photo-size | 17 | (define-tg-type photo-size |
| 18 | (file-id string) | 18 | (file-id string) |
diff --git a/src/tg-types/reaction-type-custom-emoji.lisp b/src/tg/reaction-type-custom-emoji.lisp index 353e78f..9191f1e 100644 --- a/src/tg-types/reaction-type-custom-emoji.lisp +++ b/src/tg/reaction-type-custom-emoji.lisp | |||
| @@ -1,7 +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/tg-types/reaction-type-custom-emoji | 3 | (defpackage :ukkoclot/tg/reaction-type-custom-emoji |
| 4 | (:use :c2cl :ukkoclot/enum :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/enum :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:custom-emoji-type | 6 | #:custom-emoji-type |
| 7 | #:reaction-type-custom-emoji-type | 7 | #:reaction-type-custom-emoji-type |
| @@ -10,7 +10,7 @@ | |||
| 10 | #:reaction-type-custom-emoji-p | 10 | #:reaction-type-custom-emoji-p |
| 11 | #:copy-reaction-type-custom-emoji | 11 | #:copy-reaction-type-custom-emoji |
| 12 | #:reaction-type-custom-emoji-custom-emoji-id)) | 12 | #:reaction-type-custom-emoji-custom-emoji-id)) |
| 13 | (in-package :ukkoclot/tg-types/reaction-type-custom-emoji) | 13 | (in-package :ukkoclot/tg/reaction-type-custom-emoji) |
| 14 | 14 | ||
| 15 | (define-enum reaction-type-custom-emoji-type | 15 | (define-enum reaction-type-custom-emoji-type |
| 16 | (custom-emoji-type "custom_emoji")) | 16 | (custom-emoji-type "custom_emoji")) |
diff --git a/src/tg-types/reaction-type-emoji.lisp b/src/tg/reaction-type-emoji.lisp index c7aeebb..bf4920a 100644 --- a/src/tg-types/reaction-type-emoji.lisp +++ b/src/tg/reaction-type-emoji.lisp | |||
| @@ -1,7 +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/tg-types/reaction-type-emoji | 3 | (defpackage :ukkoclot/tg/reaction-type-emoji |
| 4 | (:use :c2cl :ukkoclot/enum :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/enum :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:reaction-type-emoji-type | 6 | #:reaction-type-emoji-type |
| 7 | #:emoji-type | 7 | #:emoji-type |
| @@ -10,7 +10,7 @@ | |||
| 10 | #:reaction-type-emoji-p | 10 | #:reaction-type-emoji-p |
| 11 | #:copy-reaction-type-emoji | 11 | #:copy-reaction-type-emoji |
| 12 | #:reaction-type-emoji-emoji)) | 12 | #:reaction-type-emoji-emoji)) |
| 13 | (in-package :ukkoclot/tg-types/reaction-type-emoji) | 13 | (in-package :ukkoclot/tg/reaction-type-emoji) |
| 14 | 14 | ||
| 15 | (define-enum reaction-type-emoji-type | 15 | (define-enum reaction-type-emoji-type |
| 16 | (emoji-type "emoji")) | 16 | (emoji-type "emoji")) |
diff --git a/src/tg-types/reaction-type-paid.lisp b/src/tg/reaction-type-paid.lisp index 260ddf7..f5b1bfd 100644 --- a/src/tg-types/reaction-type-paid.lisp +++ b/src/tg/reaction-type-paid.lisp | |||
| @@ -1,7 +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/tg-types/reaction-type-paid | 3 | (defpackage :ukkoclot/tg/reaction-type-paid |
| 4 | (:use :c2cl :ukkoclot/enum :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/enum :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:reaction-type-paid-type | 6 | #:reaction-type-paid-type |
| 7 | #:paid-type | 7 | #:paid-type |
| @@ -9,7 +9,7 @@ | |||
| 9 | #:make-reaction-type-paid | 9 | #:make-reaction-type-paid |
| 10 | #:reaction-type-paid-p | 10 | #:reaction-type-paid-p |
| 11 | #:copy-reaction-type-paid)) | 11 | #:copy-reaction-type-paid)) |
| 12 | (in-package :ukkoclot/tg-types/reaction-type-paid) | 12 | (in-package :ukkoclot/tg/reaction-type-paid) |
| 13 | 13 | ||
| 14 | (define-enum reaction-type-paid-type | 14 | (define-enum reaction-type-paid-type |
| 15 | (paid-type "paid")) | 15 | (paid-type "paid")) |
diff --git a/src/tg-types/reaction-type.lisp b/src/tg/reaction-type.lisp index 4eb0d0b..35bf4cd 100644 --- a/src/tg-types/reaction-type.lisp +++ b/src/tg/reaction-type.lisp | |||
| @@ -1,14 +1,14 @@ | |||
| 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/tg-types/reaction-type | 3 | (defpackage :ukkoclot/tg/reaction-type |
| 4 | (:use | 4 | (:use |
| 5 | :c2cl | 5 | :c2cl |
| 6 | :ukkoclot/tg-types/macros | 6 | :ukkoclot/tg/macros |
| 7 | :ukkoclot/tg-types/reaction-type-custom-emoji | 7 | :ukkoclot/tg/reaction-type-custom-emoji |
| 8 | :ukkoclot/tg-types/reaction-type-emoji | 8 | :ukkoclot/tg/reaction-type-emoji |
| 9 | :ukkoclot/tg-types/reaction-type-paid) | 9 | :ukkoclot/tg/reaction-type-paid) |
| 10 | (:export :reaction-type)) | 10 | (:export :reaction-type)) |
| 11 | (in-package :ukkoclot/tg-types/reaction-type) | 11 | (in-package :ukkoclot/tg/reaction-type) |
| 12 | 12 | ||
| 13 | (deftype reaction-type () | 13 | (deftype reaction-type () |
| 14 | '(or reaction-type-emoji reaction-type-custom-emoji reaction-type-paid)) | 14 | '(or reaction-type-emoji reaction-type-custom-emoji reaction-type-paid)) |
diff --git a/src/tg-types/reply-keyboard-markup.lisp b/src/tg/reply-keyboard-markup.lisp index f4b5d45..2674c10 100644 --- a/src/tg-types/reply-keyboard-markup.lisp +++ b/src/tg/reply-keyboard-markup.lisp | |||
| @@ -1,7 +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/tg-types/reply-keyboard-markup | 3 | (defpackage :ukkoclot/tg/reply-keyboard-markup |
| 4 | (:use :c2cl :ukkoclot/tg-types/keyboard-button :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/keyboard-button :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:reply-keyboard-markup | 6 | #:reply-keyboard-markup |
| 7 | #:make-reply-keyboard-markup | 7 | #:make-reply-keyboard-markup |
| @@ -13,7 +13,7 @@ | |||
| 13 | #:reply-keyboard-markup-one-time-keyboard | 13 | #:reply-keyboard-markup-one-time-keyboard |
| 14 | #:reply-keyboard-markup-input-field-placeholder | 14 | #:reply-keyboard-markup-input-field-placeholder |
| 15 | #:reply-keyboard-markup-selective)) | 15 | #:reply-keyboard-markup-selective)) |
| 16 | (in-package :ukkoclot/tg-types/reply-keyboard-markup) | 16 | (in-package :ukkoclot/tg/reply-keyboard-markup) |
| 17 | 17 | ||
| 18 | (define-tg-type reply-keyboard-markup | 18 | (define-tg-type reply-keyboard-markup |
| 19 | (keyboard (array (array keyboard-button))) | 19 | (keyboard (array (array keyboard-button))) |
diff --git a/src/tg-types/reply-keyboard-remove.lisp b/src/tg/reply-keyboard-remove.lisp index 9925d82..908e46d 100644 --- a/src/tg-types/reply-keyboard-remove.lisp +++ b/src/tg/reply-keyboard-remove.lisp | |||
| @@ -1,7 +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/tg-types/reply-keyboard-remove | 3 | (defpackage :ukkoclot/tg/reply-keyboard-remove |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:reply-keyboard-remove | 6 | #:reply-keyboard-remove |
| 7 | #:make-reply-keyboard-remove | 7 | #:make-reply-keyboard-remove |
| @@ -9,7 +9,7 @@ | |||
| 9 | #:copy-reply-keyboard-remove | 9 | #:copy-reply-keyboard-remove |
| 10 | #:reply-keyboard-remove-remove-keyboard | 10 | #:reply-keyboard-remove-remove-keyboard |
| 11 | #:reply-keyboard-remove-selective)) | 11 | #:reply-keyboard-remove-selective)) |
| 12 | (in-package :ukkoclot/tg-types/reply-keyboard-remove) | 12 | (in-package :ukkoclot/tg/reply-keyboard-remove) |
| 13 | 13 | ||
| 14 | (define-tg-type reply-keyboard-remove | 14 | (define-tg-type reply-keyboard-remove |
| 15 | (remove-keyboard boolean t :skip-if-default nil) | 15 | (remove-keyboard boolean t :skip-if-default nil) |
diff --git a/src/tg-types/reply-parameters.lisp b/src/tg/reply-parameters.lisp index ac38db7..e41d837 100644 --- a/src/tg-types/reply-parameters.lisp +++ b/src/tg/reply-parameters.lisp | |||
| @@ -1,7 +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/tg-types/reply-parameters | 3 | (defpackage :ukkoclot/tg/reply-parameters |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros :ukkoclot/tg-types/message-entity) | 4 | (:use :c2cl :ukkoclot/tg/macros :ukkoclot/tg/message-entity) |
| 5 | (:export | 5 | (:export |
| 6 | #:reply-parameters | 6 | #:reply-parameters |
| 7 | #:make-reply-parameters | 7 | #:make-reply-parameters |
| @@ -15,7 +15,7 @@ | |||
| 15 | #:reply-parameters-quote-entities | 15 | #:reply-parameters-quote-entities |
| 16 | #:reply-parameters-quote-position | 16 | #:reply-parameters-quote-position |
| 17 | #:reply-parameters-checklist-task-id)) | 17 | #:reply-parameters-checklist-task-id)) |
| 18 | (in-package :ukkoclot/tg-types/reply-parameters) | 18 | (in-package :ukkoclot/tg/reply-parameters) |
| 19 | 19 | ||
| 20 | (define-tg-type reply-parameters | 20 | (define-tg-type reply-parameters |
| 21 | (message-id integer) | 21 | (message-id integer) |
diff --git a/src/tg-types/suggested-post-parameters.lisp b/src/tg/suggested-post-parameters.lisp index bf781fc..525272a 100644 --- a/src/tg-types/suggested-post-parameters.lisp +++ b/src/tg/suggested-post-parameters.lisp | |||
| @@ -1,7 +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/tg-types/suggested-post-parameters | 3 | (defpackage :ukkoclot/tg/suggested-post-parameters |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros :ukkoclot/tg-types/suggested-post-price) | 4 | (:use :c2cl :ukkoclot/tg/macros :ukkoclot/tg/suggested-post-price) |
| 5 | (:export | 5 | (:export |
| 6 | #:suggested-post-parameters | 6 | #:suggested-post-parameters |
| 7 | #:make-suggested-post-parameters | 7 | #:make-suggested-post-parameters |
| @@ -9,7 +9,7 @@ | |||
| 9 | #:copy-suggested-post-parameters | 9 | #:copy-suggested-post-parameters |
| 10 | #:suggested-post-parameters-price | 10 | #:suggested-post-parameters-price |
| 11 | #:suggested-post-parameters-send-date)) | 11 | #:suggested-post-parameters-send-date)) |
| 12 | (in-package :ukkoclot/tg-types/suggested-post-parameters) | 12 | (in-package :ukkoclot/tg/suggested-post-parameters) |
| 13 | 13 | ||
| 14 | (define-tg-type suggested-post-parameters | 14 | (define-tg-type suggested-post-parameters |
| 15 | (price (or suggested-post-price null) nil) | 15 | (price (or suggested-post-price null) nil) |
diff --git a/src/tg-types/suggested-post-price.lisp b/src/tg/suggested-post-price.lisp index e5b6cb3..9012e75 100644 --- a/src/tg-types/suggested-post-price.lisp +++ b/src/tg/suggested-post-price.lisp | |||
| @@ -1,7 +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/tg-types/suggested-post-price | 3 | (defpackage :ukkoclot/tg/suggested-post-price |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:suggested-post-price | 6 | #:suggested-post-price |
| 7 | #:make-suggested-post-price | 7 | #:make-suggested-post-price |
| @@ -9,7 +9,7 @@ | |||
| 9 | #:copy-suggested-post-price | 9 | #:copy-suggested-post-price |
| 10 | #:suggested-post-price-currency | 10 | #:suggested-post-price-currency |
| 11 | #:suggested-post-price-amount)) | 11 | #:suggested-post-price-amount)) |
| 12 | (in-package :ukkoclot/tg-types/suggested-post-price) | 12 | (in-package :ukkoclot/tg/suggested-post-price) |
| 13 | 13 | ||
| 14 | (define-tg-type suggested-post-price | 14 | (define-tg-type suggested-post-price |
| 15 | (currency string) ;(member "XTR" "TON") | 15 | (currency string) ;(member "XTR" "TON") |
diff --git a/src/tg-types/update.lisp b/src/tg/update.lisp index be4cb32..1f0a463 100644 --- a/src/tg-types/update.lisp +++ b/src/tg/update.lisp | |||
| @@ -1,13 +1,13 @@ | |||
| 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/tg-types/update | 3 | (defpackage :ukkoclot/tg/update |
| 4 | (:use | 4 | (:use |
| 5 | :c2cl | 5 | :c2cl |
| 6 | :ukkoclot/tg-types/macros | 6 | :ukkoclot/tg/macros |
| 7 | :ukkoclot/tg-types/business-connection | 7 | :ukkoclot/tg/business-connection |
| 8 | :ukkoclot/tg-types/callback-query | 8 | :ukkoclot/tg/callback-query |
| 9 | :ukkoclot/tg-types/message | 9 | :ukkoclot/tg/message |
| 10 | :ukkoclot/tg-types/message-reaction-updated) | 10 | :ukkoclot/tg/message-reaction-updated) |
| 11 | (:export | 11 | (:export |
| 12 | #:update | 12 | #:update |
| 13 | #:make-update | 13 | #:make-update |
| @@ -23,7 +23,7 @@ | |||
| 23 | #:update-edited-business-message | 23 | #:update-edited-business-message |
| 24 | #:update-message-reaction | 24 | #:update-message-reaction |
| 25 | #:update-callback-query)) | 25 | #:update-callback-query)) |
| 26 | (in-package :ukkoclot/tg-types/update) | 26 | (in-package :ukkoclot/tg/update) |
| 27 | 27 | ||
| 28 | (define-tg-type update | 28 | (define-tg-type update |
| 29 | (update-id integer) | 29 | (update-id integer) |
diff --git a/src/tg-types/user.lisp b/src/tg/user.lisp index b5be417..c5b5b4d 100644 --- a/src/tg-types/user.lisp +++ b/src/tg/user.lisp | |||
| @@ -1,7 +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/tg-types/user | 3 | (defpackage :ukkoclot/tg/user |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:import-from :ukkoclot/strings :escape-xml) | 5 | (:import-from :ukkoclot/strings :escape-xml) |
| 6 | (:export | 6 | (:export |
| 7 | #:user | 7 | #:user |
| @@ -22,7 +22,7 @@ | |||
| 22 | #:user-can-connect-to-business | 22 | #:user-can-connect-to-business |
| 23 | 23 | ||
| 24 | #:user-format-name)) | 24 | #:user-format-name)) |
| 25 | (in-package :ukkoclot/tg-types/user) | 25 | (in-package :ukkoclot/tg/user) |
| 26 | 26 | ||
| 27 | (define-tg-type user | 27 | (define-tg-type user |
| 28 | (id integer) | 28 | (id integer) |
diff --git a/src/tg-types/web-app-info.lisp b/src/tg/web-app-info.lisp index e239830..8e96df2 100644 --- a/src/tg-types/web-app-info.lisp +++ b/src/tg/web-app-info.lisp | |||
| @@ -1,14 +1,14 @@ | |||
| 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/tg-types/web-app-info | 3 | (defpackage :ukkoclot/tg/web-app-info |
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | 4 | (:use :c2cl :ukkoclot/tg/macros) |
| 5 | (:export | 5 | (:export |
| 6 | #:web-app-info | 6 | #:web-app-info |
| 7 | #:make-web-app-info | 7 | #:make-web-app-info |
| 8 | #:web-app-info-p | 8 | #:web-app-info-p |
| 9 | #:copy-web-app-info | 9 | #:copy-web-app-info |
| 10 | #:web-app-info-url)) | 10 | #:web-app-info-url)) |
| 11 | (in-package :ukkoclot/tg-types/web-app-info) | 11 | (in-package :ukkoclot/tg/web-app-info) |
| 12 | 12 | ||
| 13 | (define-tg-type web-app-info | 13 | (define-tg-type web-app-info |
| 14 | (url string)) | 14 | (url string)) |