diff options
Diffstat (limited to 'src/tg-types/business-bot-rights.lisp')
| -rw-r--r-- | src/tg-types/business-bot-rights.lisp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/tg-types/business-bot-rights.lisp b/src/tg-types/business-bot-rights.lisp new file mode 100644 index 0000000..7a65dcd --- /dev/null +++ b/src/tg-types/business-bot-rights.lisp | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | ;; SPDX-License-Identifier: EUPL-1.2 | ||
| 2 | ;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com> | ||
| 3 | (defpackage :ukkoclot/tg-types/business-bot-rights | ||
| 4 | (:use :c2cl :ukkoclot/tg-types/macros) | ||
| 5 | (:export | ||
| 6 | #:business-bot-rights | ||
| 7 | #:make-business-bot-rights | ||
| 8 | #:business-bot-rights-p | ||
| 9 | #:copy-business-bot-rights | ||
| 10 | #:business-bot-rights-can-reply | ||
| 11 | #:business-bot-rights-can-read-messages | ||
| 12 | #:business-bot-rights-can-delete-sent-messages | ||
| 13 | #:business-bot-rights-can-delete-all-messages | ||
| 14 | #:business-bot-rights-can-edit-name | ||
| 15 | #:business-bot-rights-can-edit-bio | ||
| 16 | #:business-bot-rights-can-edit-profile-photo | ||
| 17 | #:business-bot-rights-can-edit-username | ||
| 18 | #:business-bot-rights-can-change-gift-settings | ||
| 19 | #:business-bot-rights-can-view-gifts-and-stars | ||
| 20 | #:business-bot-rights-can-convert-gifts-to-stars | ||
| 21 | #:business-bot-rights-can-transfer-and-upgrade-gifts | ||
| 22 | #:business-bot-rights-can-transfer-stars | ||
| 23 | #:business-bot-rights-can-manage-stories)) | ||
| 24 | (in-package :ukkoclot/tg-types/business-bot-rights) | ||
| 25 | |||
| 26 | (define-tg-type business-bot-rights | ||
| 27 | (can-reply boolean nil) | ||
| 28 | (can-read-messages boolean nil) | ||
| 29 | (can-delete-sent-messages boolean nil) | ||
| 30 | (can-delete-all-messages boolean nil) | ||
| 31 | (can-edit-name boolean nil) | ||
| 32 | (can-edit-bio boolean nil) | ||
| 33 | (can-edit-profile-photo boolean nil) | ||
| 34 | (can-edit-username boolean nil) | ||
| 35 | (can-change-gift-settings boolean nil) | ||
| 36 | (can-view-gifts-and-stars boolean nil) | ||
| 37 | (can-convert-gifts-to-stars boolean nil) | ||
| 38 | (can-transfer-and-upgrade-gifts boolean nil) | ||
| 39 | (can-transfer-stars boolean nil) | ||
| 40 | (can-manage-stories boolean nil)) | ||