app.bot.telegram.variables   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 21
dl 0
loc 34
rs 10
c 0
b 0
f 0
1
"""Telegram Bot variables for buttons and actions"""
2
3
# pylint: disable=C0103
4
5
t = "text"
6
cbd = "callback_data"
7
8
cancel = "cancel"
9
close = "close"
10
11
12
class Mark:
13
    language = "l"
14
    page = "p"
15
    action = "a"
16
    entity = "e"
17
    record_id = "r"
18
    slice_start = "s"
19
20
21
# entities
22
entity_predy = "ep"
23
24
25
# actions
26
class Action:
27
    send_card = "sc"
28
    kb_cpx_show = "cs"
29
    kb_cpx_hide = "ch"
30
    kb_dji_show = "ds"
31
    kb_dji_hide = "dh"
32
    kb_pnt_show = "ps"
33
    kb_pnt_hide = "ph"
34