aiotwit 3.34.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.
- aiotwit/__init__.py +32 -0
- aiotwit/__meta__.py +2 -0
- aiotwit/_migration/__init__.py +0 -0
- aiotwit/_migration/data/removal_inventory_3x.json +964 -0
- aiotwit/_migration/data/signatures_3x.json +6201 -0
- aiotwit/_migration/registry.toml +891 -0
- aiotwit/client/__init__.py +0 -0
- aiotwit/client/bot.py +7102 -0
- aiotwit/client/context_controller.py +34 -0
- aiotwit/client/default.py +86 -0
- aiotwit/client/session/__init__.py +0 -0
- aiotwit/client/session/aiohttp.py +279 -0
- aiotwit/client/session/base.py +279 -0
- aiotwit/client/session/middlewares/__init__.py +0 -0
- aiotwit/client/session/middlewares/base.py +52 -0
- aiotwit/client/session/middlewares/manager.py +61 -0
- aiotwit/client/session/middlewares/request_logging.py +37 -0
- aiotwit/client/twittor.py +106 -0
- aiotwit/dispatcher/__init__.py +0 -0
- aiotwit/dispatcher/dispatcher.py +804 -0
- aiotwit/dispatcher/event/__init__.py +0 -0
- aiotwit/dispatcher/event/bases.py +37 -0
- aiotwit/dispatcher/event/event.py +54 -0
- aiotwit/dispatcher/event/handler.py +143 -0
- aiotwit/dispatcher/event/twittor.py +146 -0
- aiotwit/dispatcher/flags.py +132 -0
- aiotwit/dispatcher/middlewares/__init__.py +0 -0
- aiotwit/dispatcher/middlewares/base.py +29 -0
- aiotwit/dispatcher/middlewares/data.py +95 -0
- aiotwit/dispatcher/middlewares/error.py +38 -0
- aiotwit/dispatcher/middlewares/manager.py +68 -0
- aiotwit/dispatcher/middlewares/user_context.py +228 -0
- aiotwit/dispatcher/router.py +312 -0
- aiotwit/enums/__init__.py +81 -0
- aiotwit/enums/bot_command_scope_type.py +17 -0
- aiotwit/enums/bot_subscription_updated_state.py +13 -0
- aiotwit/enums/button_style.py +17 -0
- aiotwit/enums/chat_action.py +32 -0
- aiotwit/enums/chat_boost_source_type.py +13 -0
- aiotwit/enums/chat_member_status.py +16 -0
- aiotwit/enums/chat_type.py +15 -0
- aiotwit/enums/content_type.py +92 -0
- aiotwit/enums/currency.py +96 -0
- aiotwit/enums/dice_emoji.py +16 -0
- aiotwit/enums/encrypted_passport_element.py +23 -0
- aiotwit/enums/inline_query_result_type.py +23 -0
- aiotwit/enums/input_media_type.py +19 -0
- aiotwit/enums/input_paid_media_type.py +13 -0
- aiotwit/enums/input_profile_photo_type.py +12 -0
- aiotwit/enums/input_rich_block_type.py +34 -0
- aiotwit/enums/input_story_content_type.py +12 -0
- aiotwit/enums/keyboard_button_poll_type_type.py +12 -0
- aiotwit/enums/mask_position_point.py +14 -0
- aiotwit/enums/menu_button_type.py +13 -0
- aiotwit/enums/message_entity_type.py +32 -0
- aiotwit/enums/message_origin_type.py +14 -0
- aiotwit/enums/owned_gift_type.py +12 -0
- aiotwit/enums/paid_media_type.py +14 -0
- aiotwit/enums/parse_mode.py +13 -0
- aiotwit/enums/passport_element_error_type.py +19 -0
- aiotwit/enums/poll_type.py +12 -0
- aiotwit/enums/reaction_type_type.py +13 -0
- aiotwit/enums/revenue_withdrawal_state_type.py +13 -0
- aiotwit/enums/rich_block_type.py +34 -0
- aiotwit/enums/rich_text_type.py +37 -0
- aiotwit/enums/sticker_format.py +13 -0
- aiotwit/enums/sticker_type.py +13 -0
- aiotwit/enums/story_area_type_type.py +15 -0
- aiotwit/enums/topic_icon_color.py +16 -0
- aiotwit/enums/transaction_partner_type.py +17 -0
- aiotwit/enums/transaction_partner_user_transaction_type_enum.py +15 -0
- aiotwit/enums/update_type.py +39 -0
- aiotwit/exceptions.py +209 -0
- aiotwit/filters/__init__.py +51 -0
- aiotwit/filters/base.py +54 -0
- aiotwit/filters/callback_data.py +231 -0
- aiotwit/filters/chat_member_updated.py +217 -0
- aiotwit/filters/command.py +305 -0
- aiotwit/filters/exception.py +57 -0
- aiotwit/filters/logic.py +79 -0
- aiotwit/filters/magic_data.py +27 -0
- aiotwit/filters/state.py +50 -0
- aiotwit/fsm/__init__.py +0 -0
- aiotwit/fsm/context.py +44 -0
- aiotwit/fsm/middleware.py +142 -0
- aiotwit/fsm/scene.py +1019 -0
- aiotwit/fsm/state.py +177 -0
- aiotwit/fsm/storage/__init__.py +0 -0
- aiotwit/fsm/storage/base.py +218 -0
- aiotwit/fsm/storage/memory.py +96 -0
- aiotwit/fsm/storage/mongo.py +146 -0
- aiotwit/fsm/storage/pymongo.py +140 -0
- aiotwit/fsm/storage/redis.py +178 -0
- aiotwit/fsm/strategy.py +36 -0
- aiotwit/handlers/__init__.py +25 -0
- aiotwit/handlers/base.py +47 -0
- aiotwit/handlers/callback_query.py +42 -0
- aiotwit/handlers/chat_member.py +14 -0
- aiotwit/handlers/chosen_inline_result.py +18 -0
- aiotwit/handlers/error.py +17 -0
- aiotwit/handlers/inline_query.py +18 -0
- aiotwit/handlers/message.py +28 -0
- aiotwit/handlers/poll.py +18 -0
- aiotwit/handlers/pre_checkout_query.py +14 -0
- aiotwit/handlers/shipping_query.py +14 -0
- aiotwit/loggers.py +7 -0
- aiotwit/methods/__init__.py +395 -0
- aiotwit/methods/add_sticker_to_set.py +42 -0
- aiotwit/methods/answer_callback_query.py +56 -0
- aiotwit/methods/answer_chat_join_request_query.py +40 -0
- aiotwit/methods/answer_guest_query.py +38 -0
- aiotwit/methods/answer_inline_query.py +77 -0
- aiotwit/methods/answer_pre_checkout_query.py +46 -0
- aiotwit/methods/answer_shipping_query.py +51 -0
- aiotwit/methods/answer_web_app_query.py +39 -0
- aiotwit/methods/answer_widget_query.py +36 -0
- aiotwit/methods/approve_chat_join_request.py +35 -0
- aiotwit/methods/approve_suggested_post.py +44 -0
- aiotwit/methods/ban_chat_member.py +51 -0
- aiotwit/methods/ban_chat_sender_chat.py +39 -0
- aiotwit/methods/base.py +76 -0
- aiotwit/methods/close.py +14 -0
- aiotwit/methods/close_forum_topic.py +41 -0
- aiotwit/methods/close_general_forum_topic.py +33 -0
- aiotwit/methods/convert_gift_to_stars.py +42 -0
- aiotwit/methods/copy_message.py +128 -0
- aiotwit/methods/copy_messages.py +66 -0
- aiotwit/methods/create_chat_invite_link.py +55 -0
- aiotwit/methods/create_chat_subscription_invite_link.py +51 -0
- aiotwit/methods/create_forum_topic.py +51 -0
- aiotwit/methods/create_invoice_link.py +123 -0
- aiotwit/methods/create_new_sticker_set.py +68 -0
- aiotwit/methods/decline_chat_join_request.py +35 -0
- aiotwit/methods/decline_suggested_post.py +43 -0
- aiotwit/methods/delete_all_message_reactions.py +42 -0
- aiotwit/methods/delete_business_account_gift.py +40 -0
- aiotwit/methods/delete_business_messages.py +42 -0
- aiotwit/methods/delete_chat_photo.py +33 -0
- aiotwit/methods/delete_chat_sticker_set.py +33 -0
- aiotwit/methods/delete_ephemeral_message.py +45 -0
- aiotwit/methods/delete_forum_topic.py +41 -0
- aiotwit/methods/delete_message.py +55 -0
- aiotwit/methods/delete_message_reaction.py +49 -0
- aiotwit/methods/delete_messages.py +37 -0
- aiotwit/methods/delete_my_commands.py +39 -0
- aiotwit/methods/delete_sticker_from_set.py +30 -0
- aiotwit/methods/delete_sticker_set.py +30 -0
- aiotwit/methods/delete_story.py +42 -0
- aiotwit/methods/delete_webhook.py +35 -0
- aiotwit/methods/edit_chat_invite_link.py +59 -0
- aiotwit/methods/edit_chat_subscription_invite_link.py +44 -0
- aiotwit/methods/edit_ephemeral_message_caption.py +66 -0
- aiotwit/methods/edit_ephemeral_message_media.py +53 -0
- aiotwit/methods/edit_ephemeral_message_reply_markup.py +49 -0
- aiotwit/methods/edit_ephemeral_message_text.py +76 -0
- aiotwit/methods/edit_forum_topic.py +51 -0
- aiotwit/methods/edit_general_forum_topic.py +35 -0
- aiotwit/methods/edit_message_caption.py +72 -0
- aiotwit/methods/edit_message_checklist.py +55 -0
- aiotwit/methods/edit_message_live_location.py +79 -0
- aiotwit/methods/edit_message_media.py +59 -0
- aiotwit/methods/edit_message_reply_markup.py +55 -0
- aiotwit/methods/edit_message_text.py +94 -0
- aiotwit/methods/edit_message_widget_data.py +53 -0
- aiotwit/methods/edit_shared_widget_data.py +44 -0
- aiotwit/methods/edit_story.py +64 -0
- aiotwit/methods/edit_user_star_subscription.py +46 -0
- aiotwit/methods/export_chat_invite_link.py +35 -0
- aiotwit/methods/forward_message.py +76 -0
- aiotwit/methods/forward_messages.py +62 -0
- aiotwit/methods/get_available_gifts.py +15 -0
- aiotwit/methods/get_business_account_gifts.py +88 -0
- aiotwit/methods/get_business_account_star_balance.py +33 -0
- aiotwit/methods/get_business_connection.py +34 -0
- aiotwit/methods/get_chat.py +33 -0
- aiotwit/methods/get_chat_administrators.py +39 -0
- aiotwit/methods/get_chat_gifts.py +79 -0
- aiotwit/methods/get_chat_member.py +35 -0
- aiotwit/methods/get_chat_member_count.py +33 -0
- aiotwit/methods/get_chat_menu_button.py +33 -0
- aiotwit/methods/get_chat_share_theme_backdrops.py +13 -0
- aiotwit/methods/get_custom_emoji_stickers.py +33 -0
- aiotwit/methods/get_file.py +32 -0
- aiotwit/methods/get_forum_topic_icon_stickers.py +15 -0
- aiotwit/methods/get_game_high_scores.py +53 -0
- aiotwit/methods/get_managed_bot_access_settings.py +29 -0
- aiotwit/methods/get_managed_bot_token.py +28 -0
- aiotwit/methods/get_me.py +15 -0
- aiotwit/methods/get_my_commands.py +39 -0
- aiotwit/methods/get_my_default_administrator_rights.py +33 -0
- aiotwit/methods/get_my_description.py +33 -0
- aiotwit/methods/get_my_name.py +31 -0
- aiotwit/methods/get_my_short_description.py +33 -0
- aiotwit/methods/get_my_star_balance.py +15 -0
- aiotwit/methods/get_star_transactions.py +39 -0
- aiotwit/methods/get_sticker_set.py +31 -0
- aiotwit/methods/get_unique_gift.py +29 -0
- aiotwit/methods/get_updates.py +57 -0
- aiotwit/methods/get_user_chat_boosts.py +33 -0
- aiotwit/methods/get_user_gifts.py +71 -0
- aiotwit/methods/get_user_personal_chat_messages.py +33 -0
- aiotwit/methods/get_user_profile_audios.py +42 -0
- aiotwit/methods/get_user_profile_photos.py +42 -0
- aiotwit/methods/get_webhook_info.py +15 -0
- aiotwit/methods/gift_premium_subscription.py +60 -0
- aiotwit/methods/hide_general_forum_topic.py +33 -0
- aiotwit/methods/leave_chat.py +33 -0
- aiotwit/methods/log_out.py +14 -0
- aiotwit/methods/pin_chat_message.py +51 -0
- aiotwit/methods/post_story.py +72 -0
- aiotwit/methods/promote_chat_member.py +115 -0
- aiotwit/methods/read_business_message.py +46 -0
- aiotwit/methods/refund_star_payment.py +42 -0
- aiotwit/methods/remove_business_account_profile_photo.py +42 -0
- aiotwit/methods/remove_chat_verification.py +33 -0
- aiotwit/methods/remove_my_profile_photo.py +14 -0
- aiotwit/methods/remove_user_verification.py +30 -0
- aiotwit/methods/reopen_forum_topic.py +41 -0
- aiotwit/methods/reopen_general_forum_topic.py +33 -0
- aiotwit/methods/replace_managed_bot_token.py +28 -0
- aiotwit/methods/replace_sticker_in_set.py +51 -0
- aiotwit/methods/repost_story.py +60 -0
- aiotwit/methods/restrict_chat_member.py +55 -0
- aiotwit/methods/revoke_chat_invite_link.py +35 -0
- aiotwit/methods/save_prepared_inline_message.py +59 -0
- aiotwit/methods/save_prepared_keyboard_button.py +33 -0
- aiotwit/methods/send_animation.py +164 -0
- aiotwit/methods/send_audio.py +157 -0
- aiotwit/methods/send_chat_action.py +55 -0
- aiotwit/methods/send_chat_join_request_web_app.py +40 -0
- aiotwit/methods/send_checklist.py +68 -0
- aiotwit/methods/send_contact.py +137 -0
- aiotwit/methods/send_dice.py +106 -0
- aiotwit/methods/send_document.py +148 -0
- aiotwit/methods/send_game.py +92 -0
- aiotwit/methods/send_gift.py +65 -0
- aiotwit/methods/send_invoice.py +183 -0
- aiotwit/methods/send_live_photo.py +137 -0
- aiotwit/methods/send_location.py +145 -0
- aiotwit/methods/send_media_group.py +92 -0
- aiotwit/methods/send_message.py +148 -0
- aiotwit/methods/send_message_draft.py +68 -0
- aiotwit/methods/send_paid_media.py +112 -0
- aiotwit/methods/send_photo.py +147 -0
- aiotwit/methods/send_poll.py +204 -0
- aiotwit/methods/send_rich_message.py +94 -0
- aiotwit/methods/send_rich_message_draft.py +57 -0
- aiotwit/methods/send_shared_widget.py +90 -0
- aiotwit/methods/send_sticker.py +130 -0
- aiotwit/methods/send_venue.py +153 -0
- aiotwit/methods/send_video.py +177 -0
- aiotwit/methods/send_video_note.py +139 -0
- aiotwit/methods/send_voice.py +143 -0
- aiotwit/methods/send_widget.py +110 -0
- aiotwit/methods/set_business_account_bio.py +40 -0
- aiotwit/methods/set_business_account_gift_settings.py +47 -0
- aiotwit/methods/set_business_account_name.py +46 -0
- aiotwit/methods/set_business_account_profile_photo.py +47 -0
- aiotwit/methods/set_business_account_username.py +42 -0
- aiotwit/methods/set_chat_administrator_custom_title.py +44 -0
- aiotwit/methods/set_chat_description.py +39 -0
- aiotwit/methods/set_chat_member_tag.py +40 -0
- aiotwit/methods/set_chat_menu_button.py +39 -0
- aiotwit/methods/set_chat_permissions.py +47 -0
- aiotwit/methods/set_chat_photo.py +35 -0
- aiotwit/methods/set_chat_sticker_set.py +41 -0
- aiotwit/methods/set_chat_title.py +35 -0
- aiotwit/methods/set_custom_emoji_sticker_set_thumbnail.py +38 -0
- aiotwit/methods/set_game_score.py +63 -0
- aiotwit/methods/set_managed_bot_access_settings.py +44 -0
- aiotwit/methods/set_message_reaction.py +49 -0
- aiotwit/methods/set_my_commands.py +44 -0
- aiotwit/methods/set_my_default_administrator_rights.py +39 -0
- aiotwit/methods/set_my_description.py +40 -0
- aiotwit/methods/set_my_name.py +36 -0
- aiotwit/methods/set_my_profile_photo.py +33 -0
- aiotwit/methods/set_my_settings.py +92 -0
- aiotwit/methods/set_my_short_description.py +42 -0
- aiotwit/methods/set_passport_data_errors.py +40 -0
- aiotwit/methods/set_sticker_emoji_list.py +34 -0
- aiotwit/methods/set_sticker_keywords.py +38 -0
- aiotwit/methods/set_sticker_mask_position.py +39 -0
- aiotwit/methods/set_sticker_position_in_set.py +34 -0
- aiotwit/methods/set_sticker_set_thumbnail.py +47 -0
- aiotwit/methods/set_sticker_set_title.py +34 -0
- aiotwit/methods/set_user_emoji_status.py +47 -0
- aiotwit/methods/set_webhook.py +73 -0
- aiotwit/methods/stop_message_live_location.py +55 -0
- aiotwit/methods/stop_poll.py +51 -0
- aiotwit/methods/transfer_business_account_stars.py +42 -0
- aiotwit/methods/transfer_gift.py +50 -0
- aiotwit/methods/unban_chat_member.py +47 -0
- aiotwit/methods/unban_chat_sender_chat.py +39 -0
- aiotwit/methods/unhide_general_forum_topic.py +33 -0
- aiotwit/methods/unpin_all_chat_messages.py +33 -0
- aiotwit/methods/unpin_all_forum_topic_messages.py +41 -0
- aiotwit/methods/unpin_all_general_forum_topic_messages.py +32 -0
- aiotwit/methods/unpin_chat_message.py +47 -0
- aiotwit/methods/upgrade_gift.py +50 -0
- aiotwit/methods/upload_sticker_file.py +47 -0
- aiotwit/methods/verify_chat.py +52 -0
- aiotwit/methods/verify_user.py +52 -0
- aiotwit/py.typed +0 -0
- aiotwit/test/__init__.py +122 -0
- aiotwit/test/_autoload.py +16 -0
- aiotwit/test/actors.py +3045 -0
- aiotwit/test/blueprint.py +906 -0
- aiotwit/test/calls.py +78 -0
- aiotwit/test/defaults.py +40 -0
- aiotwit/test/environment.py +2463 -0
- aiotwit/test/errors.py +191 -0
- aiotwit/test/flood.py +118 -0
- aiotwit/test/markup.py +1277 -0
- aiotwit/test/modeling.py +4195 -0
- aiotwit/test/mounting.py +316 -0
- aiotwit/test/overrides.py +714 -0
- aiotwit/test/plugin.py +276 -0
- aiotwit/test/rejections.py +474 -0
- aiotwit/test/rich.py +143 -0
- aiotwit/test/routing.py +17 -0
- aiotwit/test/session.py +71 -0
- aiotwit/test/synthesis.py +319 -0
- aiotwit/test/waiting.py +77 -0
- aiotwit/test/world.py +2285 -0
- aiotwit/types/__init__.py +977 -0
- aiotwit/types/accepted_gift_types.py +51 -0
- aiotwit/types/affiliate_info.py +55 -0
- aiotwit/types/animation.py +70 -0
- aiotwit/types/area_position.py +53 -0
- aiotwit/types/audio.py +70 -0
- aiotwit/types/background_fill.py +13 -0
- aiotwit/types/background_fill_freeform_gradient.py +33 -0
- aiotwit/types/background_fill_gradient.py +45 -0
- aiotwit/types/background_fill_solid.py +33 -0
- aiotwit/types/background_fill_union.py +14 -0
- aiotwit/types/background_type.py +14 -0
- aiotwit/types/background_type_chat_theme.py +33 -0
- aiotwit/types/background_type_fill.py +43 -0
- aiotwit/types/background_type_pattern.py +59 -0
- aiotwit/types/background_type_union.py +15 -0
- aiotwit/types/background_type_wallpaper.py +54 -0
- aiotwit/types/base.py +68 -0
- aiotwit/types/birthdate.py +38 -0
- aiotwit/types/bot_access_settings.py +42 -0
- aiotwit/types/bot_command.py +43 -0
- aiotwit/types/bot_command_scope.py +19 -0
- aiotwit/types/bot_command_scope_all_chat_administrators.py +37 -0
- aiotwit/types/bot_command_scope_all_group_chats.py +35 -0
- aiotwit/types/bot_command_scope_all_private_chats.py +35 -0
- aiotwit/types/bot_command_scope_chat.py +39 -0
- aiotwit/types/bot_command_scope_chat_administrators.py +43 -0
- aiotwit/types/bot_command_scope_chat_member.py +42 -0
- aiotwit/types/bot_command_scope_default.py +33 -0
- aiotwit/types/bot_command_scope_union.py +26 -0
- aiotwit/types/bot_description.py +25 -0
- aiotwit/types/bot_full_info.py +117 -0
- aiotwit/types/bot_name.py +25 -0
- aiotwit/types/bot_short_description.py +27 -0
- aiotwit/types/bot_subscription_updated.py +43 -0
- aiotwit/types/business_bot_rights.py +96 -0
- aiotwit/types/business_connection.py +69 -0
- aiotwit/types/business_intro.py +41 -0
- aiotwit/types/business_location.py +38 -0
- aiotwit/types/business_messages_deleted.py +46 -0
- aiotwit/types/business_opening_hours.py +40 -0
- aiotwit/types/business_opening_hours_interval.py +37 -0
- aiotwit/types/callback_game.py +11 -0
- aiotwit/types/callback_query.py +108 -0
- aiotwit/types/chat.py +1363 -0
- aiotwit/types/chat_administrator_rights.py +103 -0
- aiotwit/types/chat_background.py +32 -0
- aiotwit/types/chat_boost.py +51 -0
- aiotwit/types/chat_boost_added.py +25 -0
- aiotwit/types/chat_boost_removed.py +52 -0
- aiotwit/types/chat_boost_source.py +13 -0
- aiotwit/types/chat_boost_source_gift_code.py +39 -0
- aiotwit/types/chat_boost_source_giveaway.py +55 -0
- aiotwit/types/chat_boost_source_premium.py +39 -0
- aiotwit/types/chat_boost_source_union.py +14 -0
- aiotwit/types/chat_boost_updated.py +35 -0
- aiotwit/types/chat_full_info.py +280 -0
- aiotwit/types/chat_id_union.py +5 -0
- aiotwit/types/chat_invite_link.py +79 -0
- aiotwit/types/chat_join_request.py +3273 -0
- aiotwit/types/chat_location.py +34 -0
- aiotwit/types/chat_member.py +18 -0
- aiotwit/types/chat_member_administrator.py +123 -0
- aiotwit/types/chat_member_banned.py +43 -0
- aiotwit/types/chat_member_left.py +39 -0
- aiotwit/types/chat_member_member.py +48 -0
- aiotwit/types/chat_member_owner.py +51 -0
- aiotwit/types/chat_member_restricted.py +120 -0
- aiotwit/types/chat_member_union.py +22 -0
- aiotwit/types/chat_member_updated.py +1629 -0
- aiotwit/types/chat_owner_changed.py +30 -0
- aiotwit/types/chat_owner_left.py +32 -0
- aiotwit/types/chat_permissions.py +95 -0
- aiotwit/types/chat_photo.py +47 -0
- aiotwit/types/chat_share_theme.py +12 -0
- aiotwit/types/chat_share_theme_backdrop.py +41 -0
- aiotwit/types/chat_share_theme_backdrops.py +35 -0
- aiotwit/types/chat_share_theme_emoji.py +46 -0
- aiotwit/types/chat_share_theme_union.py +10 -0
- aiotwit/types/chat_share_theme_unique_gift.py +38 -0
- aiotwit/types/chat_shared.py +54 -0
- aiotwit/types/checklist.py +55 -0
- aiotwit/types/checklist_task.py +60 -0
- aiotwit/types/checklist_tasks_added.py +39 -0
- aiotwit/types/checklist_tasks_done.py +46 -0
- aiotwit/types/chosen_inline_result.py +58 -0
- aiotwit/types/community.py +27 -0
- aiotwit/types/community_chat_added.py +32 -0
- aiotwit/types/community_chat_joined.py +32 -0
- aiotwit/types/community_chat_removed.py +9 -0
- aiotwit/types/contact.py +57 -0
- aiotwit/types/copy_text_button.py +27 -0
- aiotwit/types/custom.py +30 -0
- aiotwit/types/date_time_union.py +6 -0
- aiotwit/types/dice.py +40 -0
- aiotwit/types/direct_message_price_changed.py +39 -0
- aiotwit/types/direct_messages_topic.py +38 -0
- aiotwit/types/disabled_button.py +9 -0
- aiotwit/types/document.py +58 -0
- aiotwit/types/downloadable.py +6 -0
- aiotwit/types/dyn_nft.py +63 -0
- aiotwit/types/dyn_nft_attribute.py +29 -0
- aiotwit/types/dyn_wallet_card.py +50 -0
- aiotwit/types/dyn_wallet_card_sticker.py +35 -0
- aiotwit/types/dyn_wallet_transfer.py +45 -0
- aiotwit/types/emoji_type.py +12 -0
- aiotwit/types/emoji_type_custom_emoji.py +33 -0
- aiotwit/types/emoji_type_emoji.py +33 -0
- aiotwit/types/emoji_type_union.py +10 -0
- aiotwit/types/encrypted_credentials.py +33 -0
- aiotwit/types/encrypted_passport_element.py +74 -0
- aiotwit/types/ephemeral_message_parameters.py +41 -0
- aiotwit/types/error_event.py +28 -0
- aiotwit/types/external_reply_info.py +166 -0
- aiotwit/types/file.py +49 -0
- aiotwit/types/force_reply.py +50 -0
- aiotwit/types/forum_topic.py +51 -0
- aiotwit/types/forum_topic_closed.py +11 -0
- aiotwit/types/forum_topic_created.py +47 -0
- aiotwit/types/forum_topic_edited.py +35 -0
- aiotwit/types/forum_topic_reopened.py +11 -0
- aiotwit/types/game.py +60 -0
- aiotwit/types/game_high_score.py +39 -0
- aiotwit/types/general_forum_topic_hidden.py +9 -0
- aiotwit/types/general_forum_topic_unhidden.py +9 -0
- aiotwit/types/gift.py +88 -0
- aiotwit/types/gift_background.py +43 -0
- aiotwit/types/gift_info.py +75 -0
- aiotwit/types/gifts.py +30 -0
- aiotwit/types/giveaway.py +71 -0
- aiotwit/types/giveaway_completed.py +50 -0
- aiotwit/types/giveaway_created.py +29 -0
- aiotwit/types/giveaway_winners.py +84 -0
- aiotwit/types/inaccessible_message.py +3501 -0
- aiotwit/types/inline_keyboard_button.py +95 -0
- aiotwit/types/inline_keyboard_markup.py +40 -0
- aiotwit/types/inline_query.py +113 -0
- aiotwit/types/inline_query_result.py +34 -0
- aiotwit/types/inline_query_result_article.py +85 -0
- aiotwit/types/inline_query_result_audio.py +82 -0
- aiotwit/types/inline_query_result_cached_audio.py +70 -0
- aiotwit/types/inline_query_result_cached_document.py +78 -0
- aiotwit/types/inline_query_result_cached_gif.py +78 -0
- aiotwit/types/inline_query_result_cached_mpeg4_gif.py +78 -0
- aiotwit/types/inline_query_result_cached_photo.py +82 -0
- aiotwit/types/inline_query_result_cached_sticker.py +56 -0
- aiotwit/types/inline_query_result_cached_video.py +82 -0
- aiotwit/types/inline_query_result_cached_voice.py +74 -0
- aiotwit/types/inline_query_result_contact.py +80 -0
- aiotwit/types/inline_query_result_document.py +94 -0
- aiotwit/types/inline_query_result_game.py +51 -0
- aiotwit/types/inline_query_result_gif.py +98 -0
- aiotwit/types/inline_query_result_location.py +92 -0
- aiotwit/types/inline_query_result_mpeg4_gif.py +98 -0
- aiotwit/types/inline_query_result_photo.py +94 -0
- aiotwit/types/inline_query_result_union.py +47 -0
- aiotwit/types/inline_query_result_venue.py +96 -0
- aiotwit/types/inline_query_result_video.py +104 -0
- aiotwit/types/inline_query_result_voice.py +78 -0
- aiotwit/types/inline_query_results_button.py +43 -0
- aiotwit/types/input_checklist.py +60 -0
- aiotwit/types/input_checklist_task.py +51 -0
- aiotwit/types/input_contact_message_content.py +47 -0
- aiotwit/types/input_file.py +150 -0
- aiotwit/types/input_file_union.py +7 -0
- aiotwit/types/input_invoice_message_content.py +114 -0
- aiotwit/types/input_location_message_content.py +55 -0
- aiotwit/types/input_media.py +18 -0
- aiotwit/types/input_media_animation.py +84 -0
- aiotwit/types/input_media_audio.py +75 -0
- aiotwit/types/input_media_document.py +67 -0
- aiotwit/types/input_media_link.py +33 -0
- aiotwit/types/input_media_live_photo.py +71 -0
- aiotwit/types/input_media_location.py +47 -0
- aiotwit/types/input_media_photo.py +67 -0
- aiotwit/types/input_media_sticker.py +43 -0
- aiotwit/types/input_media_union.py +22 -0
- aiotwit/types/input_media_venue.py +67 -0
- aiotwit/types/input_media_video.py +97 -0
- aiotwit/types/input_media_voice_note.py +60 -0
- aiotwit/types/input_message_content.py +20 -0
- aiotwit/types/input_message_content_union.py +23 -0
- aiotwit/types/input_paid_media.py +13 -0
- aiotwit/types/input_paid_media_live_photo.py +42 -0
- aiotwit/types/input_paid_media_photo.py +37 -0
- aiotwit/types/input_paid_media_union.py +14 -0
- aiotwit/types/input_paid_media_video.py +71 -0
- aiotwit/types/input_poll_media.py +18 -0
- aiotwit/types/input_poll_media_union.py +24 -0
- aiotwit/types/input_poll_option.py +53 -0
- aiotwit/types/input_poll_option_media.py +18 -0
- aiotwit/types/input_poll_option_media_union.py +24 -0
- aiotwit/types/input_poll_option_union.py +7 -0
- aiotwit/types/input_profile_photo.py +14 -0
- aiotwit/types/input_profile_photo_animated.py +46 -0
- aiotwit/types/input_profile_photo_static.py +38 -0
- aiotwit/types/input_profile_photo_union.py +10 -0
- aiotwit/types/input_rich_block.py +34 -0
- aiotwit/types/input_rich_block_anchor.py +37 -0
- aiotwit/types/input_rich_block_animation.py +44 -0
- aiotwit/types/input_rich_block_audio.py +44 -0
- aiotwit/types/input_rich_block_block_quotation.py +44 -0
- aiotwit/types/input_rich_block_buttons.py +42 -0
- aiotwit/types/input_rich_block_collage.py +44 -0
- aiotwit/types/input_rich_block_details.py +49 -0
- aiotwit/types/input_rich_block_divider.py +34 -0
- aiotwit/types/input_rich_block_document.py +43 -0
- aiotwit/types/input_rich_block_expandable_block_quotation.py +57 -0
- aiotwit/types/input_rich_block_footer.py +40 -0
- aiotwit/types/input_rich_block_list.py +40 -0
- aiotwit/types/input_rich_block_list_item.py +55 -0
- aiotwit/types/input_rich_block_map.py +61 -0
- aiotwit/types/input_rich_block_mathematical_expression.py +41 -0
- aiotwit/types/input_rich_block_paragraph.py +40 -0
- aiotwit/types/input_rich_block_photo.py +44 -0
- aiotwit/types/input_rich_block_preformatted.py +43 -0
- aiotwit/types/input_rich_block_pull_quotation.py +43 -0
- aiotwit/types/input_rich_block_section_heading.py +43 -0
- aiotwit/types/input_rich_block_slideshow.py +44 -0
- aiotwit/types/input_rich_block_table.py +61 -0
- aiotwit/types/input_rich_block_thinking.py +40 -0
- aiotwit/types/input_rich_block_union.py +56 -0
- aiotwit/types/input_rich_block_video.py +44 -0
- aiotwit/types/input_rich_block_voice_note.py +46 -0
- aiotwit/types/input_rich_message.py +60 -0
- aiotwit/types/input_rich_message_content.py +32 -0
- aiotwit/types/input_rich_message_media.py +38 -0
- aiotwit/types/input_rich_message_media_union.py +17 -0
- aiotwit/types/input_shared_widget_message_content.py +59 -0
- aiotwit/types/input_sticker.py +55 -0
- aiotwit/types/input_story_content.py +14 -0
- aiotwit/types/input_story_content_photo.py +40 -0
- aiotwit/types/input_story_content_union.py +10 -0
- aiotwit/types/input_story_content_video.py +56 -0
- aiotwit/types/input_text_message_content.py +61 -0
- aiotwit/types/input_venue_message_content.py +63 -0
- aiotwit/types/input_widget_message_content.py +79 -0
- aiotwit/types/invoice.py +51 -0
- aiotwit/types/keyboard_button.py +90 -0
- aiotwit/types/keyboard_button_poll_type.py +29 -0
- aiotwit/types/keyboard_button_request_chat.py +78 -0
- aiotwit/types/keyboard_button_request_managed_bot.py +41 -0
- aiotwit/types/keyboard_button_request_user.py +44 -0
- aiotwit/types/keyboard_button_request_users.py +57 -0
- aiotwit/types/labeled_price.py +31 -0
- aiotwit/types/link.py +25 -0
- aiotwit/types/link_preview_options.py +50 -0
- aiotwit/types/live_photo.py +66 -0
- aiotwit/types/location.py +55 -0
- aiotwit/types/location_address.py +47 -0
- aiotwit/types/login_url.py +49 -0
- aiotwit/types/managed_bot_created.py +32 -0
- aiotwit/types/managed_bot_updated.py +36 -0
- aiotwit/types/mask_position.py +43 -0
- aiotwit/types/maybe_inaccessible_message.py +12 -0
- aiotwit/types/maybe_inaccessible_message_union.py +28 -0
- aiotwit/types/media_union.py +11 -0
- aiotwit/types/menu_button.py +47 -0
- aiotwit/types/menu_button_commands.py +33 -0
- aiotwit/types/menu_button_default.py +33 -0
- aiotwit/types/menu_button_union.py +13 -0
- aiotwit/types/menu_button_web_app.py +42 -0
- aiotwit/types/message.py +5536 -0
- aiotwit/types/message_auto_delete_timer_changed.py +31 -0
- aiotwit/types/message_entity.py +76 -0
- aiotwit/types/message_generation_stopped.py +46 -0
- aiotwit/types/message_id.py +27 -0
- aiotwit/types/message_origin.py +14 -0
- aiotwit/types/message_origin_channel.py +56 -0
- aiotwit/types/message_origin_chat.py +52 -0
- aiotwit/types/message_origin_hidden_user.py +40 -0
- aiotwit/types/message_origin_union.py +15 -0
- aiotwit/types/message_origin_user.py +43 -0
- aiotwit/types/message_reaction_count_updated.py +52 -0
- aiotwit/types/message_reaction_updated.py +65 -0
- aiotwit/types/order_info.py +50 -0
- aiotwit/types/owned_gift.py +14 -0
- aiotwit/types/owned_gift_regular.py +98 -0
- aiotwit/types/owned_gift_union.py +10 -0
- aiotwit/types/owned_gift_unique.py +74 -0
- aiotwit/types/owned_gifts.py +43 -0
- aiotwit/types/paid_media.py +14 -0
- aiotwit/types/paid_media_info.py +38 -0
- aiotwit/types/paid_media_live_photo.py +39 -0
- aiotwit/types/paid_media_photo.py +39 -0
- aiotwit/types/paid_media_preview.py +44 -0
- aiotwit/types/paid_media_purchased.py +42 -0
- aiotwit/types/paid_media_union.py +15 -0
- aiotwit/types/paid_media_video.py +39 -0
- aiotwit/types/paid_message_price_changed.py +29 -0
- aiotwit/types/paid_messages_waived.py +9 -0
- aiotwit/types/passport_data.py +39 -0
- aiotwit/types/passport_element_error.py +21 -0
- aiotwit/types/passport_element_error_data_field.py +52 -0
- aiotwit/types/passport_element_error_file.py +44 -0
- aiotwit/types/passport_element_error_files.py +48 -0
- aiotwit/types/passport_element_error_front_side.py +46 -0
- aiotwit/types/passport_element_error_reverse_side.py +46 -0
- aiotwit/types/passport_element_error_selfie.py +44 -0
- aiotwit/types/passport_element_error_translation_file.py +48 -0
- aiotwit/types/passport_element_error_translation_files.py +52 -0
- aiotwit/types/passport_element_error_union.py +30 -0
- aiotwit/types/passport_element_error_unspecified.py +50 -0
- aiotwit/types/passport_file.py +48 -0
- aiotwit/types/photo_size.py +51 -0
- aiotwit/types/poll.py +130 -0
- aiotwit/types/poll_answer.py +55 -0
- aiotwit/types/poll_media.py +83 -0
- aiotwit/types/poll_option.py +70 -0
- aiotwit/types/poll_option_added.py +51 -0
- aiotwit/types/poll_option_deleted.py +51 -0
- aiotwit/types/pre_checkout_query.py +98 -0
- aiotwit/types/prepared_inline_message.py +38 -0
- aiotwit/types/prepared_keyboard_button.py +25 -0
- aiotwit/types/proximity_alert_triggered.py +43 -0
- aiotwit/types/reaction_count.py +38 -0
- aiotwit/types/reaction_type.py +13 -0
- aiotwit/types/reaction_type_custom_emoji.py +34 -0
- aiotwit/types/reaction_type_emoji.py +34 -0
- aiotwit/types/reaction_type_paid.py +31 -0
- aiotwit/types/reaction_type_union.py +13 -0
- aiotwit/types/refunded_payment.py +49 -0
- aiotwit/types/reply_keyboard_markup.py +62 -0
- aiotwit/types/reply_keyboard_remove.py +37 -0
- aiotwit/types/reply_markup_union.py +12 -0
- aiotwit/types/reply_parameters.py +83 -0
- aiotwit/types/response_parameters.py +37 -0
- aiotwit/types/result_chat_member_union.py +17 -0
- aiotwit/types/result_menu_button_union.py +7 -0
- aiotwit/types/revenue_withdrawal_state.py +15 -0
- aiotwit/types/revenue_withdrawal_state_failed.py +33 -0
- aiotwit/types/revenue_withdrawal_state_pending.py +33 -0
- aiotwit/types/revenue_withdrawal_state_succeeded.py +42 -0
- aiotwit/types/revenue_withdrawal_state_union.py +14 -0
- aiotwit/types/rich_block.py +34 -0
- aiotwit/types/rich_block_anchor.py +35 -0
- aiotwit/types/rich_block_animation.py +53 -0
- aiotwit/types/rich_block_audio.py +44 -0
- aiotwit/types/rich_block_block_quotation.py +45 -0
- aiotwit/types/rich_block_buttons.py +42 -0
- aiotwit/types/rich_block_caption.py +39 -0
- aiotwit/types/rich_block_collage.py +44 -0
- aiotwit/types/rich_block_details.py +50 -0
- aiotwit/types/rich_block_divider.py +32 -0
- aiotwit/types/rich_block_document.py +43 -0
- aiotwit/types/rich_block_expandable_block_quotation.py +55 -0
- aiotwit/types/rich_block_footer.py +41 -0
- aiotwit/types/rich_block_list.py +40 -0
- aiotwit/types/rich_block_list_item.py +59 -0
- aiotwit/types/rich_block_map.py +61 -0
- aiotwit/types/rich_block_mathematical_expression.py +37 -0
- aiotwit/types/rich_block_paragraph.py +41 -0
- aiotwit/types/rich_block_photo.py +53 -0
- aiotwit/types/rich_block_preformatted.py +44 -0
- aiotwit/types/rich_block_pull_quotation.py +44 -0
- aiotwit/types/rich_block_section_heading.py +44 -0
- aiotwit/types/rich_block_slideshow.py +44 -0
- aiotwit/types/rich_block_table.py +62 -0
- aiotwit/types/rich_block_table_cell.py +59 -0
- aiotwit/types/rich_block_thinking.py +41 -0
- aiotwit/types/rich_block_union.py +56 -0
- aiotwit/types/rich_block_video.py +53 -0
- aiotwit/types/rich_block_voice_note.py +46 -0
- aiotwit/types/rich_message.py +39 -0
- aiotwit/types/rich_message_button.py +83 -0
- aiotwit/types/rich_text.py +37 -0
- aiotwit/types/rich_text_anchor.py +35 -0
- aiotwit/types/rich_text_anchor_link.py +43 -0
- aiotwit/types/rich_text_bank_card_number.py +45 -0
- aiotwit/types/rich_text_bold.py +40 -0
- aiotwit/types/rich_text_bot_command.py +43 -0
- aiotwit/types/rich_text_button.py +39 -0
- aiotwit/types/rich_text_cashtag.py +43 -0
- aiotwit/types/rich_text_code.py +40 -0
- aiotwit/types/rich_text_custom_emoji.py +43 -0
- aiotwit/types/rich_text_date_time.py +52 -0
- aiotwit/types/rich_text_dyn_address.py +42 -0
- aiotwit/types/rich_text_email_address.py +45 -0
- aiotwit/types/rich_text_hashtag.py +43 -0
- aiotwit/types/rich_text_italic.py +40 -0
- aiotwit/types/rich_text_marked.py +40 -0
- aiotwit/types/rich_text_mathematical_expression.py +37 -0
- aiotwit/types/rich_text_mention.py +43 -0
- aiotwit/types/rich_text_phone_number.py +43 -0
- aiotwit/types/rich_text_reference.py +43 -0
- aiotwit/types/rich_text_reference_link.py +45 -0
- aiotwit/types/rich_text_spoiler.py +40 -0
- aiotwit/types/rich_text_strikethrough.py +40 -0
- aiotwit/types/rich_text_subscript.py +40 -0
- aiotwit/types/rich_text_superscript.py +40 -0
- aiotwit/types/rich_text_text_mention.py +44 -0
- aiotwit/types/rich_text_underline.py +40 -0
- aiotwit/types/rich_text_union.py +114 -0
- aiotwit/types/rich_text_url.py +43 -0
- aiotwit/types/sent_guest_message.py +27 -0
- aiotwit/types/sent_web_app_message.py +29 -0
- aiotwit/types/shared_user.py +54 -0
- aiotwit/types/shared_widget_query.py +87 -0
- aiotwit/types/shipping_address.py +55 -0
- aiotwit/types/shipping_option.py +41 -0
- aiotwit/types/shipping_query.py +90 -0
- aiotwit/types/star_amount.py +35 -0
- aiotwit/types/star_transaction.py +59 -0
- aiotwit/types/star_transactions.py +32 -0
- aiotwit/types/sticker.py +152 -0
- aiotwit/types/sticker_set.py +71 -0
- aiotwit/types/story.py +32 -0
- aiotwit/types/story_area.py +39 -0
- aiotwit/types/story_area_position.py +58 -0
- aiotwit/types/story_area_type.py +17 -0
- aiotwit/types/story_area_type_link.py +37 -0
- aiotwit/types/story_area_type_location.py +52 -0
- aiotwit/types/story_area_type_suggested_reaction.py +54 -0
- aiotwit/types/story_area_type_union.py +18 -0
- aiotwit/types/story_area_type_unique_gift.py +37 -0
- aiotwit/types/story_area_type_weather.py +49 -0
- aiotwit/types/successful_payment.py +74 -0
- aiotwit/types/suggested_post_approval_failed.py +41 -0
- aiotwit/types/suggested_post_approved.py +48 -0
- aiotwit/types/suggested_post_declined.py +40 -0
- aiotwit/types/suggested_post_info.py +42 -0
- aiotwit/types/suggested_post_paid.py +51 -0
- aiotwit/types/suggested_post_parameters.py +39 -0
- aiotwit/types/suggested_post_price.py +31 -0
- aiotwit/types/suggested_post_refunded.py +40 -0
- aiotwit/types/switch_inline_query_chosen_chat.py +49 -0
- aiotwit/types/text_quote.py +55 -0
- aiotwit/types/transaction_partner.py +17 -0
- aiotwit/types/transaction_partner_affiliate_program.py +51 -0
- aiotwit/types/transaction_partner_chat.py +43 -0
- aiotwit/types/transaction_partner_fragtal.py +39 -0
- aiotwit/types/transaction_partner_other.py +33 -0
- aiotwit/types/transaction_partner_twittor_ads.py +35 -0
- aiotwit/types/transaction_partner_twittor_api.py +38 -0
- aiotwit/types/transaction_partner_union.py +24 -0
- aiotwit/types/transaction_partner_user.py +78 -0
- aiotwit/types/unique_gift.py +86 -0
- aiotwit/types/unique_gift_backdrop.py +43 -0
- aiotwit/types/unique_gift_backdrop_colors.py +47 -0
- aiotwit/types/unique_gift_colors.py +55 -0
- aiotwit/types/unique_gift_info.py +85 -0
- aiotwit/types/unique_gift_model.py +50 -0
- aiotwit/types/unique_gift_symbol.py +43 -0
- aiotwit/types/update.py +257 -0
- aiotwit/types/user.py +228 -0
- aiotwit/types/user_chat_boosts.py +32 -0
- aiotwit/types/user_profile_audios.py +34 -0
- aiotwit/types/user_profile_photos.py +38 -0
- aiotwit/types/user_rating.py +47 -0
- aiotwit/types/user_shared.py +32 -0
- aiotwit/types/users_shared.py +48 -0
- aiotwit/types/venue.py +62 -0
- aiotwit/types/video.py +84 -0
- aiotwit/types/video_chat_ended.py +27 -0
- aiotwit/types/video_chat_participants_invited.py +30 -0
- aiotwit/types/video_chat_scheduled.py +30 -0
- aiotwit/types/video_chat_started.py +11 -0
- aiotwit/types/video_note.py +58 -0
- aiotwit/types/video_quality.py +55 -0
- aiotwit/types/voice.py +51 -0
- aiotwit/types/web_app_data.py +31 -0
- aiotwit/types/web_app_info.py +27 -0
- aiotwit/types/webhook_info.py +68 -0
- aiotwit/types/widget.py +53 -0
- aiotwit/types/widget_query.py +108 -0
- aiotwit/types/widget_query_type.py +13 -0
- aiotwit/types/widget_query_type_data.py +38 -0
- aiotwit/types/widget_query_type_sent_transaction.py +41 -0
- aiotwit/types/widget_query_type_sign_data.py +41 -0
- aiotwit/types/widget_query_type_union.py +12 -0
- aiotwit/types/widget_query_wallet.py +45 -0
- aiotwit/types/write_access_allowed.py +50 -0
- aiotwit/utils/__init__.py +0 -0
- aiotwit/utils/auth_widget.py +36 -0
- aiotwit/utils/backoff.py +85 -0
- aiotwit/utils/callback_answer.py +218 -0
- aiotwit/utils/chat_action.py +409 -0
- aiotwit/utils/chat_member.py +61 -0
- aiotwit/utils/class_attrs_resolver.py +85 -0
- aiotwit/utils/deep_linking.py +161 -0
- aiotwit/utils/formatting.py +757 -0
- aiotwit/utils/i18n/__init__.py +21 -0
- aiotwit/utils/i18n/context.py +24 -0
- aiotwit/utils/i18n/core.py +144 -0
- aiotwit/utils/i18n/lazy_proxy.py +14 -0
- aiotwit/utils/i18n/middleware.py +203 -0
- aiotwit/utils/keyboard.py +481 -0
- aiotwit/utils/link.py +102 -0
- aiotwit/utils/magic_filter.py +23 -0
- aiotwit/utils/markdown.py +209 -0
- aiotwit/utils/media_group.py +366 -0
- aiotwit/utils/mixins.py +94 -0
- aiotwit/utils/payload.py +114 -0
- aiotwit/utils/serialization.py +89 -0
- aiotwit/utils/text_decorations.py +372 -0
- aiotwit/utils/token.py +42 -0
- aiotwit/utils/warnings.py +6 -0
- aiotwit/utils/web_app.py +187 -0
- aiotwit/utils/web_app_signature.py +74 -0
- aiotwit/webhook/__init__.py +0 -0
- aiotwit/webhook/aiohttp_server.py +312 -0
- aiotwit/webhook/security.py +41 -0
- aiotwit-3.34.0.dist-info/METADATA +110 -0
- aiotwit-3.34.0.dist-info/RECORD +831 -0
- aiotwit-3.34.0.dist-info/WHEEL +4 -0
- aiotwit-3.34.0.dist-info/entry_points.txt +2 -0
- aiotwit-3.34.0.dist-info/licenses/LICENSE +18 -0
aiotwit/__init__.py
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
from aiotwit.dispatcher.flags import FlagGenerator
|
|
2
|
+
|
|
3
|
+
from . import enums, methods, types
|
|
4
|
+
from .__meta__ import __api_version__, __version__
|
|
5
|
+
from .client import session
|
|
6
|
+
from .client.bot import Bot
|
|
7
|
+
from .dispatcher.dispatcher import Dispatcher
|
|
8
|
+
from .dispatcher.middlewares.base import BaseMiddleware
|
|
9
|
+
from .dispatcher.router import Router
|
|
10
|
+
from .utils.magic_filter import MagicFilter
|
|
11
|
+
from .utils.text_decorations import html_decoration as html
|
|
12
|
+
from .utils.text_decorations import markdown_decoration as md
|
|
13
|
+
|
|
14
|
+
F = MagicFilter()
|
|
15
|
+
flags = FlagGenerator()
|
|
16
|
+
|
|
17
|
+
__all__ = (
|
|
18
|
+
"BaseMiddleware",
|
|
19
|
+
"Bot",
|
|
20
|
+
"Dispatcher",
|
|
21
|
+
"F",
|
|
22
|
+
"Router",
|
|
23
|
+
"__api_version__",
|
|
24
|
+
"__version__",
|
|
25
|
+
"enums",
|
|
26
|
+
"flags",
|
|
27
|
+
"html",
|
|
28
|
+
"md",
|
|
29
|
+
"methods",
|
|
30
|
+
"session",
|
|
31
|
+
"types",
|
|
32
|
+
)
|
aiotwit/__meta__.py
ADDED
|
File without changes
|