telegrinder 0.2.1__py3-none-any.whl → 0.2.2__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.
Potentially problematic release.
This version of telegrinder might be problematic. Click here for more details.
- telegrinder/__init__.py +22 -11
- telegrinder/bot/__init__.py +16 -4
- telegrinder/bot/cute_types/chat_member_updated.py +1 -1
- telegrinder/bot/cute_types/message.py +18 -11
- telegrinder/bot/dispatch/__init__.py +18 -2
- telegrinder/bot/dispatch/abc.py +1 -1
- telegrinder/bot/dispatch/context.py +2 -2
- telegrinder/bot/dispatch/dispatch.py +1 -1
- telegrinder/bot/dispatch/handler/__init__.py +17 -1
- telegrinder/bot/dispatch/handler/audio_reply.py +44 -0
- telegrinder/bot/dispatch/handler/base.py +57 -0
- telegrinder/bot/dispatch/handler/document_reply.py +44 -0
- telegrinder/bot/dispatch/handler/func.py +3 -3
- telegrinder/bot/dispatch/handler/media_group_reply.py +43 -0
- telegrinder/bot/dispatch/handler/message_reply.py +12 -35
- telegrinder/bot/dispatch/handler/photo_reply.py +44 -0
- telegrinder/bot/dispatch/handler/sticker_reply.py +37 -0
- telegrinder/bot/dispatch/handler/video_reply.py +44 -0
- telegrinder/bot/dispatch/process.py +2 -2
- telegrinder/bot/dispatch/return_manager/abc.py +11 -8
- telegrinder/bot/dispatch/return_manager/callback_query.py +2 -2
- telegrinder/bot/dispatch/return_manager/inline_query.py +2 -2
- telegrinder/bot/dispatch/return_manager/message.py +3 -3
- telegrinder/bot/dispatch/view/__init__.py +2 -1
- telegrinder/bot/dispatch/view/abc.py +2 -181
- telegrinder/bot/dispatch/view/base.py +200 -0
- telegrinder/bot/dispatch/view/callback_query.py +3 -3
- telegrinder/bot/dispatch/view/chat_join_request.py +2 -2
- telegrinder/bot/dispatch/view/chat_member.py +2 -3
- telegrinder/bot/dispatch/view/inline_query.py +2 -2
- telegrinder/bot/dispatch/view/message.py +5 -4
- telegrinder/bot/dispatch/view/raw.py +4 -3
- telegrinder/bot/dispatch/waiter_machine/machine.py +6 -7
- telegrinder/bot/dispatch/waiter_machine/middleware.py +0 -6
- telegrinder/bot/dispatch/waiter_machine/short_state.py +1 -1
- telegrinder/bot/polling/polling.py +5 -2
- telegrinder/bot/rules/__init__.py +3 -3
- telegrinder/bot/rules/abc.py +6 -5
- telegrinder/bot/rules/adapter/__init__.py +1 -1
- telegrinder/bot/rules/integer.py +1 -1
- telegrinder/bot/rules/is_from.py +19 -0
- telegrinder/bot/rules/state.py +9 -6
- telegrinder/bot/scenario/checkbox.py +3 -3
- telegrinder/bot/scenario/choice.py +2 -2
- telegrinder/client/aiohttp.py +5 -7
- telegrinder/model.py +1 -8
- telegrinder/modules.py +16 -25
- telegrinder/msgspec_utils.py +5 -5
- telegrinder/node/base.py +2 -2
- telegrinder/node/composer.py +5 -9
- telegrinder/node/container.py +6 -1
- telegrinder/node/polymorphic.py +7 -7
- telegrinder/node/rule.py +6 -4
- telegrinder/node/scope.py +3 -3
- telegrinder/node/source.py +4 -2
- telegrinder/node/tools/generator.py +7 -6
- telegrinder/rules.py +2 -2
- telegrinder/tools/__init__.py +10 -10
- telegrinder/tools/keyboard.py +6 -1
- telegrinder/tools/loop_wrapper/loop_wrapper.py +4 -5
- telegrinder/tools/magic.py +17 -19
- telegrinder/tools/state_storage/__init__.py +3 -3
- telegrinder/tools/state_storage/abc.py +12 -10
- telegrinder/tools/state_storage/memory.py +6 -3
- telegrinder/types/__init__.py +1 -0
- telegrinder/types/methods.py +10 -2
- telegrinder/types/objects.py +47 -5
- {telegrinder-0.2.1.dist-info → telegrinder-0.2.2.dist-info}/METADATA +3 -4
- {telegrinder-0.2.1.dist-info → telegrinder-0.2.2.dist-info}/RECORD +71 -63
- {telegrinder-0.2.1.dist-info → telegrinder-0.2.2.dist-info}/LICENSE +0 -0
- {telegrinder-0.2.1.dist-info → telegrinder-0.2.2.dist-info}/WHEEL +0 -0
telegrinder/types/methods.py
CHANGED
|
@@ -13,7 +13,7 @@ if typing.TYPE_CHECKING:
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
class APIMethods:
|
|
16
|
-
"""Telegram Bot API 7.
|
|
16
|
+
"""Telegram Bot API methods version 7.10, released `September 6, 2024`."""
|
|
17
17
|
|
|
18
18
|
default_params = ProxiedDict(
|
|
19
19
|
typing.TypedDict(
|
|
@@ -1054,6 +1054,7 @@ class APIMethods:
|
|
|
1054
1054
|
star_count: int,
|
|
1055
1055
|
media: list[InputPaidMedia],
|
|
1056
1056
|
business_connection_id: str | None = None,
|
|
1057
|
+
payload: str | None = None,
|
|
1057
1058
|
caption: str | None = None,
|
|
1058
1059
|
parse_mode: str | None = default_params["parse_mode"],
|
|
1059
1060
|
caption_entities: list[MessageEntity] | None = None,
|
|
@@ -1080,10 +1081,14 @@ class APIMethods:
|
|
|
1080
1081
|
Star proceeds from this media will be credited to the chat's balance. Otherwise, \
|
|
1081
1082
|
they will be credited to the bot's balance.
|
|
1082
1083
|
|
|
1083
|
-
:param star_count: The number of Telegram Stars that must be paid to buy access to the media
|
|
1084
|
+
:param star_count: The number of Telegram Stars that must be paid to buy access to the media; \
|
|
1085
|
+
1-2500.
|
|
1084
1086
|
|
|
1085
1087
|
:param media: A JSON-serialized array describing the media to be sent; up to 10 items. \
|
|
1086
1088
|
|
|
1089
|
+
:param payload: Bot-defined paid media payload, 0-128 bytes. This will not be displayed \
|
|
1090
|
+
to the user, use it for your internal processes.
|
|
1091
|
+
|
|
1087
1092
|
:param caption: Media caption, 0-1024 characters after entities parsing.
|
|
1088
1093
|
|
|
1089
1094
|
:param parse_mode: Mode for parsing entities in the media caption. See formatting options \
|
|
@@ -4623,3 +4628,6 @@ class APIMethods:
|
|
|
4623
4628
|
get_params(locals()),
|
|
4624
4629
|
)
|
|
4625
4630
|
return full_result(method_response, list[GameHighScore])
|
|
4631
|
+
|
|
4632
|
+
|
|
4633
|
+
__all__ = ("APIMethods",)
|
telegrinder/types/objects.py
CHANGED
|
@@ -292,6 +292,10 @@ class Update(Model):
|
|
|
292
292
|
"""Optional. New incoming pre-checkout query. Contains full information
|
|
293
293
|
about checkout."""
|
|
294
294
|
|
|
295
|
+
purchased_paid_media: Option["PaidMediaPurchased"] = Nothing
|
|
296
|
+
"""Optional. A user purchased paid media with a non-empty payload sent by the
|
|
297
|
+
bot in a non-channel chat."""
|
|
298
|
+
|
|
295
299
|
poll: Option["Poll"] = Nothing
|
|
296
300
|
"""Optional. New poll state. Bots receive only updates about manually stopped
|
|
297
301
|
polls and polls, which are sent by the bot."""
|
|
@@ -2179,9 +2183,13 @@ class VideoChatParticipantsInvited(Model):
|
|
|
2179
2183
|
class GiveawayCreated(Model):
|
|
2180
2184
|
"""Object `GiveawayCreated`, see the [documentation](https://core.telegram.org/bots/api#giveawaycreated).
|
|
2181
2185
|
|
|
2182
|
-
This object represents a service message about the creation of a scheduled giveaway.
|
|
2186
|
+
This object represents a service message about the creation of a scheduled giveaway.
|
|
2183
2187
|
"""
|
|
2184
2188
|
|
|
2189
|
+
prize_star_count: Option[int] = Nothing
|
|
2190
|
+
"""Optional. The number of Telegram Stars to be split between giveaway winners;
|
|
2191
|
+
for Telegram Star giveaways only."""
|
|
2192
|
+
|
|
2185
2193
|
|
|
2186
2194
|
class Giveaway(Model):
|
|
2187
2195
|
"""Object `Giveaway`, see the [documentation](https://core.telegram.org/bots/api#giveaway).
|
|
@@ -2214,9 +2222,13 @@ class Giveaway(Model):
|
|
|
2214
2222
|
then all users can participate in the giveaway. Users with a phone number
|
|
2215
2223
|
that was bought on Fragment can always participate in giveaways."""
|
|
2216
2224
|
|
|
2225
|
+
prize_star_count: Option[int] = Nothing
|
|
2226
|
+
"""Optional. The number of Telegram Stars to be split between giveaway winners;
|
|
2227
|
+
for Telegram Star giveaways only."""
|
|
2228
|
+
|
|
2217
2229
|
premium_subscription_month_count: Option[int] = Nothing
|
|
2218
2230
|
"""Optional. The number of months the Telegram Premium subscription won from
|
|
2219
|
-
the giveaway will be active for."""
|
|
2231
|
+
the giveaway will be active for; for Telegram Premium giveaways only."""
|
|
2220
2232
|
|
|
2221
2233
|
|
|
2222
2234
|
class GiveawayWinners(Model):
|
|
@@ -2244,9 +2256,13 @@ class GiveawayWinners(Model):
|
|
|
2244
2256
|
"""Optional. The number of other chats the user had to join in order to be eligible
|
|
2245
2257
|
for the giveaway."""
|
|
2246
2258
|
|
|
2259
|
+
prize_star_count: Option[int] = Nothing
|
|
2260
|
+
"""Optional. The number of Telegram Stars that were split between giveaway
|
|
2261
|
+
winners; for Telegram Star giveaways only."""
|
|
2262
|
+
|
|
2247
2263
|
premium_subscription_month_count: Option[int] = Nothing
|
|
2248
2264
|
"""Optional. The number of months the Telegram Premium subscription won from
|
|
2249
|
-
the giveaway will be active for."""
|
|
2265
|
+
the giveaway will be active for; for Telegram Premium giveaways only."""
|
|
2250
2266
|
|
|
2251
2267
|
unclaimed_prize_count: Option[int] = Nothing
|
|
2252
2268
|
"""Optional. Number of undistributed prizes."""
|
|
@@ -2278,6 +2294,10 @@ class GiveawayCompleted(Model):
|
|
|
2278
2294
|
giveaway_message: Option["Message"] = Nothing
|
|
2279
2295
|
"""Optional. Message with the giveaway that was completed, if it wasn't deleted."""
|
|
2280
2296
|
|
|
2297
|
+
is_star_giveaway: Option[bool] = Nothing
|
|
2298
|
+
"""Optional. True, if the giveaway is a Telegram Star giveaway. Otherwise,
|
|
2299
|
+
currently, the giveaway is a Telegram Premium giveaway."""
|
|
2300
|
+
|
|
2281
2301
|
|
|
2282
2302
|
class LinkPreviewOptions(Model):
|
|
2283
2303
|
"""Object `LinkPreviewOptions`, see the [documentation](https://core.telegram.org/bots/api#linkpreviewoptions).
|
|
@@ -3634,7 +3654,7 @@ class ChatBoostSourceGiftCode(ChatBoostSource):
|
|
|
3634
3654
|
class ChatBoostSourceGiveaway(ChatBoostSource):
|
|
3635
3655
|
"""Object `ChatBoostSourceGiveaway`, see the [documentation](https://core.telegram.org/bots/api#chatboostsourcegiveaway).
|
|
3636
3656
|
|
|
3637
|
-
The boost was obtained by the creation of a Telegram Premium giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.
|
|
3657
|
+
The boost was obtained by the creation of a Telegram Premium or a Telegram Star giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription for Telegram Premium giveaways and prize_star_count / 500 times for one year for Telegram Star giveaways.
|
|
3638
3658
|
"""
|
|
3639
3659
|
|
|
3640
3660
|
source: typing.Literal["giveaway"]
|
|
@@ -3645,7 +3665,12 @@ class ChatBoostSourceGiveaway(ChatBoostSource):
|
|
|
3645
3665
|
have been deleted already. May be 0 if the message isn't sent yet."""
|
|
3646
3666
|
|
|
3647
3667
|
user: Option["User"] = Nothing
|
|
3648
|
-
"""Optional. User that won the prize in the giveaway if any
|
|
3668
|
+
"""Optional. User that won the prize in the giveaway if any; for Telegram Premium
|
|
3669
|
+
giveaways only."""
|
|
3670
|
+
|
|
3671
|
+
prize_star_count: Option[int] = Nothing
|
|
3672
|
+
"""Optional. The number of Telegram Stars to be split between giveaway winners;
|
|
3673
|
+
for Telegram Star giveaways only."""
|
|
3649
3674
|
|
|
3650
3675
|
is_unclaimed: Option[bool] = Nothing
|
|
3651
3676
|
"""Optional. True, if the giveaway was completed, but there was no user to win
|
|
@@ -5725,6 +5750,19 @@ class PreCheckoutQuery(Model):
|
|
|
5725
5750
|
"""Optional. Order information provided by the user."""
|
|
5726
5751
|
|
|
5727
5752
|
|
|
5753
|
+
class PaidMediaPurchased(Model):
|
|
5754
|
+
"""Object `PaidMediaPurchased`, see the [documentation](https://core.telegram.org/bots/api#paidmediapurchased).
|
|
5755
|
+
|
|
5756
|
+
This object contains information about a paid media purchase.
|
|
5757
|
+
"""
|
|
5758
|
+
|
|
5759
|
+
from_: "User"
|
|
5760
|
+
"""User who purchased the media."""
|
|
5761
|
+
|
|
5762
|
+
paid_media_payload: str
|
|
5763
|
+
"""Bot-specified paid media payload."""
|
|
5764
|
+
|
|
5765
|
+
|
|
5728
5766
|
class RevenueWithdrawalStatePending(RevenueWithdrawalState):
|
|
5729
5767
|
"""Object `RevenueWithdrawalStatePending`, see the [documentation](https://core.telegram.org/bots/api#revenuewithdrawalstatepending).
|
|
5730
5768
|
|
|
@@ -5779,6 +5817,9 @@ class TransactionPartnerUser(TransactionPartner):
|
|
|
5779
5817
|
paid_media: Option[list[Variative["PaidMediaPreview", "PaidMediaPhoto", "PaidMediaVideo"]]] = Nothing
|
|
5780
5818
|
"""Optional. Information about the paid media bought by the user."""
|
|
5781
5819
|
|
|
5820
|
+
paid_media_payload: Option[str] = Nothing
|
|
5821
|
+
"""Optional. Bot-specified paid media payload."""
|
|
5822
|
+
|
|
5782
5823
|
|
|
5783
5824
|
class TransactionPartnerFragment(TransactionPartner):
|
|
5784
5825
|
"""Object `TransactionPartnerFragment`, see the [documentation](https://core.telegram.org/bots/api#transactionpartnerfragment).
|
|
@@ -6428,6 +6469,7 @@ __all__ = (
|
|
|
6428
6469
|
"PaidMediaInfo",
|
|
6429
6470
|
"PaidMediaPhoto",
|
|
6430
6471
|
"PaidMediaPreview",
|
|
6472
|
+
"PaidMediaPurchased",
|
|
6431
6473
|
"PaidMediaVideo",
|
|
6432
6474
|
"PassportData",
|
|
6433
6475
|
"PassportElementError",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: telegrinder
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Modern visionary telegram bot framework.
|
|
5
5
|
Home-page: https://github.com/timoniq/telegrinder
|
|
6
6
|
License: MIT
|
|
@@ -45,6 +45,7 @@ Still in development.
|
|
|
45
45
|
* Ready to use scenarios and rules
|
|
46
46
|
* Fast models built on msgspec
|
|
47
47
|
* Both low-level and high-level API
|
|
48
|
+
* Support [optional dependecies](https://github.com/timoniq/telegrinder/blob/dev/docs/guide/optional_dependencies.md)
|
|
48
49
|
|
|
49
50
|
# Getting started
|
|
50
51
|
|
|
@@ -85,9 +86,7 @@ logger.set_level("INFO")
|
|
|
85
86
|
@bot.on.message(Text("/start"))
|
|
86
87
|
async def start(message: Message):
|
|
87
88
|
me = (await api.get_me()).unwrap()
|
|
88
|
-
await message.answer(
|
|
89
|
-
f"Hello, {message.from_user.full_name}! I'm {me.full_name}."
|
|
90
|
-
)
|
|
89
|
+
await message.answer(f"Hello, {message.from_user.full_name}! I'm {me.full_name}.")
|
|
91
90
|
|
|
92
91
|
|
|
93
92
|
bot.run_forever()
|
|
@@ -1,55 +1,63 @@
|
|
|
1
|
-
telegrinder/__init__.py,sha256
|
|
1
|
+
telegrinder/__init__.py,sha256=-ugeakMlK1z4q-JLjsa8OFVq6s27BdVat1nFB8wSiok,4798
|
|
2
2
|
telegrinder/api/__init__.py,sha256=AFZ07UvdL4rhq9lZpB-j9JuGOONmfkvt8RfdG71ND38,226
|
|
3
3
|
telegrinder/api/api.py,sha256=OSwm2_mgHS9jCsKy_vdOJzVtH-j6v68ypkdtvKFlQ3w,2877
|
|
4
4
|
telegrinder/api/error.py,sha256=6_KBR819Tg9mLI7w5aHHYnrS8VSDYNkWIrHCnfgCFKk,422
|
|
5
5
|
telegrinder/api/response.py,sha256=d7Oxd5kOdbZNJiALkzkecHl8Y3K_BzCmsRq2Sn3otqA,491
|
|
6
6
|
telegrinder/api/token.py,sha256=wBnMHOgZZuQctsqPKT-u5GVdrj5vJ6u5zpJJOGS8or8,945
|
|
7
|
-
telegrinder/bot/__init__.py,sha256=
|
|
7
|
+
telegrinder/bot/__init__.py,sha256=ieBoMw1L-GQZDP-quE-5HHZrSdpvyiTb4XXiKvSdJ-k,2341
|
|
8
8
|
telegrinder/bot/bot.py,sha256=qrB7GHglZG1wuXdPrAQ7kFzcuOT1og_ybwuem_feL-U,2780
|
|
9
9
|
telegrinder/bot/cute_types/__init__.py,sha256=moe1mSKesNqUBf8m11s2wiL0fJIa8JOEHRqDr2Tira8,639
|
|
10
10
|
telegrinder/bot/cute_types/base.py,sha256=EmQH0UZSzVdaMNT_9ExbN9-YUdngIUory97aDj_-rIM,8084
|
|
11
11
|
telegrinder/bot/cute_types/callback_query.py,sha256=nXFFnKHD4qJFpuzxySRRESloThWUGHdJRN8PshFfPY8,20885
|
|
12
12
|
telegrinder/bot/cute_types/chat_join_request.py,sha256=xL0DG-7XSbbKpYOeOuNFCg-wWMkO0uCPygUvV4G23mg,2305
|
|
13
|
-
telegrinder/bot/cute_types/chat_member_updated.py,sha256=
|
|
13
|
+
telegrinder/bot/cute_types/chat_member_updated.py,sha256=Jm0W8oQvK0b1XbEaK4Y9AjmGMWgWCIIU3zDbbEP9m34,10904
|
|
14
14
|
telegrinder/bot/cute_types/inline_query.py,sha256=M9h4wNpFArKgoLPOO6H1AAl6jovuY9BnGwEmqfjp7bo,2493
|
|
15
|
-
telegrinder/bot/cute_types/message.py,sha256=
|
|
15
|
+
telegrinder/bot/cute_types/message.py,sha256=E0h86WoiWygrK2lfCT_DaevUu8mSh7O1B5MXK_92-OA,151057
|
|
16
16
|
telegrinder/bot/cute_types/update.py,sha256=ArUnqgvzUgQvXpHYhokAXB-ReSmbxzb4w9G2I-D7Jv4,3175
|
|
17
17
|
telegrinder/bot/cute_types/utils.py,sha256=oJWRS7TCkvDhckwhc8yxw3Qn1NKvqDtEGTZ745qEbMg,2530
|
|
18
|
-
telegrinder/bot/dispatch/__init__.py,sha256=
|
|
19
|
-
telegrinder/bot/dispatch/abc.py,sha256=
|
|
20
|
-
telegrinder/bot/dispatch/context.py,sha256=
|
|
21
|
-
telegrinder/bot/dispatch/dispatch.py,sha256=
|
|
22
|
-
telegrinder/bot/dispatch/handler/__init__.py,sha256=
|
|
18
|
+
telegrinder/bot/dispatch/__init__.py,sha256=94Y27ruqBu4ovzP9pbNt460f-PRp0Tkaqd-LBCESTzA,1993
|
|
19
|
+
telegrinder/bot/dispatch/abc.py,sha256=YPE06H_NBDgK6MxtEFmX_qNWSdztTDtA3H78U57Z2ZM,654
|
|
20
|
+
telegrinder/bot/dispatch/context.py,sha256=vt_kGYhyc0RKQ2GKsbi-ewAwy2OTqaho6H3wVf8c-2g,2607
|
|
21
|
+
telegrinder/bot/dispatch/dispatch.py,sha256=R8v5YfRB0Ccy5MbpTd_BCCk6hVpHnSXpwSNNqZgqMPE,6085
|
|
22
|
+
telegrinder/bot/dispatch/handler/__init__.py,sha256=PL17gyh9u9fHHz1yTglyBpRGoioqdMD5UxFAtmTidC0,911
|
|
23
23
|
telegrinder/bot/dispatch/handler/abc.py,sha256=FB2Xkiy-ZFsX2pEHfM7tCIXXjgWSouu07JYosICS9UA,578
|
|
24
|
-
telegrinder/bot/dispatch/handler/
|
|
25
|
-
telegrinder/bot/dispatch/handler/
|
|
24
|
+
telegrinder/bot/dispatch/handler/audio_reply.py,sha256=eNj9sO1auG8_HwZ3RGiegh7crqIQRcXuLeZ9Zfwc4vg,1358
|
|
25
|
+
telegrinder/bot/dispatch/handler/base.py,sha256=OnmDTgypbnrHMoDW_-UV--wIRn2Nlw2IM2EM5q2vF2w,1811
|
|
26
|
+
telegrinder/bot/dispatch/handler/document_reply.py,sha256=0SAvmcG9DwuZDJHd_si8itvnMWdhl9ajkviAtPzlkJM,1385
|
|
27
|
+
telegrinder/bot/dispatch/handler/func.py,sha256=S5H2lEZdeHqwKf4-A9kauXUqQ1lYToPkjv6BxOCDdr0,4836
|
|
28
|
+
telegrinder/bot/dispatch/handler/media_group_reply.py,sha256=0gyODXt2XOPCw-pbgdcun4sI4L2zTmbIvZgyUbO4Rl4,1394
|
|
29
|
+
telegrinder/bot/dispatch/handler/message_reply.py,sha256=kaPubePuj-poRgKfiJNLqweED9kr_0JADxssxr3JeBg,1137
|
|
30
|
+
telegrinder/bot/dispatch/handler/photo_reply.py,sha256=B9vqgIG7vc1hq5EGUI4tnpw97KNweNmu32F5Fgl3-IY,1358
|
|
31
|
+
telegrinder/bot/dispatch/handler/sticker_reply.py,sha256=E9DNupUhd4EWNUXcJDF6QWkYUrux1PJtF7E-FH6p8hs,1203
|
|
32
|
+
telegrinder/bot/dispatch/handler/video_reply.py,sha256=G3E1v60ubkmZ1m2CUxbTR08VQywu7D4VQHDAO_Jhlk8,1358
|
|
26
33
|
telegrinder/bot/dispatch/middleware/__init__.py,sha256=znQGQ0jnBioEXr-2RPHOkmDbjei4LEbaTjgiE9c8aXI,96
|
|
27
34
|
telegrinder/bot/dispatch/middleware/abc.py,sha256=O3aiE44XpjE6h9iXYc_uWNZCBxDH1KAFrLej4nsJhUI,413
|
|
28
|
-
telegrinder/bot/dispatch/process.py,sha256=
|
|
35
|
+
telegrinder/bot/dispatch/process.py,sha256=FW--cl5gnAVIe7wKR-5vPhvTDIWbCqJANh0nKansOFA,4207
|
|
29
36
|
telegrinder/bot/dispatch/return_manager/__init__.py,sha256=z1c9ZC_OdbEJ7utmA8jRiSjJQNTBLlTKmIQzrl-kDJs,602
|
|
30
|
-
telegrinder/bot/dispatch/return_manager/abc.py,sha256=
|
|
31
|
-
telegrinder/bot/dispatch/return_manager/callback_query.py,sha256=
|
|
32
|
-
telegrinder/bot/dispatch/return_manager/inline_query.py,sha256=
|
|
33
|
-
telegrinder/bot/dispatch/return_manager/message.py,sha256=
|
|
34
|
-
telegrinder/bot/dispatch/view/__init__.py,sha256=
|
|
35
|
-
telegrinder/bot/dispatch/view/abc.py,sha256=
|
|
37
|
+
telegrinder/bot/dispatch/return_manager/abc.py,sha256=O9k0oJqRbJXPQqEr3PGJAz7Hf2eYiNGRLYtXQq8E8-o,3671
|
|
38
|
+
telegrinder/bot/dispatch/return_manager/callback_query.py,sha256=x7FT1PioR6USsfeyNVyy8mWvP4Vkq-sysIl1OpZm-fI,722
|
|
39
|
+
telegrinder/bot/dispatch/return_manager/inline_query.py,sha256=pM41c53TyPkVY5o5HPBDjgUoyw0w68Kmi9BQcTsXRGc,543
|
|
40
|
+
telegrinder/bot/dispatch/return_manager/message.py,sha256=cLnY3sAJCvVr1iA3GpakwngHrm_5STPMES2ip0VhkuQ,1238
|
|
41
|
+
telegrinder/bot/dispatch/view/__init__.py,sha256=zef6oMILerYp9BZ7wQ_0K-4Ws0UZR5Bm9eTUqs8J0_Q,847
|
|
42
|
+
telegrinder/bot/dispatch/view/abc.py,sha256=tOfzTvlfX4-E5ZXCsPFfqhiNpowUwou1hbA68SW7dl0,984
|
|
43
|
+
telegrinder/bot/dispatch/view/base.py,sha256=aHsBU300Js3SoJesEpTuskpLJu8VaTysvKkxot3GKP8,6566
|
|
36
44
|
telegrinder/bot/dispatch/view/box.py,sha256=ydqvuReC7lUZmuNLCEAbs6xOWDWBUj99MpTMhX0jWT8,5530
|
|
37
|
-
telegrinder/bot/dispatch/view/callback_query.py,sha256=
|
|
38
|
-
telegrinder/bot/dispatch/view/chat_join_request.py,sha256=
|
|
39
|
-
telegrinder/bot/dispatch/view/chat_member.py,sha256=
|
|
40
|
-
telegrinder/bot/dispatch/view/inline_query.py,sha256=
|
|
41
|
-
telegrinder/bot/dispatch/view/message.py,sha256=
|
|
42
|
-
telegrinder/bot/dispatch/view/raw.py,sha256=
|
|
45
|
+
telegrinder/bot/dispatch/view/callback_query.py,sha256=xMmg_ZFV2D0DYRNzoUn32K99N4pW_5avhe4MH5ipUE0,619
|
|
46
|
+
telegrinder/bot/dispatch/view/chat_join_request.py,sha256=NHrl9gDj65bE18nagfRxBmSYWznj6ov8uJFCK7C8VAI,494
|
|
47
|
+
telegrinder/bot/dispatch/view/chat_member.py,sha256=ZDZOxxD-YJZWuX82CCZ2WkGGYKKbFMSoFxpqJWfR4RQ,1238
|
|
48
|
+
telegrinder/bot/dispatch/view/inline_query.py,sha256=Zy9YmDLKOjwgDxPykvskMTTOzGCPlOel-mX3edmlu-k,573
|
|
49
|
+
telegrinder/bot/dispatch/view/message.py,sha256=dI_iL5ASVe36S7Ahrk36RVuMy0Xceb8kx5osgmhoe8M,1416
|
|
50
|
+
telegrinder/bot/dispatch/view/raw.py,sha256=5U5okyT6tJM3Sxnr42S00GA9ulc28m351B4Er9-9QhU,3593
|
|
43
51
|
telegrinder/bot/dispatch/waiter_machine/__init__.py,sha256=IeoNZIxAut4QZCqiQrA6g_BcSFyUdA-oFgfBhsG6ipA,363
|
|
44
|
-
telegrinder/bot/dispatch/waiter_machine/machine.py,sha256=
|
|
45
|
-
telegrinder/bot/dispatch/waiter_machine/middleware.py,sha256=
|
|
46
|
-
telegrinder/bot/dispatch/waiter_machine/short_state.py,sha256=
|
|
52
|
+
telegrinder/bot/dispatch/waiter_machine/machine.py,sha256=HXhkGGlYLJ1PDNWydm7vyE4OdARFYLPNXuqHoXl6y7I,6472
|
|
53
|
+
telegrinder/bot/dispatch/waiter_machine/middleware.py,sha256=Cvak_6bNsJAgSNMjHPY0lwJ0vH8EV4M7KzP1cCJpEHo,3217
|
|
54
|
+
telegrinder/bot/dispatch/waiter_machine/short_state.py,sha256=aPMW5tsLiwTnhjvuP94XpzaPzaWfGZoGkKEZ_Ot5UZo,2120
|
|
47
55
|
telegrinder/bot/polling/__init__.py,sha256=OqfIFPS_V6UrCg-vCv9pkMFzTKdNbDP2faBfATs_TGg,94
|
|
48
56
|
telegrinder/bot/polling/abc.py,sha256=qFiKzWTWENK-sSuShC5cPlM-JS4In2c8-1_ARdwdTms,442
|
|
49
|
-
telegrinder/bot/polling/polling.py,sha256=
|
|
50
|
-
telegrinder/bot/rules/__init__.py,sha256=
|
|
51
|
-
telegrinder/bot/rules/abc.py,sha256
|
|
52
|
-
telegrinder/bot/rules/adapter/__init__.py,sha256=
|
|
57
|
+
telegrinder/bot/polling/polling.py,sha256=SOcVfmMS20M2O6ilXxvu507H7S8iNawebclfmwWJe3U,4765
|
|
58
|
+
telegrinder/bot/rules/__init__.py,sha256=nl2erwXAnICnZwAuqZr5wPm3tLjHGxMU7Qyi03Jym44,2859
|
|
59
|
+
telegrinder/bot/rules/abc.py,sha256=kfL43oW32an8Q7eH5Nq3EUS5a01Y9eW1xrlaUInp08M,6192
|
|
60
|
+
telegrinder/bot/rules/adapter/__init__.py,sha256=rZNX-Squn4hsE19tW2q3x-f33ZB6yzgU5eoI1VB0TgI,445
|
|
53
61
|
telegrinder/bot/rules/adapter/abc.py,sha256=lPyieSDDr1z98rZ4W6Ic8QzHDzCEU9xIYrPKU9qDCas,682
|
|
54
62
|
telegrinder/bot/rules/adapter/errors.py,sha256=2r_UBTWm5-heU-NchBfobC1f848EWeC64nKvprGnAAY,73
|
|
55
63
|
telegrinder/bot/rules/adapter/event.py,sha256=XDeHYGwOS7bYsI5bP-iPg5Ut_dzGbTBC089OkJhSfpY,2772
|
|
@@ -62,8 +70,8 @@ telegrinder/bot/rules/enum_text.py,sha256=YJ6S2fAQts8zCjCgoL7uUGWlnPOH59rjvA7Si2
|
|
|
62
70
|
telegrinder/bot/rules/func.py,sha256=dqcxhC7dIP67Zi20iFz2jCWwwioM2NuemCM5dwpQDXg,769
|
|
63
71
|
telegrinder/bot/rules/fuzzy.py,sha256=Kx4S1y6iFqWM3uIUmor47mCmD08NRRJbcciH-dFs19M,676
|
|
64
72
|
telegrinder/bot/rules/inline.py,sha256=ETAwNdVdOKyk46oK2QoYCH1Sik-FbOGx4Ra5j63aGo8,1939
|
|
65
|
-
telegrinder/bot/rules/integer.py,sha256=
|
|
66
|
-
telegrinder/bot/rules/is_from.py,sha256=
|
|
73
|
+
telegrinder/bot/rules/integer.py,sha256=hJ8aENGl1q_Caw1sbG-MHXsnWZCt9r57IZWY9zLC-TE,435
|
|
74
|
+
telegrinder/bot/rules/is_from.py,sha256=aFl4_-r2welnTw7TRzyfQODk0HX5E0aYcEytiY_s3pk,3820
|
|
67
75
|
telegrinder/bot/rules/markup.py,sha256=B0nGzO3j9ee6I5272o3ILTuLcP_AL_yI0Lamlc34gxQ,1247
|
|
68
76
|
telegrinder/bot/rules/mention.py,sha256=xteWbtSjQN3KOXpB8RjuVYu18bGrLxNtVFg6oR-UkxU,435
|
|
69
77
|
telegrinder/bot/rules/message.py,sha256=VFfcEmNrw5sW4EYpk2XgLkSE5-rRr7sWC2dFE26Q3cI,442
|
|
@@ -72,41 +80,41 @@ telegrinder/bot/rules/node.py,sha256=IP7Ke-4hILb12XHNIresMf_87kXhlLfKOloShoQvWN0
|
|
|
72
80
|
telegrinder/bot/rules/regex.py,sha256=mjXXPX-NB2e3gFU6LFihLnKANcgUoAL5lOnfmhC3Qnc,1153
|
|
73
81
|
telegrinder/bot/rules/rule_enum.py,sha256=35GwPKLBTG_ESn4TZLcFJTLNjYXAi_d9wrfIDexoEH8,2113
|
|
74
82
|
telegrinder/bot/rules/start.py,sha256=3ciA28m9JNcM-1H2YnLrUNyS1Y4UsyYPR5MClrpdAdA,1154
|
|
75
|
-
telegrinder/bot/rules/state.py,sha256=
|
|
83
|
+
telegrinder/bot/rules/state.py,sha256=3hJTT2yVTqGbsdC52qCXqXyctnCZeZuNC7TkpfDjXic,975
|
|
76
84
|
telegrinder/bot/rules/text.py,sha256=h8SBiqF3_kkITDRCeDDanmNG80NRoSgj_dutjoV-26Y,964
|
|
77
85
|
telegrinder/bot/rules/update.py,sha256=k73pZzlzhw77gHAmeIsqehy0-EI2ec8wVGxGRIF_8ao,398
|
|
78
86
|
telegrinder/bot/scenario/__init__.py,sha256=nnPjdxdvjoEYYMRUEfWvIhZStiY1C984x1azdRRP9II,136
|
|
79
87
|
telegrinder/bot/scenario/abc.py,sha256=3UwnA9Nt6CETKm2YclD0gVbn-483fTSBriZADd3p-bM,468
|
|
80
|
-
telegrinder/bot/scenario/checkbox.py,sha256=
|
|
81
|
-
telegrinder/bot/scenario/choice.py,sha256=
|
|
88
|
+
telegrinder/bot/scenario/checkbox.py,sha256=72dLzFX1pNEcsXA8-gLaQxEBibaTnB-yKWjaiDrZWyM,4212
|
|
89
|
+
telegrinder/bot/scenario/choice.py,sha256=9BiLViO7MEblBcYqlAkW_L3Nfa6NWcF3sj3X1GyIyBc,1480
|
|
82
90
|
telegrinder/client/__init__.py,sha256=ZiS1Wb_l_kv3FHzEEi1oXtFLwlA_HXmWOzeN0xA3E7Y,104
|
|
83
91
|
telegrinder/client/abc.py,sha256=OxsTX_PLYBEeFT9zpidFUzAbQL9BM7rQqru7zdn5DiQ,1611
|
|
84
|
-
telegrinder/client/aiohttp.py,sha256=
|
|
85
|
-
telegrinder/model.py,sha256=
|
|
86
|
-
telegrinder/modules.py,sha256=
|
|
92
|
+
telegrinder/client/aiohttp.py,sha256=gVYHhhfqdsC1OJ0x6AhK2V1x0yjeXe1PwDC0I3T6UPg,3903
|
|
93
|
+
telegrinder/model.py,sha256=R9QBk0GROfRZMmeh1aDOOsuDr9ecbYeiJNCzciiir-A,7228
|
|
94
|
+
telegrinder/modules.py,sha256=0EDTJsFhM6sa9P34gHOvrsMIV-uouq80iBraFvCbOA8,7743
|
|
87
95
|
telegrinder/msgspec_json.py,sha256=phfyhUvYYZUGEcI6RAyRx9lnARPK_Fqtw3Q0MEJnuUk,226
|
|
88
|
-
telegrinder/msgspec_utils.py,sha256=
|
|
96
|
+
telegrinder/msgspec_utils.py,sha256=ft6wDjxUEgfdsZ6FYIxV-XqOZFPgWyV692BQDXrjr-U,10531
|
|
89
97
|
telegrinder/node/__init__.py,sha256=f4rkFvg0TeAjZehHd6qloxHZectsFsTWPh6opdekhSY,1376
|
|
90
98
|
telegrinder/node/attachment.py,sha256=n79uAt1ixgnr8qjBMNstu36qe4Fli63kSvpgW1WO7S8,3061
|
|
91
|
-
telegrinder/node/base.py,sha256=
|
|
99
|
+
telegrinder/node/base.py,sha256=Wjfm4JvExaM9NSpSQmUtt7Z-r42wU5rl-asCoJ2-NC8,3741
|
|
92
100
|
telegrinder/node/callback_query.py,sha256=aDXnDGQb6H7im5J8A-M3vfZHczg0PrFAjUexIK2dTUM,507
|
|
93
101
|
telegrinder/node/command.py,sha256=q2J4t85XpLOd8GtoLZ_xO9yW7dKDd2-6r1-W7QatC2k,913
|
|
94
|
-
telegrinder/node/composer.py,sha256=
|
|
95
|
-
telegrinder/node/container.py,sha256=
|
|
102
|
+
telegrinder/node/composer.py,sha256=5BVj8ro8KCMpOCbPmGFloXys_aitdGRdq6zluBzuEjU,6230
|
|
103
|
+
telegrinder/node/container.py,sha256=dg-QKCMmme_-vZFIBq_o0AnLsF6pABmEcWIA7fBGgOI,841
|
|
96
104
|
telegrinder/node/event.py,sha256=oK4NJtsOIp81EDfEpP1_npxWbk834lX89Tjosn19bxc,2525
|
|
97
105
|
telegrinder/node/me.py,sha256=jLAkRbcIijiN7UXZ62Q5F7VgCsmlgBLiU1reffnESQc,417
|
|
98
106
|
telegrinder/node/message.py,sha256=TbT2zeR9kVR-QAqVkRAmtse4U0BHoWfQ4esKMKLzm7A,449
|
|
99
|
-
telegrinder/node/polymorphic.py,sha256=
|
|
100
|
-
telegrinder/node/rule.py,sha256=
|
|
101
|
-
telegrinder/node/scope.py,sha256=
|
|
102
|
-
telegrinder/node/source.py,sha256=
|
|
107
|
+
telegrinder/node/polymorphic.py,sha256=zNgC8vjRDKFpW9SClVLEvgpvqRGFi_ku1S7PhE9A2x8,2063
|
|
108
|
+
telegrinder/node/rule.py,sha256=c6Q87KXU1uNSNH7zCxPk0b8sZLc4ZNwtJS_XugUMKTI,2488
|
|
109
|
+
telegrinder/node/scope.py,sha256=SBC4j6MoqQxhtYzjgLYkfjd0-b8moFOEKm6hQt3fno8,708
|
|
110
|
+
telegrinder/node/source.py,sha256=fejxlekKCUaiuLuFK_fwX0nCmAZdLsMqEGj5GsvmNKE,2335
|
|
103
111
|
telegrinder/node/text.py,sha256=Jik937Pn6JGAKiplHmHseWDWoflnK5yirvvG_vrUxl8,581
|
|
104
112
|
telegrinder/node/tools/__init__.py,sha256=iyjs82g3brYGzpPsUQaoK6_r7YuQhRkJ61YjjuPOx9E,67
|
|
105
|
-
telegrinder/node/tools/generator.py,sha256=
|
|
113
|
+
telegrinder/node/tools/generator.py,sha256=uGK2aYDgb9pdpviAdUKnGdAI8elW8KHQY0tI39AqbSU,1128
|
|
106
114
|
telegrinder/node/update.py,sha256=2baHe10IJ0f6oOeQIqBXduRio9PGVd5Q2lbGyfU9yU8,441
|
|
107
115
|
telegrinder/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
108
|
-
telegrinder/rules.py,sha256=
|
|
109
|
-
telegrinder/tools/__init__.py,sha256=
|
|
116
|
+
telegrinder/rules.py,sha256=Cz5giVM4SI5WKjT5iz0eVmB6y4DiCtOX414molbQ0rA,1115
|
|
117
|
+
telegrinder/tools/__init__.py,sha256=DJ1fzGRlxMJ4SzsSAW_hzk6q9YPfY5fxMX-hL7zTMak,2977
|
|
110
118
|
telegrinder/tools/buttons.py,sha256=4Mc8KZ8i8l2XSiJaybbO23ywIx8T3bQiMH0UkyXuj4I,2905
|
|
111
119
|
telegrinder/tools/error_handler/__init__.py,sha256=WmYWZCNhhSk32j4lIOltEwzoYUx086TGTbOF5h3Ps7s,207
|
|
112
120
|
telegrinder/tools/error_handler/abc.py,sha256=BpBtysvMZKxAYAIrQHYXNxP9mCZRzjtshFFwzIXvVi8,882
|
|
@@ -128,22 +136,22 @@ telegrinder/tools/i18n/simple.py,sha256=yiaGtEAaMkrzYV3O7esA2wi3A2n9YyndxKPKp8Fs
|
|
|
128
136
|
telegrinder/tools/kb_set/__init__.py,sha256=k1KCQTnvEgJ2y4KlghhJWOh5rccwg_27cs8264NtMmk,156
|
|
129
137
|
telegrinder/tools/kb_set/base.py,sha256=mbZs-ViUErfSibzyN064IqZp76LBJPg3NB4D9v4VFtg,243
|
|
130
138
|
telegrinder/tools/kb_set/yaml.py,sha256=glk27r0L9Y8ibaPmTHMAEJZw-ED-ehmSo_NdJNKkrNs,2007
|
|
131
|
-
telegrinder/tools/keyboard.py,sha256=
|
|
139
|
+
telegrinder/tools/keyboard.py,sha256=bEC7NqLcuYIxH6CPBH8oykXD5Ud-CuTpl035FlK5SEc,3825
|
|
132
140
|
telegrinder/tools/limited_dict.py,sha256=tb1WT4P3Oia5CsCBXTHzlFjrPnIgf9eHCkQ0zhAbEUg,1078
|
|
133
141
|
telegrinder/tools/loop_wrapper/__init__.py,sha256=ZQ5jmE1lOKnqJlMZ9k2OYmjvOEhOlHPijUWqZ4nHIgk,165
|
|
134
142
|
telegrinder/tools/loop_wrapper/abc.py,sha256=ET_Dp-kRz75Jo1fZB3qofUgEXN4FqlU0xH2diESKGCM,266
|
|
135
|
-
telegrinder/tools/loop_wrapper/loop_wrapper.py,sha256=
|
|
136
|
-
telegrinder/tools/magic.py,sha256=
|
|
143
|
+
telegrinder/tools/loop_wrapper/loop_wrapper.py,sha256=h8Oii3FtLODRafxTez0ZEMNIZ8lhuNRwixO1u0jPhok,6763
|
|
144
|
+
telegrinder/tools/magic.py,sha256=BltMDQ_CEEu_b63dvxdKmzMUJRAFdaboGZjAPqITrSk,4509
|
|
137
145
|
telegrinder/tools/parse_mode.py,sha256=JyQ-x9YAMPLhIIiUX01acyKkpWgs5TBA07W-iUyPHpE,92
|
|
138
|
-
telegrinder/tools/state_storage/__init__.py,sha256=
|
|
139
|
-
telegrinder/tools/state_storage/abc.py,sha256=
|
|
140
|
-
telegrinder/tools/state_storage/memory.py,sha256=
|
|
141
|
-
telegrinder/types/__init__.py,sha256=
|
|
146
|
+
telegrinder/tools/state_storage/__init__.py,sha256=G2EK2HwS0NbRQIu0OotVlgEYtO_GuzN1aJOIxmDEtz4,211
|
|
147
|
+
telegrinder/tools/state_storage/abc.py,sha256=9-UOmov9b7bQpeD0JukVsayU2FHmW45FeCnlPdayLhM,958
|
|
148
|
+
telegrinder/tools/state_storage/memory.py,sha256=FNRV2J5PDsxLq5vN7OPmUK9yIKKX6LFWKG0s88Ep5t0,755
|
|
149
|
+
telegrinder/types/__init__.py,sha256=vxR7J8Ql4LLGcJy6fZlLCwXA8iyLa8hOFMdE6YDhW3k,6638
|
|
142
150
|
telegrinder/types/enums.py,sha256=q9URlXZvrjOUQKpLfV6v9uspBcLrdW0gtU-m8YDnj7w,19017
|
|
143
|
-
telegrinder/types/methods.py,sha256=
|
|
144
|
-
telegrinder/types/objects.py,sha256=
|
|
151
|
+
telegrinder/types/methods.py,sha256=gIqcFHVogw8bbYO7C7tf1xdzE-m5EiKe998NW-IS2fI,201311
|
|
152
|
+
telegrinder/types/objects.py,sha256=tfQuJKWYH8l3vmvx65gg2yGh7kpfueU9wPMFsPZIu9k,246627
|
|
145
153
|
telegrinder/verification_utils.py,sha256=X7N0mHoOzbcYeKa5XxI_EFhmEGX5XNU3qqgbV8YRRa4,987
|
|
146
|
-
telegrinder-0.2.
|
|
147
|
-
telegrinder-0.2.
|
|
148
|
-
telegrinder-0.2.
|
|
149
|
-
telegrinder-0.2.
|
|
154
|
+
telegrinder-0.2.2.dist-info/LICENSE,sha256=Q0tKgU8mPOCQAkc6m__BrNIpRge8mPBQJDd59s21NZo,1095
|
|
155
|
+
telegrinder-0.2.2.dist-info/METADATA,sha256=gFWErYk3oVBKiPNpyVYCI4stmoCUtZnBSkRuyOiDAdc,3106
|
|
156
|
+
telegrinder-0.2.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
157
|
+
telegrinder-0.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|