vplus 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
vplus/__init__.py ADDED
@@ -0,0 +1,152 @@
1
+ __version__ = "1.0.0"
2
+ __author__ = "Vplus team"
3
+ __license__ = "MIT"
4
+
5
+ from .client import VPlusClient
6
+ from .models import (
7
+ User,
8
+ Chat,
9
+ Message,
10
+ Update,
11
+ WebhookInfo,
12
+ File,
13
+ BotCommand,
14
+ UserProfilePhotos,
15
+ ChatFullInfo,
16
+ StickerSet,
17
+ )
18
+
19
+ from .errors import (
20
+ VPlusError,
21
+ VPlusAPIError,
22
+ VPlusAuthError,
23
+ VPlusRateLimitError,
24
+ VPlusNetworkError,
25
+ VPlusFileError,
26
+ VPlusTimeoutError,
27
+ VPlusValidationError,
28
+ VPlusDispatcherError,
29
+ VPlusWebhookError,
30
+ VPlusPollingError,
31
+ is_retryable_error,
32
+ get_retry_delay,
33
+ )
34
+
35
+ from .filters import (
36
+ Filter,
37
+ Filters,
38
+ FilterResult,
39
+ is_private,
40
+ is_group,
41
+ is_channel,
42
+ text,
43
+ caption,
44
+ photo,
45
+ video,
46
+ audio,
47
+ voice,
48
+ document,
49
+ animation,
50
+ sticker,
51
+ location,
52
+ contact,
53
+ dice,
54
+ video_note,
55
+ callback_query,
56
+ inline_query,
57
+ edited_message,
58
+ is_bot,
59
+ is_user,
60
+ forwarded,
61
+ reply,
62
+ media_group,
63
+ has_entities,
64
+ has_caption_entities,
65
+ command,
66
+ contains_text,
67
+ regex,
68
+ chat_id,
69
+ user_id,
70
+ )
71
+
72
+ from .dispatcher import Dispatcher
73
+ from .utils import (
74
+ build_keyboard,
75
+ build_inline_keyboard,
76
+ build_button,
77
+ escape_markdown,
78
+ escape_html,
79
+ parse_entities,
80
+ chunk_text,
81
+ format_date,
82
+ )
83
+
84
+ __all__ = [
85
+ "VPlusClient",
86
+ "User",
87
+ "Chat",
88
+ "Message",
89
+ "Update",
90
+ "WebhookInfo",
91
+ "File",
92
+ "BotCommand",
93
+ "UserProfilePhotos",
94
+ "ChatFullInfo",
95
+ "StickerSet",
96
+ "VPlusError",
97
+ "VPlusAPIError",
98
+ "VPlusAuthError",
99
+ "VPlusRateLimitError",
100
+ "VPlusNetworkError",
101
+ "VPlusFileError",
102
+ "VPlusTimeoutError",
103
+ "VPlusValidationError",
104
+ "VPlusDispatcherError",
105
+ "VPlusWebhookError",
106
+ "VPlusPollingError",
107
+ "is_retryable_error",
108
+ "get_retry_delay",
109
+ "Filter",
110
+ "Filters",
111
+ "FilterResult",
112
+ "is_private",
113
+ "is_group",
114
+ "is_channel",
115
+ "text",
116
+ "caption",
117
+ "photo",
118
+ "video",
119
+ "audio",
120
+ "voice",
121
+ "document",
122
+ "animation",
123
+ "sticker",
124
+ "location",
125
+ "contact",
126
+ "dice",
127
+ "video_note",
128
+ "callback_query",
129
+ "inline_query",
130
+ "edited_message",
131
+ "is_bot",
132
+ "is_user",
133
+ "forwarded",
134
+ "reply",
135
+ "media_group",
136
+ "has_entities",
137
+ "has_caption_entities",
138
+ "command",
139
+ "contains_text",
140
+ "regex",
141
+ "chat_id",
142
+ "user_id",
143
+ "Dispatcher",
144
+ "build_keyboard",
145
+ "build_inline_keyboard",
146
+ "build_button",
147
+ "escape_markdown",
148
+ "escape_html",
149
+ "parse_entities",
150
+ "chunk_text",
151
+ "format_date",
152
+ ]