blob: 04eb617795ac341ea55baf0cb6b442ed746e3270 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
;; SPDX-License-Identifier: EUPL-1.2
;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com>
(defpackage :ukkoclot/src/tg/photo-size
(:documentation "PhotoSize Telegram type")
(:use :c2cl :ukkoclot/src/tg/type-macros)
(:export
#:photo-size
#:make-photo-size
#:photo-size-p
#:copy-photo-size
#:photo-size-file-id
#:photo-size-file-unique-id
#:photo-size-width
#:photo-size-height
#:photo-size-file-size))
(in-package :ukkoclot/src/tg/photo-size)
(define-tg-type photo-size
(file-id string)
(file-unique-id string)
(width integer)
(height integer)
(file-size (or integer null) nil))
|