aiotwit 3.34.0__tar.gz

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.
Files changed (830) hide show
  1. aiotwit-3.34.0/LICENSE +18 -0
  2. aiotwit-3.34.0/PKG-INFO +110 -0
  3. aiotwit-3.34.0/README.md +59 -0
  4. aiotwit-3.34.0/aiotwit/__init__.py +32 -0
  5. aiotwit-3.34.0/aiotwit/__meta__.py +2 -0
  6. aiotwit-3.34.0/aiotwit/_migration/__init__.py +0 -0
  7. aiotwit-3.34.0/aiotwit/_migration/data/removal_inventory_3x.json +964 -0
  8. aiotwit-3.34.0/aiotwit/_migration/data/signatures_3x.json +6201 -0
  9. aiotwit-3.34.0/aiotwit/_migration/registry.toml +891 -0
  10. aiotwit-3.34.0/aiotwit/client/__init__.py +0 -0
  11. aiotwit-3.34.0/aiotwit/client/bot.py +7102 -0
  12. aiotwit-3.34.0/aiotwit/client/context_controller.py +34 -0
  13. aiotwit-3.34.0/aiotwit/client/default.py +86 -0
  14. aiotwit-3.34.0/aiotwit/client/session/__init__.py +0 -0
  15. aiotwit-3.34.0/aiotwit/client/session/aiohttp.py +279 -0
  16. aiotwit-3.34.0/aiotwit/client/session/base.py +279 -0
  17. aiotwit-3.34.0/aiotwit/client/session/middlewares/__init__.py +0 -0
  18. aiotwit-3.34.0/aiotwit/client/session/middlewares/base.py +52 -0
  19. aiotwit-3.34.0/aiotwit/client/session/middlewares/manager.py +61 -0
  20. aiotwit-3.34.0/aiotwit/client/session/middlewares/request_logging.py +37 -0
  21. aiotwit-3.34.0/aiotwit/client/twittor.py +106 -0
  22. aiotwit-3.34.0/aiotwit/dispatcher/__init__.py +0 -0
  23. aiotwit-3.34.0/aiotwit/dispatcher/dispatcher.py +804 -0
  24. aiotwit-3.34.0/aiotwit/dispatcher/event/__init__.py +0 -0
  25. aiotwit-3.34.0/aiotwit/dispatcher/event/bases.py +37 -0
  26. aiotwit-3.34.0/aiotwit/dispatcher/event/event.py +54 -0
  27. aiotwit-3.34.0/aiotwit/dispatcher/event/handler.py +143 -0
  28. aiotwit-3.34.0/aiotwit/dispatcher/event/twittor.py +146 -0
  29. aiotwit-3.34.0/aiotwit/dispatcher/flags.py +132 -0
  30. aiotwit-3.34.0/aiotwit/dispatcher/middlewares/__init__.py +0 -0
  31. aiotwit-3.34.0/aiotwit/dispatcher/middlewares/base.py +29 -0
  32. aiotwit-3.34.0/aiotwit/dispatcher/middlewares/data.py +95 -0
  33. aiotwit-3.34.0/aiotwit/dispatcher/middlewares/error.py +38 -0
  34. aiotwit-3.34.0/aiotwit/dispatcher/middlewares/manager.py +68 -0
  35. aiotwit-3.34.0/aiotwit/dispatcher/middlewares/user_context.py +228 -0
  36. aiotwit-3.34.0/aiotwit/dispatcher/router.py +312 -0
  37. aiotwit-3.34.0/aiotwit/enums/__init__.py +81 -0
  38. aiotwit-3.34.0/aiotwit/enums/bot_command_scope_type.py +17 -0
  39. aiotwit-3.34.0/aiotwit/enums/bot_subscription_updated_state.py +13 -0
  40. aiotwit-3.34.0/aiotwit/enums/button_style.py +17 -0
  41. aiotwit-3.34.0/aiotwit/enums/chat_action.py +32 -0
  42. aiotwit-3.34.0/aiotwit/enums/chat_boost_source_type.py +13 -0
  43. aiotwit-3.34.0/aiotwit/enums/chat_member_status.py +16 -0
  44. aiotwit-3.34.0/aiotwit/enums/chat_type.py +15 -0
  45. aiotwit-3.34.0/aiotwit/enums/content_type.py +92 -0
  46. aiotwit-3.34.0/aiotwit/enums/currency.py +96 -0
  47. aiotwit-3.34.0/aiotwit/enums/dice_emoji.py +16 -0
  48. aiotwit-3.34.0/aiotwit/enums/encrypted_passport_element.py +23 -0
  49. aiotwit-3.34.0/aiotwit/enums/inline_query_result_type.py +23 -0
  50. aiotwit-3.34.0/aiotwit/enums/input_media_type.py +19 -0
  51. aiotwit-3.34.0/aiotwit/enums/input_paid_media_type.py +13 -0
  52. aiotwit-3.34.0/aiotwit/enums/input_profile_photo_type.py +12 -0
  53. aiotwit-3.34.0/aiotwit/enums/input_rich_block_type.py +34 -0
  54. aiotwit-3.34.0/aiotwit/enums/input_story_content_type.py +12 -0
  55. aiotwit-3.34.0/aiotwit/enums/keyboard_button_poll_type_type.py +12 -0
  56. aiotwit-3.34.0/aiotwit/enums/mask_position_point.py +14 -0
  57. aiotwit-3.34.0/aiotwit/enums/menu_button_type.py +13 -0
  58. aiotwit-3.34.0/aiotwit/enums/message_entity_type.py +32 -0
  59. aiotwit-3.34.0/aiotwit/enums/message_origin_type.py +14 -0
  60. aiotwit-3.34.0/aiotwit/enums/owned_gift_type.py +12 -0
  61. aiotwit-3.34.0/aiotwit/enums/paid_media_type.py +14 -0
  62. aiotwit-3.34.0/aiotwit/enums/parse_mode.py +13 -0
  63. aiotwit-3.34.0/aiotwit/enums/passport_element_error_type.py +19 -0
  64. aiotwit-3.34.0/aiotwit/enums/poll_type.py +12 -0
  65. aiotwit-3.34.0/aiotwit/enums/reaction_type_type.py +13 -0
  66. aiotwit-3.34.0/aiotwit/enums/revenue_withdrawal_state_type.py +13 -0
  67. aiotwit-3.34.0/aiotwit/enums/rich_block_type.py +34 -0
  68. aiotwit-3.34.0/aiotwit/enums/rich_text_type.py +37 -0
  69. aiotwit-3.34.0/aiotwit/enums/sticker_format.py +13 -0
  70. aiotwit-3.34.0/aiotwit/enums/sticker_type.py +13 -0
  71. aiotwit-3.34.0/aiotwit/enums/story_area_type_type.py +15 -0
  72. aiotwit-3.34.0/aiotwit/enums/topic_icon_color.py +16 -0
  73. aiotwit-3.34.0/aiotwit/enums/transaction_partner_type.py +17 -0
  74. aiotwit-3.34.0/aiotwit/enums/transaction_partner_user_transaction_type_enum.py +15 -0
  75. aiotwit-3.34.0/aiotwit/enums/update_type.py +39 -0
  76. aiotwit-3.34.0/aiotwit/exceptions.py +209 -0
  77. aiotwit-3.34.0/aiotwit/filters/__init__.py +51 -0
  78. aiotwit-3.34.0/aiotwit/filters/base.py +54 -0
  79. aiotwit-3.34.0/aiotwit/filters/callback_data.py +231 -0
  80. aiotwit-3.34.0/aiotwit/filters/chat_member_updated.py +217 -0
  81. aiotwit-3.34.0/aiotwit/filters/command.py +305 -0
  82. aiotwit-3.34.0/aiotwit/filters/exception.py +57 -0
  83. aiotwit-3.34.0/aiotwit/filters/logic.py +79 -0
  84. aiotwit-3.34.0/aiotwit/filters/magic_data.py +27 -0
  85. aiotwit-3.34.0/aiotwit/filters/state.py +50 -0
  86. aiotwit-3.34.0/aiotwit/fsm/__init__.py +0 -0
  87. aiotwit-3.34.0/aiotwit/fsm/context.py +44 -0
  88. aiotwit-3.34.0/aiotwit/fsm/middleware.py +142 -0
  89. aiotwit-3.34.0/aiotwit/fsm/scene.py +1019 -0
  90. aiotwit-3.34.0/aiotwit/fsm/state.py +177 -0
  91. aiotwit-3.34.0/aiotwit/fsm/storage/__init__.py +0 -0
  92. aiotwit-3.34.0/aiotwit/fsm/storage/base.py +218 -0
  93. aiotwit-3.34.0/aiotwit/fsm/storage/memory.py +96 -0
  94. aiotwit-3.34.0/aiotwit/fsm/storage/mongo.py +146 -0
  95. aiotwit-3.34.0/aiotwit/fsm/storage/pymongo.py +140 -0
  96. aiotwit-3.34.0/aiotwit/fsm/storage/redis.py +178 -0
  97. aiotwit-3.34.0/aiotwit/fsm/strategy.py +36 -0
  98. aiotwit-3.34.0/aiotwit/handlers/__init__.py +25 -0
  99. aiotwit-3.34.0/aiotwit/handlers/base.py +47 -0
  100. aiotwit-3.34.0/aiotwit/handlers/callback_query.py +42 -0
  101. aiotwit-3.34.0/aiotwit/handlers/chat_member.py +14 -0
  102. aiotwit-3.34.0/aiotwit/handlers/chosen_inline_result.py +18 -0
  103. aiotwit-3.34.0/aiotwit/handlers/error.py +17 -0
  104. aiotwit-3.34.0/aiotwit/handlers/inline_query.py +18 -0
  105. aiotwit-3.34.0/aiotwit/handlers/message.py +28 -0
  106. aiotwit-3.34.0/aiotwit/handlers/poll.py +18 -0
  107. aiotwit-3.34.0/aiotwit/handlers/pre_checkout_query.py +14 -0
  108. aiotwit-3.34.0/aiotwit/handlers/shipping_query.py +14 -0
  109. aiotwit-3.34.0/aiotwit/loggers.py +7 -0
  110. aiotwit-3.34.0/aiotwit/methods/__init__.py +395 -0
  111. aiotwit-3.34.0/aiotwit/methods/add_sticker_to_set.py +42 -0
  112. aiotwit-3.34.0/aiotwit/methods/answer_callback_query.py +56 -0
  113. aiotwit-3.34.0/aiotwit/methods/answer_chat_join_request_query.py +40 -0
  114. aiotwit-3.34.0/aiotwit/methods/answer_guest_query.py +38 -0
  115. aiotwit-3.34.0/aiotwit/methods/answer_inline_query.py +77 -0
  116. aiotwit-3.34.0/aiotwit/methods/answer_pre_checkout_query.py +46 -0
  117. aiotwit-3.34.0/aiotwit/methods/answer_shipping_query.py +51 -0
  118. aiotwit-3.34.0/aiotwit/methods/answer_web_app_query.py +39 -0
  119. aiotwit-3.34.0/aiotwit/methods/answer_widget_query.py +36 -0
  120. aiotwit-3.34.0/aiotwit/methods/approve_chat_join_request.py +35 -0
  121. aiotwit-3.34.0/aiotwit/methods/approve_suggested_post.py +44 -0
  122. aiotwit-3.34.0/aiotwit/methods/ban_chat_member.py +51 -0
  123. aiotwit-3.34.0/aiotwit/methods/ban_chat_sender_chat.py +39 -0
  124. aiotwit-3.34.0/aiotwit/methods/base.py +76 -0
  125. aiotwit-3.34.0/aiotwit/methods/close.py +14 -0
  126. aiotwit-3.34.0/aiotwit/methods/close_forum_topic.py +41 -0
  127. aiotwit-3.34.0/aiotwit/methods/close_general_forum_topic.py +33 -0
  128. aiotwit-3.34.0/aiotwit/methods/convert_gift_to_stars.py +42 -0
  129. aiotwit-3.34.0/aiotwit/methods/copy_message.py +128 -0
  130. aiotwit-3.34.0/aiotwit/methods/copy_messages.py +66 -0
  131. aiotwit-3.34.0/aiotwit/methods/create_chat_invite_link.py +55 -0
  132. aiotwit-3.34.0/aiotwit/methods/create_chat_subscription_invite_link.py +51 -0
  133. aiotwit-3.34.0/aiotwit/methods/create_forum_topic.py +51 -0
  134. aiotwit-3.34.0/aiotwit/methods/create_invoice_link.py +123 -0
  135. aiotwit-3.34.0/aiotwit/methods/create_new_sticker_set.py +68 -0
  136. aiotwit-3.34.0/aiotwit/methods/decline_chat_join_request.py +35 -0
  137. aiotwit-3.34.0/aiotwit/methods/decline_suggested_post.py +43 -0
  138. aiotwit-3.34.0/aiotwit/methods/delete_all_message_reactions.py +42 -0
  139. aiotwit-3.34.0/aiotwit/methods/delete_business_account_gift.py +40 -0
  140. aiotwit-3.34.0/aiotwit/methods/delete_business_messages.py +42 -0
  141. aiotwit-3.34.0/aiotwit/methods/delete_chat_photo.py +33 -0
  142. aiotwit-3.34.0/aiotwit/methods/delete_chat_sticker_set.py +33 -0
  143. aiotwit-3.34.0/aiotwit/methods/delete_ephemeral_message.py +45 -0
  144. aiotwit-3.34.0/aiotwit/methods/delete_forum_topic.py +41 -0
  145. aiotwit-3.34.0/aiotwit/methods/delete_message.py +55 -0
  146. aiotwit-3.34.0/aiotwit/methods/delete_message_reaction.py +49 -0
  147. aiotwit-3.34.0/aiotwit/methods/delete_messages.py +37 -0
  148. aiotwit-3.34.0/aiotwit/methods/delete_my_commands.py +39 -0
  149. aiotwit-3.34.0/aiotwit/methods/delete_sticker_from_set.py +30 -0
  150. aiotwit-3.34.0/aiotwit/methods/delete_sticker_set.py +30 -0
  151. aiotwit-3.34.0/aiotwit/methods/delete_story.py +42 -0
  152. aiotwit-3.34.0/aiotwit/methods/delete_webhook.py +35 -0
  153. aiotwit-3.34.0/aiotwit/methods/edit_chat_invite_link.py +59 -0
  154. aiotwit-3.34.0/aiotwit/methods/edit_chat_subscription_invite_link.py +44 -0
  155. aiotwit-3.34.0/aiotwit/methods/edit_ephemeral_message_caption.py +66 -0
  156. aiotwit-3.34.0/aiotwit/methods/edit_ephemeral_message_media.py +53 -0
  157. aiotwit-3.34.0/aiotwit/methods/edit_ephemeral_message_reply_markup.py +49 -0
  158. aiotwit-3.34.0/aiotwit/methods/edit_ephemeral_message_text.py +76 -0
  159. aiotwit-3.34.0/aiotwit/methods/edit_forum_topic.py +51 -0
  160. aiotwit-3.34.0/aiotwit/methods/edit_general_forum_topic.py +35 -0
  161. aiotwit-3.34.0/aiotwit/methods/edit_message_caption.py +72 -0
  162. aiotwit-3.34.0/aiotwit/methods/edit_message_checklist.py +55 -0
  163. aiotwit-3.34.0/aiotwit/methods/edit_message_live_location.py +79 -0
  164. aiotwit-3.34.0/aiotwit/methods/edit_message_media.py +59 -0
  165. aiotwit-3.34.0/aiotwit/methods/edit_message_reply_markup.py +55 -0
  166. aiotwit-3.34.0/aiotwit/methods/edit_message_text.py +94 -0
  167. aiotwit-3.34.0/aiotwit/methods/edit_message_widget_data.py +53 -0
  168. aiotwit-3.34.0/aiotwit/methods/edit_shared_widget_data.py +44 -0
  169. aiotwit-3.34.0/aiotwit/methods/edit_story.py +64 -0
  170. aiotwit-3.34.0/aiotwit/methods/edit_user_star_subscription.py +46 -0
  171. aiotwit-3.34.0/aiotwit/methods/export_chat_invite_link.py +35 -0
  172. aiotwit-3.34.0/aiotwit/methods/forward_message.py +76 -0
  173. aiotwit-3.34.0/aiotwit/methods/forward_messages.py +62 -0
  174. aiotwit-3.34.0/aiotwit/methods/get_available_gifts.py +15 -0
  175. aiotwit-3.34.0/aiotwit/methods/get_business_account_gifts.py +88 -0
  176. aiotwit-3.34.0/aiotwit/methods/get_business_account_star_balance.py +33 -0
  177. aiotwit-3.34.0/aiotwit/methods/get_business_connection.py +34 -0
  178. aiotwit-3.34.0/aiotwit/methods/get_chat.py +33 -0
  179. aiotwit-3.34.0/aiotwit/methods/get_chat_administrators.py +39 -0
  180. aiotwit-3.34.0/aiotwit/methods/get_chat_gifts.py +79 -0
  181. aiotwit-3.34.0/aiotwit/methods/get_chat_member.py +35 -0
  182. aiotwit-3.34.0/aiotwit/methods/get_chat_member_count.py +33 -0
  183. aiotwit-3.34.0/aiotwit/methods/get_chat_menu_button.py +33 -0
  184. aiotwit-3.34.0/aiotwit/methods/get_chat_share_theme_backdrops.py +13 -0
  185. aiotwit-3.34.0/aiotwit/methods/get_custom_emoji_stickers.py +33 -0
  186. aiotwit-3.34.0/aiotwit/methods/get_file.py +32 -0
  187. aiotwit-3.34.0/aiotwit/methods/get_forum_topic_icon_stickers.py +15 -0
  188. aiotwit-3.34.0/aiotwit/methods/get_game_high_scores.py +53 -0
  189. aiotwit-3.34.0/aiotwit/methods/get_managed_bot_access_settings.py +29 -0
  190. aiotwit-3.34.0/aiotwit/methods/get_managed_bot_token.py +28 -0
  191. aiotwit-3.34.0/aiotwit/methods/get_me.py +15 -0
  192. aiotwit-3.34.0/aiotwit/methods/get_my_commands.py +39 -0
  193. aiotwit-3.34.0/aiotwit/methods/get_my_default_administrator_rights.py +33 -0
  194. aiotwit-3.34.0/aiotwit/methods/get_my_description.py +33 -0
  195. aiotwit-3.34.0/aiotwit/methods/get_my_name.py +31 -0
  196. aiotwit-3.34.0/aiotwit/methods/get_my_short_description.py +33 -0
  197. aiotwit-3.34.0/aiotwit/methods/get_my_star_balance.py +15 -0
  198. aiotwit-3.34.0/aiotwit/methods/get_star_transactions.py +39 -0
  199. aiotwit-3.34.0/aiotwit/methods/get_sticker_set.py +31 -0
  200. aiotwit-3.34.0/aiotwit/methods/get_unique_gift.py +29 -0
  201. aiotwit-3.34.0/aiotwit/methods/get_updates.py +57 -0
  202. aiotwit-3.34.0/aiotwit/methods/get_user_chat_boosts.py +33 -0
  203. aiotwit-3.34.0/aiotwit/methods/get_user_gifts.py +71 -0
  204. aiotwit-3.34.0/aiotwit/methods/get_user_personal_chat_messages.py +33 -0
  205. aiotwit-3.34.0/aiotwit/methods/get_user_profile_audios.py +42 -0
  206. aiotwit-3.34.0/aiotwit/methods/get_user_profile_photos.py +42 -0
  207. aiotwit-3.34.0/aiotwit/methods/get_webhook_info.py +15 -0
  208. aiotwit-3.34.0/aiotwit/methods/gift_premium_subscription.py +60 -0
  209. aiotwit-3.34.0/aiotwit/methods/hide_general_forum_topic.py +33 -0
  210. aiotwit-3.34.0/aiotwit/methods/leave_chat.py +33 -0
  211. aiotwit-3.34.0/aiotwit/methods/log_out.py +14 -0
  212. aiotwit-3.34.0/aiotwit/methods/pin_chat_message.py +51 -0
  213. aiotwit-3.34.0/aiotwit/methods/post_story.py +72 -0
  214. aiotwit-3.34.0/aiotwit/methods/promote_chat_member.py +115 -0
  215. aiotwit-3.34.0/aiotwit/methods/read_business_message.py +46 -0
  216. aiotwit-3.34.0/aiotwit/methods/refund_star_payment.py +42 -0
  217. aiotwit-3.34.0/aiotwit/methods/remove_business_account_profile_photo.py +42 -0
  218. aiotwit-3.34.0/aiotwit/methods/remove_chat_verification.py +33 -0
  219. aiotwit-3.34.0/aiotwit/methods/remove_my_profile_photo.py +14 -0
  220. aiotwit-3.34.0/aiotwit/methods/remove_user_verification.py +30 -0
  221. aiotwit-3.34.0/aiotwit/methods/reopen_forum_topic.py +41 -0
  222. aiotwit-3.34.0/aiotwit/methods/reopen_general_forum_topic.py +33 -0
  223. aiotwit-3.34.0/aiotwit/methods/replace_managed_bot_token.py +28 -0
  224. aiotwit-3.34.0/aiotwit/methods/replace_sticker_in_set.py +51 -0
  225. aiotwit-3.34.0/aiotwit/methods/repost_story.py +60 -0
  226. aiotwit-3.34.0/aiotwit/methods/restrict_chat_member.py +55 -0
  227. aiotwit-3.34.0/aiotwit/methods/revoke_chat_invite_link.py +35 -0
  228. aiotwit-3.34.0/aiotwit/methods/save_prepared_inline_message.py +59 -0
  229. aiotwit-3.34.0/aiotwit/methods/save_prepared_keyboard_button.py +33 -0
  230. aiotwit-3.34.0/aiotwit/methods/send_animation.py +164 -0
  231. aiotwit-3.34.0/aiotwit/methods/send_audio.py +157 -0
  232. aiotwit-3.34.0/aiotwit/methods/send_chat_action.py +55 -0
  233. aiotwit-3.34.0/aiotwit/methods/send_chat_join_request_web_app.py +40 -0
  234. aiotwit-3.34.0/aiotwit/methods/send_checklist.py +68 -0
  235. aiotwit-3.34.0/aiotwit/methods/send_contact.py +137 -0
  236. aiotwit-3.34.0/aiotwit/methods/send_dice.py +106 -0
  237. aiotwit-3.34.0/aiotwit/methods/send_document.py +148 -0
  238. aiotwit-3.34.0/aiotwit/methods/send_game.py +92 -0
  239. aiotwit-3.34.0/aiotwit/methods/send_gift.py +65 -0
  240. aiotwit-3.34.0/aiotwit/methods/send_invoice.py +183 -0
  241. aiotwit-3.34.0/aiotwit/methods/send_live_photo.py +137 -0
  242. aiotwit-3.34.0/aiotwit/methods/send_location.py +145 -0
  243. aiotwit-3.34.0/aiotwit/methods/send_media_group.py +92 -0
  244. aiotwit-3.34.0/aiotwit/methods/send_message.py +148 -0
  245. aiotwit-3.34.0/aiotwit/methods/send_message_draft.py +68 -0
  246. aiotwit-3.34.0/aiotwit/methods/send_paid_media.py +112 -0
  247. aiotwit-3.34.0/aiotwit/methods/send_photo.py +147 -0
  248. aiotwit-3.34.0/aiotwit/methods/send_poll.py +204 -0
  249. aiotwit-3.34.0/aiotwit/methods/send_rich_message.py +94 -0
  250. aiotwit-3.34.0/aiotwit/methods/send_rich_message_draft.py +57 -0
  251. aiotwit-3.34.0/aiotwit/methods/send_shared_widget.py +90 -0
  252. aiotwit-3.34.0/aiotwit/methods/send_sticker.py +130 -0
  253. aiotwit-3.34.0/aiotwit/methods/send_venue.py +153 -0
  254. aiotwit-3.34.0/aiotwit/methods/send_video.py +177 -0
  255. aiotwit-3.34.0/aiotwit/methods/send_video_note.py +139 -0
  256. aiotwit-3.34.0/aiotwit/methods/send_voice.py +143 -0
  257. aiotwit-3.34.0/aiotwit/methods/send_widget.py +110 -0
  258. aiotwit-3.34.0/aiotwit/methods/set_business_account_bio.py +40 -0
  259. aiotwit-3.34.0/aiotwit/methods/set_business_account_gift_settings.py +47 -0
  260. aiotwit-3.34.0/aiotwit/methods/set_business_account_name.py +46 -0
  261. aiotwit-3.34.0/aiotwit/methods/set_business_account_profile_photo.py +47 -0
  262. aiotwit-3.34.0/aiotwit/methods/set_business_account_username.py +42 -0
  263. aiotwit-3.34.0/aiotwit/methods/set_chat_administrator_custom_title.py +44 -0
  264. aiotwit-3.34.0/aiotwit/methods/set_chat_description.py +39 -0
  265. aiotwit-3.34.0/aiotwit/methods/set_chat_member_tag.py +40 -0
  266. aiotwit-3.34.0/aiotwit/methods/set_chat_menu_button.py +39 -0
  267. aiotwit-3.34.0/aiotwit/methods/set_chat_permissions.py +47 -0
  268. aiotwit-3.34.0/aiotwit/methods/set_chat_photo.py +35 -0
  269. aiotwit-3.34.0/aiotwit/methods/set_chat_sticker_set.py +41 -0
  270. aiotwit-3.34.0/aiotwit/methods/set_chat_title.py +35 -0
  271. aiotwit-3.34.0/aiotwit/methods/set_custom_emoji_sticker_set_thumbnail.py +38 -0
  272. aiotwit-3.34.0/aiotwit/methods/set_game_score.py +63 -0
  273. aiotwit-3.34.0/aiotwit/methods/set_managed_bot_access_settings.py +44 -0
  274. aiotwit-3.34.0/aiotwit/methods/set_message_reaction.py +49 -0
  275. aiotwit-3.34.0/aiotwit/methods/set_my_commands.py +44 -0
  276. aiotwit-3.34.0/aiotwit/methods/set_my_default_administrator_rights.py +39 -0
  277. aiotwit-3.34.0/aiotwit/methods/set_my_description.py +40 -0
  278. aiotwit-3.34.0/aiotwit/methods/set_my_name.py +36 -0
  279. aiotwit-3.34.0/aiotwit/methods/set_my_profile_photo.py +33 -0
  280. aiotwit-3.34.0/aiotwit/methods/set_my_settings.py +92 -0
  281. aiotwit-3.34.0/aiotwit/methods/set_my_short_description.py +42 -0
  282. aiotwit-3.34.0/aiotwit/methods/set_passport_data_errors.py +40 -0
  283. aiotwit-3.34.0/aiotwit/methods/set_sticker_emoji_list.py +34 -0
  284. aiotwit-3.34.0/aiotwit/methods/set_sticker_keywords.py +38 -0
  285. aiotwit-3.34.0/aiotwit/methods/set_sticker_mask_position.py +39 -0
  286. aiotwit-3.34.0/aiotwit/methods/set_sticker_position_in_set.py +34 -0
  287. aiotwit-3.34.0/aiotwit/methods/set_sticker_set_thumbnail.py +47 -0
  288. aiotwit-3.34.0/aiotwit/methods/set_sticker_set_title.py +34 -0
  289. aiotwit-3.34.0/aiotwit/methods/set_user_emoji_status.py +47 -0
  290. aiotwit-3.34.0/aiotwit/methods/set_webhook.py +73 -0
  291. aiotwit-3.34.0/aiotwit/methods/stop_message_live_location.py +55 -0
  292. aiotwit-3.34.0/aiotwit/methods/stop_poll.py +51 -0
  293. aiotwit-3.34.0/aiotwit/methods/transfer_business_account_stars.py +42 -0
  294. aiotwit-3.34.0/aiotwit/methods/transfer_gift.py +50 -0
  295. aiotwit-3.34.0/aiotwit/methods/unban_chat_member.py +47 -0
  296. aiotwit-3.34.0/aiotwit/methods/unban_chat_sender_chat.py +39 -0
  297. aiotwit-3.34.0/aiotwit/methods/unhide_general_forum_topic.py +33 -0
  298. aiotwit-3.34.0/aiotwit/methods/unpin_all_chat_messages.py +33 -0
  299. aiotwit-3.34.0/aiotwit/methods/unpin_all_forum_topic_messages.py +41 -0
  300. aiotwit-3.34.0/aiotwit/methods/unpin_all_general_forum_topic_messages.py +32 -0
  301. aiotwit-3.34.0/aiotwit/methods/unpin_chat_message.py +47 -0
  302. aiotwit-3.34.0/aiotwit/methods/upgrade_gift.py +50 -0
  303. aiotwit-3.34.0/aiotwit/methods/upload_sticker_file.py +47 -0
  304. aiotwit-3.34.0/aiotwit/methods/verify_chat.py +52 -0
  305. aiotwit-3.34.0/aiotwit/methods/verify_user.py +52 -0
  306. aiotwit-3.34.0/aiotwit/py.typed +0 -0
  307. aiotwit-3.34.0/aiotwit/test/__init__.py +122 -0
  308. aiotwit-3.34.0/aiotwit/test/_autoload.py +16 -0
  309. aiotwit-3.34.0/aiotwit/test/actors.py +3045 -0
  310. aiotwit-3.34.0/aiotwit/test/blueprint.py +906 -0
  311. aiotwit-3.34.0/aiotwit/test/calls.py +78 -0
  312. aiotwit-3.34.0/aiotwit/test/defaults.py +40 -0
  313. aiotwit-3.34.0/aiotwit/test/environment.py +2463 -0
  314. aiotwit-3.34.0/aiotwit/test/errors.py +191 -0
  315. aiotwit-3.34.0/aiotwit/test/flood.py +118 -0
  316. aiotwit-3.34.0/aiotwit/test/markup.py +1277 -0
  317. aiotwit-3.34.0/aiotwit/test/modeling.py +4195 -0
  318. aiotwit-3.34.0/aiotwit/test/mounting.py +316 -0
  319. aiotwit-3.34.0/aiotwit/test/overrides.py +714 -0
  320. aiotwit-3.34.0/aiotwit/test/plugin.py +276 -0
  321. aiotwit-3.34.0/aiotwit/test/rejections.py +474 -0
  322. aiotwit-3.34.0/aiotwit/test/rich.py +143 -0
  323. aiotwit-3.34.0/aiotwit/test/routing.py +17 -0
  324. aiotwit-3.34.0/aiotwit/test/session.py +71 -0
  325. aiotwit-3.34.0/aiotwit/test/synthesis.py +319 -0
  326. aiotwit-3.34.0/aiotwit/test/waiting.py +77 -0
  327. aiotwit-3.34.0/aiotwit/test/world.py +2285 -0
  328. aiotwit-3.34.0/aiotwit/types/__init__.py +977 -0
  329. aiotwit-3.34.0/aiotwit/types/accepted_gift_types.py +51 -0
  330. aiotwit-3.34.0/aiotwit/types/affiliate_info.py +55 -0
  331. aiotwit-3.34.0/aiotwit/types/animation.py +70 -0
  332. aiotwit-3.34.0/aiotwit/types/area_position.py +53 -0
  333. aiotwit-3.34.0/aiotwit/types/audio.py +70 -0
  334. aiotwit-3.34.0/aiotwit/types/background_fill.py +13 -0
  335. aiotwit-3.34.0/aiotwit/types/background_fill_freeform_gradient.py +33 -0
  336. aiotwit-3.34.0/aiotwit/types/background_fill_gradient.py +45 -0
  337. aiotwit-3.34.0/aiotwit/types/background_fill_solid.py +33 -0
  338. aiotwit-3.34.0/aiotwit/types/background_fill_union.py +14 -0
  339. aiotwit-3.34.0/aiotwit/types/background_type.py +14 -0
  340. aiotwit-3.34.0/aiotwit/types/background_type_chat_theme.py +33 -0
  341. aiotwit-3.34.0/aiotwit/types/background_type_fill.py +43 -0
  342. aiotwit-3.34.0/aiotwit/types/background_type_pattern.py +59 -0
  343. aiotwit-3.34.0/aiotwit/types/background_type_union.py +15 -0
  344. aiotwit-3.34.0/aiotwit/types/background_type_wallpaper.py +54 -0
  345. aiotwit-3.34.0/aiotwit/types/base.py +68 -0
  346. aiotwit-3.34.0/aiotwit/types/birthdate.py +38 -0
  347. aiotwit-3.34.0/aiotwit/types/bot_access_settings.py +42 -0
  348. aiotwit-3.34.0/aiotwit/types/bot_command.py +43 -0
  349. aiotwit-3.34.0/aiotwit/types/bot_command_scope.py +19 -0
  350. aiotwit-3.34.0/aiotwit/types/bot_command_scope_all_chat_administrators.py +37 -0
  351. aiotwit-3.34.0/aiotwit/types/bot_command_scope_all_group_chats.py +35 -0
  352. aiotwit-3.34.0/aiotwit/types/bot_command_scope_all_private_chats.py +35 -0
  353. aiotwit-3.34.0/aiotwit/types/bot_command_scope_chat.py +39 -0
  354. aiotwit-3.34.0/aiotwit/types/bot_command_scope_chat_administrators.py +43 -0
  355. aiotwit-3.34.0/aiotwit/types/bot_command_scope_chat_member.py +42 -0
  356. aiotwit-3.34.0/aiotwit/types/bot_command_scope_default.py +33 -0
  357. aiotwit-3.34.0/aiotwit/types/bot_command_scope_union.py +26 -0
  358. aiotwit-3.34.0/aiotwit/types/bot_description.py +25 -0
  359. aiotwit-3.34.0/aiotwit/types/bot_full_info.py +117 -0
  360. aiotwit-3.34.0/aiotwit/types/bot_name.py +25 -0
  361. aiotwit-3.34.0/aiotwit/types/bot_short_description.py +27 -0
  362. aiotwit-3.34.0/aiotwit/types/bot_subscription_updated.py +43 -0
  363. aiotwit-3.34.0/aiotwit/types/business_bot_rights.py +96 -0
  364. aiotwit-3.34.0/aiotwit/types/business_connection.py +69 -0
  365. aiotwit-3.34.0/aiotwit/types/business_intro.py +41 -0
  366. aiotwit-3.34.0/aiotwit/types/business_location.py +38 -0
  367. aiotwit-3.34.0/aiotwit/types/business_messages_deleted.py +46 -0
  368. aiotwit-3.34.0/aiotwit/types/business_opening_hours.py +40 -0
  369. aiotwit-3.34.0/aiotwit/types/business_opening_hours_interval.py +37 -0
  370. aiotwit-3.34.0/aiotwit/types/callback_game.py +11 -0
  371. aiotwit-3.34.0/aiotwit/types/callback_query.py +108 -0
  372. aiotwit-3.34.0/aiotwit/types/chat.py +1363 -0
  373. aiotwit-3.34.0/aiotwit/types/chat_administrator_rights.py +103 -0
  374. aiotwit-3.34.0/aiotwit/types/chat_background.py +32 -0
  375. aiotwit-3.34.0/aiotwit/types/chat_boost.py +51 -0
  376. aiotwit-3.34.0/aiotwit/types/chat_boost_added.py +25 -0
  377. aiotwit-3.34.0/aiotwit/types/chat_boost_removed.py +52 -0
  378. aiotwit-3.34.0/aiotwit/types/chat_boost_source.py +13 -0
  379. aiotwit-3.34.0/aiotwit/types/chat_boost_source_gift_code.py +39 -0
  380. aiotwit-3.34.0/aiotwit/types/chat_boost_source_giveaway.py +55 -0
  381. aiotwit-3.34.0/aiotwit/types/chat_boost_source_premium.py +39 -0
  382. aiotwit-3.34.0/aiotwit/types/chat_boost_source_union.py +14 -0
  383. aiotwit-3.34.0/aiotwit/types/chat_boost_updated.py +35 -0
  384. aiotwit-3.34.0/aiotwit/types/chat_full_info.py +280 -0
  385. aiotwit-3.34.0/aiotwit/types/chat_id_union.py +5 -0
  386. aiotwit-3.34.0/aiotwit/types/chat_invite_link.py +79 -0
  387. aiotwit-3.34.0/aiotwit/types/chat_join_request.py +3273 -0
  388. aiotwit-3.34.0/aiotwit/types/chat_location.py +34 -0
  389. aiotwit-3.34.0/aiotwit/types/chat_member.py +18 -0
  390. aiotwit-3.34.0/aiotwit/types/chat_member_administrator.py +123 -0
  391. aiotwit-3.34.0/aiotwit/types/chat_member_banned.py +43 -0
  392. aiotwit-3.34.0/aiotwit/types/chat_member_left.py +39 -0
  393. aiotwit-3.34.0/aiotwit/types/chat_member_member.py +48 -0
  394. aiotwit-3.34.0/aiotwit/types/chat_member_owner.py +51 -0
  395. aiotwit-3.34.0/aiotwit/types/chat_member_restricted.py +120 -0
  396. aiotwit-3.34.0/aiotwit/types/chat_member_union.py +22 -0
  397. aiotwit-3.34.0/aiotwit/types/chat_member_updated.py +1629 -0
  398. aiotwit-3.34.0/aiotwit/types/chat_owner_changed.py +30 -0
  399. aiotwit-3.34.0/aiotwit/types/chat_owner_left.py +32 -0
  400. aiotwit-3.34.0/aiotwit/types/chat_permissions.py +95 -0
  401. aiotwit-3.34.0/aiotwit/types/chat_photo.py +47 -0
  402. aiotwit-3.34.0/aiotwit/types/chat_share_theme.py +12 -0
  403. aiotwit-3.34.0/aiotwit/types/chat_share_theme_backdrop.py +41 -0
  404. aiotwit-3.34.0/aiotwit/types/chat_share_theme_backdrops.py +35 -0
  405. aiotwit-3.34.0/aiotwit/types/chat_share_theme_emoji.py +46 -0
  406. aiotwit-3.34.0/aiotwit/types/chat_share_theme_union.py +10 -0
  407. aiotwit-3.34.0/aiotwit/types/chat_share_theme_unique_gift.py +38 -0
  408. aiotwit-3.34.0/aiotwit/types/chat_shared.py +54 -0
  409. aiotwit-3.34.0/aiotwit/types/checklist.py +55 -0
  410. aiotwit-3.34.0/aiotwit/types/checklist_task.py +60 -0
  411. aiotwit-3.34.0/aiotwit/types/checklist_tasks_added.py +39 -0
  412. aiotwit-3.34.0/aiotwit/types/checklist_tasks_done.py +46 -0
  413. aiotwit-3.34.0/aiotwit/types/chosen_inline_result.py +58 -0
  414. aiotwit-3.34.0/aiotwit/types/community.py +27 -0
  415. aiotwit-3.34.0/aiotwit/types/community_chat_added.py +32 -0
  416. aiotwit-3.34.0/aiotwit/types/community_chat_joined.py +32 -0
  417. aiotwit-3.34.0/aiotwit/types/community_chat_removed.py +9 -0
  418. aiotwit-3.34.0/aiotwit/types/contact.py +57 -0
  419. aiotwit-3.34.0/aiotwit/types/copy_text_button.py +27 -0
  420. aiotwit-3.34.0/aiotwit/types/custom.py +30 -0
  421. aiotwit-3.34.0/aiotwit/types/date_time_union.py +6 -0
  422. aiotwit-3.34.0/aiotwit/types/dice.py +40 -0
  423. aiotwit-3.34.0/aiotwit/types/direct_message_price_changed.py +39 -0
  424. aiotwit-3.34.0/aiotwit/types/direct_messages_topic.py +38 -0
  425. aiotwit-3.34.0/aiotwit/types/disabled_button.py +9 -0
  426. aiotwit-3.34.0/aiotwit/types/document.py +58 -0
  427. aiotwit-3.34.0/aiotwit/types/downloadable.py +6 -0
  428. aiotwit-3.34.0/aiotwit/types/dyn_nft.py +63 -0
  429. aiotwit-3.34.0/aiotwit/types/dyn_nft_attribute.py +29 -0
  430. aiotwit-3.34.0/aiotwit/types/dyn_wallet_card.py +50 -0
  431. aiotwit-3.34.0/aiotwit/types/dyn_wallet_card_sticker.py +35 -0
  432. aiotwit-3.34.0/aiotwit/types/dyn_wallet_transfer.py +45 -0
  433. aiotwit-3.34.0/aiotwit/types/emoji_type.py +12 -0
  434. aiotwit-3.34.0/aiotwit/types/emoji_type_custom_emoji.py +33 -0
  435. aiotwit-3.34.0/aiotwit/types/emoji_type_emoji.py +33 -0
  436. aiotwit-3.34.0/aiotwit/types/emoji_type_union.py +10 -0
  437. aiotwit-3.34.0/aiotwit/types/encrypted_credentials.py +33 -0
  438. aiotwit-3.34.0/aiotwit/types/encrypted_passport_element.py +74 -0
  439. aiotwit-3.34.0/aiotwit/types/ephemeral_message_parameters.py +41 -0
  440. aiotwit-3.34.0/aiotwit/types/error_event.py +28 -0
  441. aiotwit-3.34.0/aiotwit/types/external_reply_info.py +166 -0
  442. aiotwit-3.34.0/aiotwit/types/file.py +49 -0
  443. aiotwit-3.34.0/aiotwit/types/force_reply.py +50 -0
  444. aiotwit-3.34.0/aiotwit/types/forum_topic.py +51 -0
  445. aiotwit-3.34.0/aiotwit/types/forum_topic_closed.py +11 -0
  446. aiotwit-3.34.0/aiotwit/types/forum_topic_created.py +47 -0
  447. aiotwit-3.34.0/aiotwit/types/forum_topic_edited.py +35 -0
  448. aiotwit-3.34.0/aiotwit/types/forum_topic_reopened.py +11 -0
  449. aiotwit-3.34.0/aiotwit/types/game.py +60 -0
  450. aiotwit-3.34.0/aiotwit/types/game_high_score.py +39 -0
  451. aiotwit-3.34.0/aiotwit/types/general_forum_topic_hidden.py +9 -0
  452. aiotwit-3.34.0/aiotwit/types/general_forum_topic_unhidden.py +9 -0
  453. aiotwit-3.34.0/aiotwit/types/gift.py +88 -0
  454. aiotwit-3.34.0/aiotwit/types/gift_background.py +43 -0
  455. aiotwit-3.34.0/aiotwit/types/gift_info.py +75 -0
  456. aiotwit-3.34.0/aiotwit/types/gifts.py +30 -0
  457. aiotwit-3.34.0/aiotwit/types/giveaway.py +71 -0
  458. aiotwit-3.34.0/aiotwit/types/giveaway_completed.py +50 -0
  459. aiotwit-3.34.0/aiotwit/types/giveaway_created.py +29 -0
  460. aiotwit-3.34.0/aiotwit/types/giveaway_winners.py +84 -0
  461. aiotwit-3.34.0/aiotwit/types/inaccessible_message.py +3501 -0
  462. aiotwit-3.34.0/aiotwit/types/inline_keyboard_button.py +95 -0
  463. aiotwit-3.34.0/aiotwit/types/inline_keyboard_markup.py +40 -0
  464. aiotwit-3.34.0/aiotwit/types/inline_query.py +113 -0
  465. aiotwit-3.34.0/aiotwit/types/inline_query_result.py +34 -0
  466. aiotwit-3.34.0/aiotwit/types/inline_query_result_article.py +85 -0
  467. aiotwit-3.34.0/aiotwit/types/inline_query_result_audio.py +82 -0
  468. aiotwit-3.34.0/aiotwit/types/inline_query_result_cached_audio.py +70 -0
  469. aiotwit-3.34.0/aiotwit/types/inline_query_result_cached_document.py +78 -0
  470. aiotwit-3.34.0/aiotwit/types/inline_query_result_cached_gif.py +78 -0
  471. aiotwit-3.34.0/aiotwit/types/inline_query_result_cached_mpeg4_gif.py +78 -0
  472. aiotwit-3.34.0/aiotwit/types/inline_query_result_cached_photo.py +82 -0
  473. aiotwit-3.34.0/aiotwit/types/inline_query_result_cached_sticker.py +56 -0
  474. aiotwit-3.34.0/aiotwit/types/inline_query_result_cached_video.py +82 -0
  475. aiotwit-3.34.0/aiotwit/types/inline_query_result_cached_voice.py +74 -0
  476. aiotwit-3.34.0/aiotwit/types/inline_query_result_contact.py +80 -0
  477. aiotwit-3.34.0/aiotwit/types/inline_query_result_document.py +94 -0
  478. aiotwit-3.34.0/aiotwit/types/inline_query_result_game.py +51 -0
  479. aiotwit-3.34.0/aiotwit/types/inline_query_result_gif.py +98 -0
  480. aiotwit-3.34.0/aiotwit/types/inline_query_result_location.py +92 -0
  481. aiotwit-3.34.0/aiotwit/types/inline_query_result_mpeg4_gif.py +98 -0
  482. aiotwit-3.34.0/aiotwit/types/inline_query_result_photo.py +94 -0
  483. aiotwit-3.34.0/aiotwit/types/inline_query_result_union.py +47 -0
  484. aiotwit-3.34.0/aiotwit/types/inline_query_result_venue.py +96 -0
  485. aiotwit-3.34.0/aiotwit/types/inline_query_result_video.py +104 -0
  486. aiotwit-3.34.0/aiotwit/types/inline_query_result_voice.py +78 -0
  487. aiotwit-3.34.0/aiotwit/types/inline_query_results_button.py +43 -0
  488. aiotwit-3.34.0/aiotwit/types/input_checklist.py +60 -0
  489. aiotwit-3.34.0/aiotwit/types/input_checklist_task.py +51 -0
  490. aiotwit-3.34.0/aiotwit/types/input_contact_message_content.py +47 -0
  491. aiotwit-3.34.0/aiotwit/types/input_file.py +150 -0
  492. aiotwit-3.34.0/aiotwit/types/input_file_union.py +7 -0
  493. aiotwit-3.34.0/aiotwit/types/input_invoice_message_content.py +114 -0
  494. aiotwit-3.34.0/aiotwit/types/input_location_message_content.py +55 -0
  495. aiotwit-3.34.0/aiotwit/types/input_media.py +18 -0
  496. aiotwit-3.34.0/aiotwit/types/input_media_animation.py +84 -0
  497. aiotwit-3.34.0/aiotwit/types/input_media_audio.py +75 -0
  498. aiotwit-3.34.0/aiotwit/types/input_media_document.py +67 -0
  499. aiotwit-3.34.0/aiotwit/types/input_media_link.py +33 -0
  500. aiotwit-3.34.0/aiotwit/types/input_media_live_photo.py +71 -0
  501. aiotwit-3.34.0/aiotwit/types/input_media_location.py +47 -0
  502. aiotwit-3.34.0/aiotwit/types/input_media_photo.py +67 -0
  503. aiotwit-3.34.0/aiotwit/types/input_media_sticker.py +43 -0
  504. aiotwit-3.34.0/aiotwit/types/input_media_union.py +22 -0
  505. aiotwit-3.34.0/aiotwit/types/input_media_venue.py +67 -0
  506. aiotwit-3.34.0/aiotwit/types/input_media_video.py +97 -0
  507. aiotwit-3.34.0/aiotwit/types/input_media_voice_note.py +60 -0
  508. aiotwit-3.34.0/aiotwit/types/input_message_content.py +20 -0
  509. aiotwit-3.34.0/aiotwit/types/input_message_content_union.py +23 -0
  510. aiotwit-3.34.0/aiotwit/types/input_paid_media.py +13 -0
  511. aiotwit-3.34.0/aiotwit/types/input_paid_media_live_photo.py +42 -0
  512. aiotwit-3.34.0/aiotwit/types/input_paid_media_photo.py +37 -0
  513. aiotwit-3.34.0/aiotwit/types/input_paid_media_union.py +14 -0
  514. aiotwit-3.34.0/aiotwit/types/input_paid_media_video.py +71 -0
  515. aiotwit-3.34.0/aiotwit/types/input_poll_media.py +18 -0
  516. aiotwit-3.34.0/aiotwit/types/input_poll_media_union.py +24 -0
  517. aiotwit-3.34.0/aiotwit/types/input_poll_option.py +53 -0
  518. aiotwit-3.34.0/aiotwit/types/input_poll_option_media.py +18 -0
  519. aiotwit-3.34.0/aiotwit/types/input_poll_option_media_union.py +24 -0
  520. aiotwit-3.34.0/aiotwit/types/input_poll_option_union.py +7 -0
  521. aiotwit-3.34.0/aiotwit/types/input_profile_photo.py +14 -0
  522. aiotwit-3.34.0/aiotwit/types/input_profile_photo_animated.py +46 -0
  523. aiotwit-3.34.0/aiotwit/types/input_profile_photo_static.py +38 -0
  524. aiotwit-3.34.0/aiotwit/types/input_profile_photo_union.py +10 -0
  525. aiotwit-3.34.0/aiotwit/types/input_rich_block.py +34 -0
  526. aiotwit-3.34.0/aiotwit/types/input_rich_block_anchor.py +37 -0
  527. aiotwit-3.34.0/aiotwit/types/input_rich_block_animation.py +44 -0
  528. aiotwit-3.34.0/aiotwit/types/input_rich_block_audio.py +44 -0
  529. aiotwit-3.34.0/aiotwit/types/input_rich_block_block_quotation.py +44 -0
  530. aiotwit-3.34.0/aiotwit/types/input_rich_block_buttons.py +42 -0
  531. aiotwit-3.34.0/aiotwit/types/input_rich_block_collage.py +44 -0
  532. aiotwit-3.34.0/aiotwit/types/input_rich_block_details.py +49 -0
  533. aiotwit-3.34.0/aiotwit/types/input_rich_block_divider.py +34 -0
  534. aiotwit-3.34.0/aiotwit/types/input_rich_block_document.py +43 -0
  535. aiotwit-3.34.0/aiotwit/types/input_rich_block_expandable_block_quotation.py +57 -0
  536. aiotwit-3.34.0/aiotwit/types/input_rich_block_footer.py +40 -0
  537. aiotwit-3.34.0/aiotwit/types/input_rich_block_list.py +40 -0
  538. aiotwit-3.34.0/aiotwit/types/input_rich_block_list_item.py +55 -0
  539. aiotwit-3.34.0/aiotwit/types/input_rich_block_map.py +61 -0
  540. aiotwit-3.34.0/aiotwit/types/input_rich_block_mathematical_expression.py +41 -0
  541. aiotwit-3.34.0/aiotwit/types/input_rich_block_paragraph.py +40 -0
  542. aiotwit-3.34.0/aiotwit/types/input_rich_block_photo.py +44 -0
  543. aiotwit-3.34.0/aiotwit/types/input_rich_block_preformatted.py +43 -0
  544. aiotwit-3.34.0/aiotwit/types/input_rich_block_pull_quotation.py +43 -0
  545. aiotwit-3.34.0/aiotwit/types/input_rich_block_section_heading.py +43 -0
  546. aiotwit-3.34.0/aiotwit/types/input_rich_block_slideshow.py +44 -0
  547. aiotwit-3.34.0/aiotwit/types/input_rich_block_table.py +61 -0
  548. aiotwit-3.34.0/aiotwit/types/input_rich_block_thinking.py +40 -0
  549. aiotwit-3.34.0/aiotwit/types/input_rich_block_union.py +56 -0
  550. aiotwit-3.34.0/aiotwit/types/input_rich_block_video.py +44 -0
  551. aiotwit-3.34.0/aiotwit/types/input_rich_block_voice_note.py +46 -0
  552. aiotwit-3.34.0/aiotwit/types/input_rich_message.py +60 -0
  553. aiotwit-3.34.0/aiotwit/types/input_rich_message_content.py +32 -0
  554. aiotwit-3.34.0/aiotwit/types/input_rich_message_media.py +38 -0
  555. aiotwit-3.34.0/aiotwit/types/input_rich_message_media_union.py +17 -0
  556. aiotwit-3.34.0/aiotwit/types/input_shared_widget_message_content.py +59 -0
  557. aiotwit-3.34.0/aiotwit/types/input_sticker.py +55 -0
  558. aiotwit-3.34.0/aiotwit/types/input_story_content.py +14 -0
  559. aiotwit-3.34.0/aiotwit/types/input_story_content_photo.py +40 -0
  560. aiotwit-3.34.0/aiotwit/types/input_story_content_union.py +10 -0
  561. aiotwit-3.34.0/aiotwit/types/input_story_content_video.py +56 -0
  562. aiotwit-3.34.0/aiotwit/types/input_text_message_content.py +61 -0
  563. aiotwit-3.34.0/aiotwit/types/input_venue_message_content.py +63 -0
  564. aiotwit-3.34.0/aiotwit/types/input_widget_message_content.py +79 -0
  565. aiotwit-3.34.0/aiotwit/types/invoice.py +51 -0
  566. aiotwit-3.34.0/aiotwit/types/keyboard_button.py +90 -0
  567. aiotwit-3.34.0/aiotwit/types/keyboard_button_poll_type.py +29 -0
  568. aiotwit-3.34.0/aiotwit/types/keyboard_button_request_chat.py +78 -0
  569. aiotwit-3.34.0/aiotwit/types/keyboard_button_request_managed_bot.py +41 -0
  570. aiotwit-3.34.0/aiotwit/types/keyboard_button_request_user.py +44 -0
  571. aiotwit-3.34.0/aiotwit/types/keyboard_button_request_users.py +57 -0
  572. aiotwit-3.34.0/aiotwit/types/labeled_price.py +31 -0
  573. aiotwit-3.34.0/aiotwit/types/link.py +25 -0
  574. aiotwit-3.34.0/aiotwit/types/link_preview_options.py +50 -0
  575. aiotwit-3.34.0/aiotwit/types/live_photo.py +66 -0
  576. aiotwit-3.34.0/aiotwit/types/location.py +55 -0
  577. aiotwit-3.34.0/aiotwit/types/location_address.py +47 -0
  578. aiotwit-3.34.0/aiotwit/types/login_url.py +49 -0
  579. aiotwit-3.34.0/aiotwit/types/managed_bot_created.py +32 -0
  580. aiotwit-3.34.0/aiotwit/types/managed_bot_updated.py +36 -0
  581. aiotwit-3.34.0/aiotwit/types/mask_position.py +43 -0
  582. aiotwit-3.34.0/aiotwit/types/maybe_inaccessible_message.py +12 -0
  583. aiotwit-3.34.0/aiotwit/types/maybe_inaccessible_message_union.py +28 -0
  584. aiotwit-3.34.0/aiotwit/types/media_union.py +11 -0
  585. aiotwit-3.34.0/aiotwit/types/menu_button.py +47 -0
  586. aiotwit-3.34.0/aiotwit/types/menu_button_commands.py +33 -0
  587. aiotwit-3.34.0/aiotwit/types/menu_button_default.py +33 -0
  588. aiotwit-3.34.0/aiotwit/types/menu_button_union.py +13 -0
  589. aiotwit-3.34.0/aiotwit/types/menu_button_web_app.py +42 -0
  590. aiotwit-3.34.0/aiotwit/types/message.py +5536 -0
  591. aiotwit-3.34.0/aiotwit/types/message_auto_delete_timer_changed.py +31 -0
  592. aiotwit-3.34.0/aiotwit/types/message_entity.py +76 -0
  593. aiotwit-3.34.0/aiotwit/types/message_generation_stopped.py +46 -0
  594. aiotwit-3.34.0/aiotwit/types/message_id.py +27 -0
  595. aiotwit-3.34.0/aiotwit/types/message_origin.py +14 -0
  596. aiotwit-3.34.0/aiotwit/types/message_origin_channel.py +56 -0
  597. aiotwit-3.34.0/aiotwit/types/message_origin_chat.py +52 -0
  598. aiotwit-3.34.0/aiotwit/types/message_origin_hidden_user.py +40 -0
  599. aiotwit-3.34.0/aiotwit/types/message_origin_union.py +15 -0
  600. aiotwit-3.34.0/aiotwit/types/message_origin_user.py +43 -0
  601. aiotwit-3.34.0/aiotwit/types/message_reaction_count_updated.py +52 -0
  602. aiotwit-3.34.0/aiotwit/types/message_reaction_updated.py +65 -0
  603. aiotwit-3.34.0/aiotwit/types/order_info.py +50 -0
  604. aiotwit-3.34.0/aiotwit/types/owned_gift.py +14 -0
  605. aiotwit-3.34.0/aiotwit/types/owned_gift_regular.py +98 -0
  606. aiotwit-3.34.0/aiotwit/types/owned_gift_union.py +10 -0
  607. aiotwit-3.34.0/aiotwit/types/owned_gift_unique.py +74 -0
  608. aiotwit-3.34.0/aiotwit/types/owned_gifts.py +43 -0
  609. aiotwit-3.34.0/aiotwit/types/paid_media.py +14 -0
  610. aiotwit-3.34.0/aiotwit/types/paid_media_info.py +38 -0
  611. aiotwit-3.34.0/aiotwit/types/paid_media_live_photo.py +39 -0
  612. aiotwit-3.34.0/aiotwit/types/paid_media_photo.py +39 -0
  613. aiotwit-3.34.0/aiotwit/types/paid_media_preview.py +44 -0
  614. aiotwit-3.34.0/aiotwit/types/paid_media_purchased.py +42 -0
  615. aiotwit-3.34.0/aiotwit/types/paid_media_union.py +15 -0
  616. aiotwit-3.34.0/aiotwit/types/paid_media_video.py +39 -0
  617. aiotwit-3.34.0/aiotwit/types/paid_message_price_changed.py +29 -0
  618. aiotwit-3.34.0/aiotwit/types/paid_messages_waived.py +9 -0
  619. aiotwit-3.34.0/aiotwit/types/passport_data.py +39 -0
  620. aiotwit-3.34.0/aiotwit/types/passport_element_error.py +21 -0
  621. aiotwit-3.34.0/aiotwit/types/passport_element_error_data_field.py +52 -0
  622. aiotwit-3.34.0/aiotwit/types/passport_element_error_file.py +44 -0
  623. aiotwit-3.34.0/aiotwit/types/passport_element_error_files.py +48 -0
  624. aiotwit-3.34.0/aiotwit/types/passport_element_error_front_side.py +46 -0
  625. aiotwit-3.34.0/aiotwit/types/passport_element_error_reverse_side.py +46 -0
  626. aiotwit-3.34.0/aiotwit/types/passport_element_error_selfie.py +44 -0
  627. aiotwit-3.34.0/aiotwit/types/passport_element_error_translation_file.py +48 -0
  628. aiotwit-3.34.0/aiotwit/types/passport_element_error_translation_files.py +52 -0
  629. aiotwit-3.34.0/aiotwit/types/passport_element_error_union.py +30 -0
  630. aiotwit-3.34.0/aiotwit/types/passport_element_error_unspecified.py +50 -0
  631. aiotwit-3.34.0/aiotwit/types/passport_file.py +48 -0
  632. aiotwit-3.34.0/aiotwit/types/photo_size.py +51 -0
  633. aiotwit-3.34.0/aiotwit/types/poll.py +130 -0
  634. aiotwit-3.34.0/aiotwit/types/poll_answer.py +55 -0
  635. aiotwit-3.34.0/aiotwit/types/poll_media.py +83 -0
  636. aiotwit-3.34.0/aiotwit/types/poll_option.py +70 -0
  637. aiotwit-3.34.0/aiotwit/types/poll_option_added.py +51 -0
  638. aiotwit-3.34.0/aiotwit/types/poll_option_deleted.py +51 -0
  639. aiotwit-3.34.0/aiotwit/types/pre_checkout_query.py +98 -0
  640. aiotwit-3.34.0/aiotwit/types/prepared_inline_message.py +38 -0
  641. aiotwit-3.34.0/aiotwit/types/prepared_keyboard_button.py +25 -0
  642. aiotwit-3.34.0/aiotwit/types/proximity_alert_triggered.py +43 -0
  643. aiotwit-3.34.0/aiotwit/types/reaction_count.py +38 -0
  644. aiotwit-3.34.0/aiotwit/types/reaction_type.py +13 -0
  645. aiotwit-3.34.0/aiotwit/types/reaction_type_custom_emoji.py +34 -0
  646. aiotwit-3.34.0/aiotwit/types/reaction_type_emoji.py +34 -0
  647. aiotwit-3.34.0/aiotwit/types/reaction_type_paid.py +31 -0
  648. aiotwit-3.34.0/aiotwit/types/reaction_type_union.py +13 -0
  649. aiotwit-3.34.0/aiotwit/types/refunded_payment.py +49 -0
  650. aiotwit-3.34.0/aiotwit/types/reply_keyboard_markup.py +62 -0
  651. aiotwit-3.34.0/aiotwit/types/reply_keyboard_remove.py +37 -0
  652. aiotwit-3.34.0/aiotwit/types/reply_markup_union.py +12 -0
  653. aiotwit-3.34.0/aiotwit/types/reply_parameters.py +83 -0
  654. aiotwit-3.34.0/aiotwit/types/response_parameters.py +37 -0
  655. aiotwit-3.34.0/aiotwit/types/result_chat_member_union.py +17 -0
  656. aiotwit-3.34.0/aiotwit/types/result_menu_button_union.py +7 -0
  657. aiotwit-3.34.0/aiotwit/types/revenue_withdrawal_state.py +15 -0
  658. aiotwit-3.34.0/aiotwit/types/revenue_withdrawal_state_failed.py +33 -0
  659. aiotwit-3.34.0/aiotwit/types/revenue_withdrawal_state_pending.py +33 -0
  660. aiotwit-3.34.0/aiotwit/types/revenue_withdrawal_state_succeeded.py +42 -0
  661. aiotwit-3.34.0/aiotwit/types/revenue_withdrawal_state_union.py +14 -0
  662. aiotwit-3.34.0/aiotwit/types/rich_block.py +34 -0
  663. aiotwit-3.34.0/aiotwit/types/rich_block_anchor.py +35 -0
  664. aiotwit-3.34.0/aiotwit/types/rich_block_animation.py +53 -0
  665. aiotwit-3.34.0/aiotwit/types/rich_block_audio.py +44 -0
  666. aiotwit-3.34.0/aiotwit/types/rich_block_block_quotation.py +45 -0
  667. aiotwit-3.34.0/aiotwit/types/rich_block_buttons.py +42 -0
  668. aiotwit-3.34.0/aiotwit/types/rich_block_caption.py +39 -0
  669. aiotwit-3.34.0/aiotwit/types/rich_block_collage.py +44 -0
  670. aiotwit-3.34.0/aiotwit/types/rich_block_details.py +50 -0
  671. aiotwit-3.34.0/aiotwit/types/rich_block_divider.py +32 -0
  672. aiotwit-3.34.0/aiotwit/types/rich_block_document.py +43 -0
  673. aiotwit-3.34.0/aiotwit/types/rich_block_expandable_block_quotation.py +55 -0
  674. aiotwit-3.34.0/aiotwit/types/rich_block_footer.py +41 -0
  675. aiotwit-3.34.0/aiotwit/types/rich_block_list.py +40 -0
  676. aiotwit-3.34.0/aiotwit/types/rich_block_list_item.py +59 -0
  677. aiotwit-3.34.0/aiotwit/types/rich_block_map.py +61 -0
  678. aiotwit-3.34.0/aiotwit/types/rich_block_mathematical_expression.py +37 -0
  679. aiotwit-3.34.0/aiotwit/types/rich_block_paragraph.py +41 -0
  680. aiotwit-3.34.0/aiotwit/types/rich_block_photo.py +53 -0
  681. aiotwit-3.34.0/aiotwit/types/rich_block_preformatted.py +44 -0
  682. aiotwit-3.34.0/aiotwit/types/rich_block_pull_quotation.py +44 -0
  683. aiotwit-3.34.0/aiotwit/types/rich_block_section_heading.py +44 -0
  684. aiotwit-3.34.0/aiotwit/types/rich_block_slideshow.py +44 -0
  685. aiotwit-3.34.0/aiotwit/types/rich_block_table.py +62 -0
  686. aiotwit-3.34.0/aiotwit/types/rich_block_table_cell.py +59 -0
  687. aiotwit-3.34.0/aiotwit/types/rich_block_thinking.py +41 -0
  688. aiotwit-3.34.0/aiotwit/types/rich_block_union.py +56 -0
  689. aiotwit-3.34.0/aiotwit/types/rich_block_video.py +53 -0
  690. aiotwit-3.34.0/aiotwit/types/rich_block_voice_note.py +46 -0
  691. aiotwit-3.34.0/aiotwit/types/rich_message.py +39 -0
  692. aiotwit-3.34.0/aiotwit/types/rich_message_button.py +83 -0
  693. aiotwit-3.34.0/aiotwit/types/rich_text.py +37 -0
  694. aiotwit-3.34.0/aiotwit/types/rich_text_anchor.py +35 -0
  695. aiotwit-3.34.0/aiotwit/types/rich_text_anchor_link.py +43 -0
  696. aiotwit-3.34.0/aiotwit/types/rich_text_bank_card_number.py +45 -0
  697. aiotwit-3.34.0/aiotwit/types/rich_text_bold.py +40 -0
  698. aiotwit-3.34.0/aiotwit/types/rich_text_bot_command.py +43 -0
  699. aiotwit-3.34.0/aiotwit/types/rich_text_button.py +39 -0
  700. aiotwit-3.34.0/aiotwit/types/rich_text_cashtag.py +43 -0
  701. aiotwit-3.34.0/aiotwit/types/rich_text_code.py +40 -0
  702. aiotwit-3.34.0/aiotwit/types/rich_text_custom_emoji.py +43 -0
  703. aiotwit-3.34.0/aiotwit/types/rich_text_date_time.py +52 -0
  704. aiotwit-3.34.0/aiotwit/types/rich_text_dyn_address.py +42 -0
  705. aiotwit-3.34.0/aiotwit/types/rich_text_email_address.py +45 -0
  706. aiotwit-3.34.0/aiotwit/types/rich_text_hashtag.py +43 -0
  707. aiotwit-3.34.0/aiotwit/types/rich_text_italic.py +40 -0
  708. aiotwit-3.34.0/aiotwit/types/rich_text_marked.py +40 -0
  709. aiotwit-3.34.0/aiotwit/types/rich_text_mathematical_expression.py +37 -0
  710. aiotwit-3.34.0/aiotwit/types/rich_text_mention.py +43 -0
  711. aiotwit-3.34.0/aiotwit/types/rich_text_phone_number.py +43 -0
  712. aiotwit-3.34.0/aiotwit/types/rich_text_reference.py +43 -0
  713. aiotwit-3.34.0/aiotwit/types/rich_text_reference_link.py +45 -0
  714. aiotwit-3.34.0/aiotwit/types/rich_text_spoiler.py +40 -0
  715. aiotwit-3.34.0/aiotwit/types/rich_text_strikethrough.py +40 -0
  716. aiotwit-3.34.0/aiotwit/types/rich_text_subscript.py +40 -0
  717. aiotwit-3.34.0/aiotwit/types/rich_text_superscript.py +40 -0
  718. aiotwit-3.34.0/aiotwit/types/rich_text_text_mention.py +44 -0
  719. aiotwit-3.34.0/aiotwit/types/rich_text_underline.py +40 -0
  720. aiotwit-3.34.0/aiotwit/types/rich_text_union.py +114 -0
  721. aiotwit-3.34.0/aiotwit/types/rich_text_url.py +43 -0
  722. aiotwit-3.34.0/aiotwit/types/sent_guest_message.py +27 -0
  723. aiotwit-3.34.0/aiotwit/types/sent_web_app_message.py +29 -0
  724. aiotwit-3.34.0/aiotwit/types/shared_user.py +54 -0
  725. aiotwit-3.34.0/aiotwit/types/shared_widget_query.py +87 -0
  726. aiotwit-3.34.0/aiotwit/types/shipping_address.py +55 -0
  727. aiotwit-3.34.0/aiotwit/types/shipping_option.py +41 -0
  728. aiotwit-3.34.0/aiotwit/types/shipping_query.py +90 -0
  729. aiotwit-3.34.0/aiotwit/types/star_amount.py +35 -0
  730. aiotwit-3.34.0/aiotwit/types/star_transaction.py +59 -0
  731. aiotwit-3.34.0/aiotwit/types/star_transactions.py +32 -0
  732. aiotwit-3.34.0/aiotwit/types/sticker.py +152 -0
  733. aiotwit-3.34.0/aiotwit/types/sticker_set.py +71 -0
  734. aiotwit-3.34.0/aiotwit/types/story.py +32 -0
  735. aiotwit-3.34.0/aiotwit/types/story_area.py +39 -0
  736. aiotwit-3.34.0/aiotwit/types/story_area_position.py +58 -0
  737. aiotwit-3.34.0/aiotwit/types/story_area_type.py +17 -0
  738. aiotwit-3.34.0/aiotwit/types/story_area_type_link.py +37 -0
  739. aiotwit-3.34.0/aiotwit/types/story_area_type_location.py +52 -0
  740. aiotwit-3.34.0/aiotwit/types/story_area_type_suggested_reaction.py +54 -0
  741. aiotwit-3.34.0/aiotwit/types/story_area_type_union.py +18 -0
  742. aiotwit-3.34.0/aiotwit/types/story_area_type_unique_gift.py +37 -0
  743. aiotwit-3.34.0/aiotwit/types/story_area_type_weather.py +49 -0
  744. aiotwit-3.34.0/aiotwit/types/successful_payment.py +74 -0
  745. aiotwit-3.34.0/aiotwit/types/suggested_post_approval_failed.py +41 -0
  746. aiotwit-3.34.0/aiotwit/types/suggested_post_approved.py +48 -0
  747. aiotwit-3.34.0/aiotwit/types/suggested_post_declined.py +40 -0
  748. aiotwit-3.34.0/aiotwit/types/suggested_post_info.py +42 -0
  749. aiotwit-3.34.0/aiotwit/types/suggested_post_paid.py +51 -0
  750. aiotwit-3.34.0/aiotwit/types/suggested_post_parameters.py +39 -0
  751. aiotwit-3.34.0/aiotwit/types/suggested_post_price.py +31 -0
  752. aiotwit-3.34.0/aiotwit/types/suggested_post_refunded.py +40 -0
  753. aiotwit-3.34.0/aiotwit/types/switch_inline_query_chosen_chat.py +49 -0
  754. aiotwit-3.34.0/aiotwit/types/text_quote.py +55 -0
  755. aiotwit-3.34.0/aiotwit/types/transaction_partner.py +17 -0
  756. aiotwit-3.34.0/aiotwit/types/transaction_partner_affiliate_program.py +51 -0
  757. aiotwit-3.34.0/aiotwit/types/transaction_partner_chat.py +43 -0
  758. aiotwit-3.34.0/aiotwit/types/transaction_partner_fragtal.py +39 -0
  759. aiotwit-3.34.0/aiotwit/types/transaction_partner_other.py +33 -0
  760. aiotwit-3.34.0/aiotwit/types/transaction_partner_twittor_ads.py +35 -0
  761. aiotwit-3.34.0/aiotwit/types/transaction_partner_twittor_api.py +38 -0
  762. aiotwit-3.34.0/aiotwit/types/transaction_partner_union.py +24 -0
  763. aiotwit-3.34.0/aiotwit/types/transaction_partner_user.py +78 -0
  764. aiotwit-3.34.0/aiotwit/types/unique_gift.py +86 -0
  765. aiotwit-3.34.0/aiotwit/types/unique_gift_backdrop.py +43 -0
  766. aiotwit-3.34.0/aiotwit/types/unique_gift_backdrop_colors.py +47 -0
  767. aiotwit-3.34.0/aiotwit/types/unique_gift_colors.py +55 -0
  768. aiotwit-3.34.0/aiotwit/types/unique_gift_info.py +85 -0
  769. aiotwit-3.34.0/aiotwit/types/unique_gift_model.py +50 -0
  770. aiotwit-3.34.0/aiotwit/types/unique_gift_symbol.py +43 -0
  771. aiotwit-3.34.0/aiotwit/types/update.py +257 -0
  772. aiotwit-3.34.0/aiotwit/types/user.py +228 -0
  773. aiotwit-3.34.0/aiotwit/types/user_chat_boosts.py +32 -0
  774. aiotwit-3.34.0/aiotwit/types/user_profile_audios.py +34 -0
  775. aiotwit-3.34.0/aiotwit/types/user_profile_photos.py +38 -0
  776. aiotwit-3.34.0/aiotwit/types/user_rating.py +47 -0
  777. aiotwit-3.34.0/aiotwit/types/user_shared.py +32 -0
  778. aiotwit-3.34.0/aiotwit/types/users_shared.py +48 -0
  779. aiotwit-3.34.0/aiotwit/types/venue.py +62 -0
  780. aiotwit-3.34.0/aiotwit/types/video.py +84 -0
  781. aiotwit-3.34.0/aiotwit/types/video_chat_ended.py +27 -0
  782. aiotwit-3.34.0/aiotwit/types/video_chat_participants_invited.py +30 -0
  783. aiotwit-3.34.0/aiotwit/types/video_chat_scheduled.py +30 -0
  784. aiotwit-3.34.0/aiotwit/types/video_chat_started.py +11 -0
  785. aiotwit-3.34.0/aiotwit/types/video_note.py +58 -0
  786. aiotwit-3.34.0/aiotwit/types/video_quality.py +55 -0
  787. aiotwit-3.34.0/aiotwit/types/voice.py +51 -0
  788. aiotwit-3.34.0/aiotwit/types/web_app_data.py +31 -0
  789. aiotwit-3.34.0/aiotwit/types/web_app_info.py +27 -0
  790. aiotwit-3.34.0/aiotwit/types/webhook_info.py +68 -0
  791. aiotwit-3.34.0/aiotwit/types/widget.py +53 -0
  792. aiotwit-3.34.0/aiotwit/types/widget_query.py +108 -0
  793. aiotwit-3.34.0/aiotwit/types/widget_query_type.py +13 -0
  794. aiotwit-3.34.0/aiotwit/types/widget_query_type_data.py +38 -0
  795. aiotwit-3.34.0/aiotwit/types/widget_query_type_sent_transaction.py +41 -0
  796. aiotwit-3.34.0/aiotwit/types/widget_query_type_sign_data.py +41 -0
  797. aiotwit-3.34.0/aiotwit/types/widget_query_type_union.py +12 -0
  798. aiotwit-3.34.0/aiotwit/types/widget_query_wallet.py +45 -0
  799. aiotwit-3.34.0/aiotwit/types/write_access_allowed.py +50 -0
  800. aiotwit-3.34.0/aiotwit/utils/__init__.py +0 -0
  801. aiotwit-3.34.0/aiotwit/utils/auth_widget.py +36 -0
  802. aiotwit-3.34.0/aiotwit/utils/backoff.py +85 -0
  803. aiotwit-3.34.0/aiotwit/utils/callback_answer.py +218 -0
  804. aiotwit-3.34.0/aiotwit/utils/chat_action.py +409 -0
  805. aiotwit-3.34.0/aiotwit/utils/chat_member.py +61 -0
  806. aiotwit-3.34.0/aiotwit/utils/class_attrs_resolver.py +85 -0
  807. aiotwit-3.34.0/aiotwit/utils/deep_linking.py +161 -0
  808. aiotwit-3.34.0/aiotwit/utils/formatting.py +757 -0
  809. aiotwit-3.34.0/aiotwit/utils/i18n/__init__.py +21 -0
  810. aiotwit-3.34.0/aiotwit/utils/i18n/context.py +24 -0
  811. aiotwit-3.34.0/aiotwit/utils/i18n/core.py +144 -0
  812. aiotwit-3.34.0/aiotwit/utils/i18n/lazy_proxy.py +14 -0
  813. aiotwit-3.34.0/aiotwit/utils/i18n/middleware.py +203 -0
  814. aiotwit-3.34.0/aiotwit/utils/keyboard.py +481 -0
  815. aiotwit-3.34.0/aiotwit/utils/link.py +102 -0
  816. aiotwit-3.34.0/aiotwit/utils/magic_filter.py +23 -0
  817. aiotwit-3.34.0/aiotwit/utils/markdown.py +209 -0
  818. aiotwit-3.34.0/aiotwit/utils/media_group.py +366 -0
  819. aiotwit-3.34.0/aiotwit/utils/mixins.py +94 -0
  820. aiotwit-3.34.0/aiotwit/utils/payload.py +114 -0
  821. aiotwit-3.34.0/aiotwit/utils/serialization.py +89 -0
  822. aiotwit-3.34.0/aiotwit/utils/text_decorations.py +372 -0
  823. aiotwit-3.34.0/aiotwit/utils/token.py +42 -0
  824. aiotwit-3.34.0/aiotwit/utils/warnings.py +6 -0
  825. aiotwit-3.34.0/aiotwit/utils/web_app.py +187 -0
  826. aiotwit-3.34.0/aiotwit/utils/web_app_signature.py +74 -0
  827. aiotwit-3.34.0/aiotwit/webhook/__init__.py +0 -0
  828. aiotwit-3.34.0/aiotwit/webhook/aiohttp_server.py +312 -0
  829. aiotwit-3.34.0/aiotwit/webhook/security.py +41 -0
  830. aiotwit-3.34.0/pyproject.toml +271 -0
aiotwit-3.34.0/LICENSE ADDED
@@ -0,0 +1,18 @@
1
+ Copyright (c) 2017 - present Alex Root Junior
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this
4
+ software and associated documentation files (the "Software"), to deal in the Software
5
+ without restriction, including without limitation the rights to use, copy, modify,
6
+ merge, publish, distribute, sublicense, and/or sell copies of the Software,
7
+ and to permit persons to whom the Software is furnished to do so, subject to the
8
+ following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all copies
11
+ or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
14
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
15
+ PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
16
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
17
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
18
+ OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,110 @@
1
+ Metadata-Version: 2.5
2
+ Name: aiotwit
3
+ Version: 3.34.0
4
+ Summary: Modern and fully asynchronous framework for the Twittor Bot API
5
+ Project-URL: Homepage, https://twittor.net/
6
+ Project-URL: Bot API, https://api.twittor.net/
7
+ Author: Twittor
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Keywords: api,asyncio,bot,framework,twittor,wrapper
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Framework :: AsyncIO
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Intended Audience :: System Administrators
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Programming Language :: Python :: 3.15
21
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
22
+ Classifier: Topic :: Communications :: Chat
23
+ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
24
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
+ Classifier: Typing :: Typed
26
+ Requires-Python: <3.16,>=3.11
27
+ Requires-Dist: aiofiles<26.0,>=23.2.1
28
+ Requires-Dist: aiohttp<3.15,>=3.9.0
29
+ Requires-Dist: certifi>=2023.7.22
30
+ Requires-Dist: magic-filter<1.1,>=1.0.12
31
+ Requires-Dist: pydantic<2.15,>=2.8.0
32
+ Requires-Dist: typing-extensions<=5.0,>=4.12.1
33
+ Provides-Extra: fast
34
+ Requires-Dist: aiodns>=4.0.0; extra == 'fast'
35
+ Requires-Dist: uvloop>=0.17.0; ((sys_platform == 'darwin' or sys_platform == 'linux') and platform_python_implementation != 'PyPy' and python_version < '3.13') and extra == 'fast'
36
+ Requires-Dist: uvloop>=0.21.0; ((sys_platform == 'darwin' or sys_platform == 'linux') and platform_python_implementation != 'PyPy' and python_version >= '3.13') and extra == 'fast'
37
+ Provides-Extra: i18n
38
+ Requires-Dist: babel<3,>=2.13.0; extra == 'i18n'
39
+ Provides-Extra: mongo
40
+ Requires-Dist: motor<3.8,>=3.6.0; extra == 'mongo'
41
+ Requires-Dist: pymongo<4.20,>=4.9; extra == 'mongo'
42
+ Provides-Extra: proxy
43
+ Requires-Dist: aiohttp-socks<1.12.0,>=0.10.1; extra == 'proxy'
44
+ Provides-Extra: redis
45
+ Requires-Dist: redis[hiredis]<8,>=6.2.0; extra == 'redis'
46
+ Provides-Extra: signature
47
+ Requires-Dist: cryptography>=46.0.0; extra == 'signature'
48
+ Provides-Extra: test
49
+ Requires-Dist: pytest<10,>=8; extra == 'test'
50
+ Description-Content-Type: text/markdown
51
+
52
+ # aiotwit
53
+
54
+ Modern, fully asynchronous framework for the **Twittor Bot API** (`https://api.twittor.net`), Python 3.11+.
55
+
56
+ ## Install
57
+
58
+ ```bash
59
+ pip install aiotwit
60
+ ```
61
+
62
+ ## Echo bot
63
+
64
+ Create a bot with **@BotFather** in Twittor and take its token.
65
+
66
+ ```python
67
+ import asyncio
68
+ from os import getenv
69
+
70
+ from aiotwit import Bot, Dispatcher
71
+ from aiotwit.filters import CommandStart
72
+ from aiotwit.types import Message
73
+
74
+ dp = Dispatcher()
75
+
76
+
77
+ @dp.message(CommandStart())
78
+ async def start(message: Message) -> None:
79
+ await message.answer(f"Hello, {message.from_user.full_name}!")
80
+
81
+
82
+ @dp.message()
83
+ async def echo(message: Message) -> None:
84
+ await message.send_copy(chat_id=message.chat.id)
85
+
86
+
87
+ async def main() -> None:
88
+ bot = Bot(token=getenv("BOT_TOKEN"))
89
+ await dp.start_polling(bot)
90
+
91
+
92
+ if __name__ == "__main__":
93
+ asyncio.run(main())
94
+ ```
95
+
96
+ ## What is inside
97
+
98
+ - Every method and type of Bot API 10.5
99
+ - Routers, filters, middlewares, finite state machine and scenes
100
+ - Long polling and webhooks (`X-Twittor-Bot-Api-Secret-Token`)
101
+ - Keyboards, formatting, deep links (`https://twittor.net/<bot>?start=...`), Mini App data checks, i18n
102
+ - `aiotwit.test`: test a bot without a network
103
+
104
+ Optional extras: `aiotwit[fast]`, `[redis]`, `[mongo]`, `[proxy]`, `[i18n]`, `[signature]`.
105
+
106
+ Not every method is already served by the server for every case; a call the server cannot do answers with an error.
107
+
108
+ ## License
109
+
110
+ MIT, see `LICENSE`.
@@ -0,0 +1,59 @@
1
+ # aiotwit
2
+
3
+ Modern, fully asynchronous framework for the **Twittor Bot API** (`https://api.twittor.net`), Python 3.11+.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pip install aiotwit
9
+ ```
10
+
11
+ ## Echo bot
12
+
13
+ Create a bot with **@BotFather** in Twittor and take its token.
14
+
15
+ ```python
16
+ import asyncio
17
+ from os import getenv
18
+
19
+ from aiotwit import Bot, Dispatcher
20
+ from aiotwit.filters import CommandStart
21
+ from aiotwit.types import Message
22
+
23
+ dp = Dispatcher()
24
+
25
+
26
+ @dp.message(CommandStart())
27
+ async def start(message: Message) -> None:
28
+ await message.answer(f"Hello, {message.from_user.full_name}!")
29
+
30
+
31
+ @dp.message()
32
+ async def echo(message: Message) -> None:
33
+ await message.send_copy(chat_id=message.chat.id)
34
+
35
+
36
+ async def main() -> None:
37
+ bot = Bot(token=getenv("BOT_TOKEN"))
38
+ await dp.start_polling(bot)
39
+
40
+
41
+ if __name__ == "__main__":
42
+ asyncio.run(main())
43
+ ```
44
+
45
+ ## What is inside
46
+
47
+ - Every method and type of Bot API 10.5
48
+ - Routers, filters, middlewares, finite state machine and scenes
49
+ - Long polling and webhooks (`X-Twittor-Bot-Api-Secret-Token`)
50
+ - Keyboards, formatting, deep links (`https://twittor.net/<bot>?start=...`), Mini App data checks, i18n
51
+ - `aiotwit.test`: test a bot without a network
52
+
53
+ Optional extras: `aiotwit[fast]`, `[redis]`, `[mongo]`, `[proxy]`, `[i18n]`, `[signature]`.
54
+
55
+ Not every method is already served by the server for every case; a call the server cannot do answers with an error.
56
+
57
+ ## License
58
+
59
+ MIT, see `LICENSE`.
@@ -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
+ )
@@ -0,0 +1,2 @@
1
+ __version__ = "3.34.0"
2
+ __api_version__ = "10.5"
File without changes