diff options
| author | 2025-10-12 22:19:41 +0300 | |
|---|---|---|
| committer | 2025-10-12 22:19:41 +0300 | |
| commit | 116c700741c7d43b68a926ac8a4acc2672d66e26 (patch) | |
| tree | 920f939329a0b7f359bb730119eae851674dc765 /src/tg-types/chat-type.lisp | |
| parent | Introduce enums and a pretty parse-mode type (diff) | |
| download | ukkoclot-116c700741c7d43b68a926ac8a4acc2672d66e26.tar.gz ukkoclot-116c700741c7d43b68a926ac8a4acc2672d66e26.tar.xz ukkoclot-116c700741c7d43b68a926ac8a4acc2672d66e26.zip | |
Introduce chat-type enum
Diffstat (limited to 'src/tg-types/chat-type.lisp')
| -rw-r--r-- | src/tg-types/chat-type.lisp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tg-types/chat-type.lisp b/src/tg-types/chat-type.lisp new file mode 100644 index 0000000..dc9147a --- /dev/null +++ b/src/tg-types/chat-type.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-types/chat-type | ||
| 4 | (:use :c2cl :ukkoclot/enum) | ||
| 5 | (:export :channel :chat-type :group :private :supergroup)) | ||
| 6 | (in-package :ukkoclot/tg-types/chat-type) | ||
| 7 | |||
| 8 | (define-enum chat-type | ||
| 9 | (private "private") | ||
| 10 | (group "group") | ||
| 11 | (supergroup "supergroup") | ||
| 12 | (channel "channel")) | ||