blob: 421dcc7bfb97e5461f817579715693614070e6f4 (
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
24
25
26
27
28
29
30
|
;; SPDX-License-Identifier: EUPL-1.2
;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com>
(defpackage :ukkoclot/tg-types/animation
(:use :c2cl :ukkoclot/tg-types/macros :ukkoclot/tg-types/photo-size)
(:export
#:animation
#:make-animation
#:animation-p
#:copy-animation
#:animation-file-id
#:animation-file-unique-id
#:animation-width
#:animation-height
#:animation-duration
#:animation-thumbnail
#:animation-file-name
#:animation-mime-type
#:animation-file-size))
(in-package :ukkoclot/tg-types/animation)
(define-tg-type animation
(file-id string)
(file-unique-id string)
(width integer)
(height integer)
(duration integer)
(thumbnail (or photo-size null) nil)
(file-name (or string null) nil)
(mime-type (or string null) nil)
(file-size (or integer null) nil))
|