summaryrefslogtreecommitdiff
path: root/src/tg/message-entity-type.lisp
blob: f904509313474415ba7f386fe387d4e17873b0a3 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
;; SPDX-License-Identifier: EUPL-1.2
;; SPDX-FileCopyrightText: 2025 Uko Kokņevičs <perkontevs@gmail.com>
(defpackage :ukkoclot/tg/message-entity-type
  (:use :c2cl :ukkoclot/enum)
  (:export
   :message-entity-type
   :mention
   :hashtag
   :cashtag
   :bot-command
   :url-entity
   :email
   :phone-number
   :bold
   :italic
   :underline
   :strikethrough
   :spoiler
   :blockquote
   :expandable-blockquote
   :code
   :pre
   :text-link
   :text-mention
   :custom-emoji))
(in-package :ukkoclot/tg/message-entity-type)

(define-enum message-entity-type
  (mention "mention")
  (hashtag "hashtag")
  (cashtag "cashtag")
  (bot-command "bot_command")
  (url-entity "url")
  (email "email")
  (phone-number "phone_number")
  (bold "bold")
  (italic "italic")
  (underline "underline")
  (strikethrough "strikethrough")
  (spoiler "spoiler")
  (blockquote "blockquote")
  (expandable-blockquote "expandable_blockquote")
  (code "code")
  (pre "pre")
  (text-link "text_link")
  (text-mention "text_mention")
  (custom-emoji "custom_emoji"))