electrogram 1.184.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.
- electrogram-1.184.0.dist-info/METADATA +27 -0
- electrogram-1.184.0.dist-info/RECORD +3066 -0
- electrogram-1.184.0.dist-info/WHEEL +4 -0
- electrogram-1.184.0.dist-info/licenses/LICENSE +21 -0
- pyrogram/__init__.py +37 -0
- pyrogram/client.py +903 -0
- pyrogram/connection/__init__.py +5 -0
- pyrogram/connection/connection.py +59 -0
- pyrogram/connection/transport/__init__.py +11 -0
- pyrogram/connection/transport/tcp/__init__.py +16 -0
- pyrogram/connection/transport/tcp/tcp.py +149 -0
- pyrogram/connection/transport/tcp/tcp_abridged.py +39 -0
- pyrogram/connection/transport/tcp/tcp_abridged_o.py +68 -0
- pyrogram/connection/transport/tcp/tcp_full.py +46 -0
- pyrogram/connection/transport/tcp/tcp_intermediate.py +27 -0
- pyrogram/connection/transport/tcp/tcp_intermediate_o.py +61 -0
- pyrogram/crypto/__init__.py +0 -0
- pyrogram/crypto/aes.py +20 -0
- pyrogram/crypto/mtproto.py +75 -0
- pyrogram/crypto/prime.py +59 -0
- pyrogram/crypto/rsa.py +147 -0
- pyrogram/dispatcher.py +280 -0
- pyrogram/emoji.py +4001 -0
- pyrogram/enums/__init__.py +39 -0
- pyrogram/enums/auto_name.py +9 -0
- pyrogram/enums/chat_action.py +22 -0
- pyrogram/enums/chat_event_action.py +32 -0
- pyrogram/enums/chat_member_status.py +10 -0
- pyrogram/enums/chat_members_filter.py +10 -0
- pyrogram/enums/chat_type.py +9 -0
- pyrogram/enums/client_platform.py +13 -0
- pyrogram/enums/listerner_types.py +6 -0
- pyrogram/enums/message_entity_type.py +26 -0
- pyrogram/enums/message_media_type.py +22 -0
- pyrogram/enums/message_service_type.py +34 -0
- pyrogram/enums/messages_filter.py +21 -0
- pyrogram/enums/next_code_type.py +9 -0
- pyrogram/enums/parse_mode.py +8 -0
- pyrogram/enums/profile_color.py +19 -0
- pyrogram/enums/reaction_type.py +7 -0
- pyrogram/enums/reply_color.py +25 -0
- pyrogram/enums/sent_code_type.py +11 -0
- pyrogram/enums/user_status.py +10 -0
- pyrogram/errors/__init__.py +40 -0
- pyrogram/errors/exceptions/__init__.py +10 -0
- pyrogram/errors/exceptions/all.py +634 -0
- pyrogram/errors/exceptions/bad_request_400.py +3273 -0
- pyrogram/errors/exceptions/flood_420.py +67 -0
- pyrogram/errors/exceptions/forbidden_403.py +326 -0
- pyrogram/errors/exceptions/internal_server_error_500.py +340 -0
- pyrogram/errors/exceptions/not_acceptable_406.py +158 -0
- pyrogram/errors/exceptions/see_other_303.py +46 -0
- pyrogram/errors/exceptions/service_unavailable_503.py +32 -0
- pyrogram/errors/exceptions/unauthorized_401.py +74 -0
- pyrogram/errors/rpc_error.py +84 -0
- pyrogram/file_id.py +412 -0
- pyrogram/filters.py +674 -0
- pyrogram/handlers/__init__.py +31 -0
- pyrogram/handlers/callback_query_handler.py +6 -0
- pyrogram/handlers/chat_join_request_handler.py +6 -0
- pyrogram/handlers/chat_member_updated_handler.py +6 -0
- pyrogram/handlers/chosen_inline_result_handler.py +6 -0
- pyrogram/handlers/conversation_handler.py +49 -0
- pyrogram/handlers/deleted_messages_handler.py +16 -0
- pyrogram/handlers/disconnect_handler.py +6 -0
- pyrogram/handlers/edited_message_handler.py +6 -0
- pyrogram/handlers/handler.py +23 -0
- pyrogram/handlers/inline_query_handler.py +6 -0
- pyrogram/handlers/message_handler.py +6 -0
- pyrogram/handlers/message_reaction_count_updated_handler.py +7 -0
- pyrogram/handlers/message_reaction_updated_handler.py +7 -0
- pyrogram/handlers/raw_update_handler.py +6 -0
- pyrogram/handlers/user_status_handler.py +6 -0
- pyrogram/methods/__init__.py +29 -0
- pyrogram/methods/advanced/__init__.py +11 -0
- pyrogram/methods/advanced/invoke.py +38 -0
- pyrogram/methods/advanced/resolve_peer.py +86 -0
- pyrogram/methods/advanced/save_file.py +174 -0
- pyrogram/methods/auth/__init__.py +35 -0
- pyrogram/methods/auth/accept_terms_of_service.py +18 -0
- pyrogram/methods/auth/check_password.py +28 -0
- pyrogram/methods/auth/connect.py +23 -0
- pyrogram/methods/auth/disconnect.py +16 -0
- pyrogram/methods/auth/get_password_hint.py +13 -0
- pyrogram/methods/auth/initialize.py +25 -0
- pyrogram/methods/auth/log_out.py +17 -0
- pyrogram/methods/auth/recover_password.py +24 -0
- pyrogram/methods/auth/resend_code.py +25 -0
- pyrogram/methods/auth/send_code.py +46 -0
- pyrogram/methods/auth/send_recovery_code.py +15 -0
- pyrogram/methods/auth/sign_in.py +37 -0
- pyrogram/methods/auth/sign_in_bot.py +47 -0
- pyrogram/methods/auth/sign_up.py +32 -0
- pyrogram/methods/auth/terminate.py +35 -0
- pyrogram/methods/bots/__init__.py +35 -0
- pyrogram/methods/bots/answer_callback_query.py +22 -0
- pyrogram/methods/bots/answer_inline_query.py +33 -0
- pyrogram/methods/bots/answer_web_app_query.py +19 -0
- pyrogram/methods/bots/delete_bot_commands.py +16 -0
- pyrogram/methods/bots/get_bot_commands.py +20 -0
- pyrogram/methods/bots/get_bot_default_privileges.py +23 -0
- pyrogram/methods/bots/get_bot_info.py +17 -0
- pyrogram/methods/bots/get_chat_menu_button.py +38 -0
- pyrogram/methods/bots/get_inline_bot_results.py +34 -0
- pyrogram/methods/bots/request_callback_answer.py +33 -0
- pyrogram/methods/bots/send_inline_bot_result.py +39 -0
- pyrogram/methods/bots/set_bot_commands.py +21 -0
- pyrogram/methods/bots/set_bot_default_privileges.py +32 -0
- pyrogram/methods/bots/set_bot_info.py +20 -0
- pyrogram/methods/bots/set_chat_menu_button.py +24 -0
- pyrogram/methods/chats/__init__.py +109 -0
- pyrogram/methods/chats/add_chat_members.py +39 -0
- pyrogram/methods/chats/archive_chats.py +31 -0
- pyrogram/methods/chats/ban_chat_member.py +56 -0
- pyrogram/methods/chats/close_forum_topic.py +19 -0
- pyrogram/methods/chats/close_general_topic.py +18 -0
- pyrogram/methods/chats/create_channel.py +20 -0
- pyrogram/methods/chats/create_forum_topic.py +25 -0
- pyrogram/methods/chats/create_group.py +24 -0
- pyrogram/methods/chats/create_supergroup.py +20 -0
- pyrogram/methods/chats/delete_channel.py +18 -0
- pyrogram/methods/chats/delete_chat_photo.py +31 -0
- pyrogram/methods/chats/delete_forum_topic.py +22 -0
- pyrogram/methods/chats/delete_supergroup.py +18 -0
- pyrogram/methods/chats/delete_user_history.py +20 -0
- pyrogram/methods/chats/edit_forum_topic.py +22 -0
- pyrogram/methods/chats/edit_general_topic.py +19 -0
- pyrogram/methods/chats/get_chat.py +43 -0
- pyrogram/methods/chats/get_chat_event_log.py +51 -0
- pyrogram/methods/chats/get_chat_member.py +52 -0
- pyrogram/methods/chats/get_chat_members.py +93 -0
- pyrogram/methods/chats/get_chat_members_count.py +31 -0
- pyrogram/methods/chats/get_chat_online_count.py +16 -0
- pyrogram/methods/chats/get_dialogs.py +71 -0
- pyrogram/methods/chats/get_dialogs_count.py +26 -0
- pyrogram/methods/chats/get_forum_topics.py +24 -0
- pyrogram/methods/chats/get_forum_topics_by_id.py +43 -0
- pyrogram/methods/chats/get_nearby_chats.py +39 -0
- pyrogram/methods/chats/get_send_as_chats.py +30 -0
- pyrogram/methods/chats/hide_general_topic.py +18 -0
- pyrogram/methods/chats/join_chat.py +32 -0
- pyrogram/methods/chats/leave_chat.py +37 -0
- pyrogram/methods/chats/mark_chat_unread.py +17 -0
- pyrogram/methods/chats/pin_chat_message.py +30 -0
- pyrogram/methods/chats/promote_chat_member.py +59 -0
- pyrogram/methods/chats/reopen_forum_topic.py +19 -0
- pyrogram/methods/chats/reopen_general_topic.py +18 -0
- pyrogram/methods/chats/restrict_chat_member.py +133 -0
- pyrogram/methods/chats/set_administrator_title.py +40 -0
- pyrogram/methods/chats/set_chat_description.py +25 -0
- pyrogram/methods/chats/set_chat_permissions.py +129 -0
- pyrogram/methods/chats/set_chat_photo.py +55 -0
- pyrogram/methods/chats/set_chat_protected_content.py +20 -0
- pyrogram/methods/chats/set_chat_title.py +32 -0
- pyrogram/methods/chats/set_chat_username.py +25 -0
- pyrogram/methods/chats/set_send_as_chat.py +18 -0
- pyrogram/methods/chats/set_slow_mode.py +20 -0
- pyrogram/methods/chats/unarchive_chats.py +31 -0
- pyrogram/methods/chats/unban_chat_member.py +23 -0
- pyrogram/methods/chats/unhide_general_topic.py +18 -0
- pyrogram/methods/chats/unpin_all_chat_messages.py +18 -0
- pyrogram/methods/chats/unpin_chat_message.py +21 -0
- pyrogram/methods/chats/update_color.py +33 -0
- pyrogram/methods/contacts/__init__.py +15 -0
- pyrogram/methods/contacts/add_contact.py +27 -0
- pyrogram/methods/contacts/delete_contacts.py +28 -0
- pyrogram/methods/contacts/get_contacts.py +16 -0
- pyrogram/methods/contacts/get_contacts_count.py +9 -0
- pyrogram/methods/contacts/import_contacts.py +19 -0
- pyrogram/methods/decorators/__init__.py +30 -0
- pyrogram/methods/decorators/on_callback_query.py +29 -0
- pyrogram/methods/decorators/on_chat_join_request.py +29 -0
- pyrogram/methods/decorators/on_chat_member_updated.py +29 -0
- pyrogram/methods/decorators/on_chosen_inline_result.py +29 -0
- pyrogram/methods/decorators/on_deleted_messages.py +29 -0
- pyrogram/methods/decorators/on_disconnect.py +19 -0
- pyrogram/methods/decorators/on_edited_message.py +29 -0
- pyrogram/methods/decorators/on_inline_query.py +29 -0
- pyrogram/methods/decorators/on_message.py +29 -0
- pyrogram/methods/decorators/on_message_reaction_count_updated.py +29 -0
- pyrogram/methods/decorators/on_message_reaction_updated.py +30 -0
- pyrogram/methods/decorators/on_raw_update.py +27 -0
- pyrogram/methods/decorators/on_user_status.py +29 -0
- pyrogram/methods/invite_links/__init__.py +39 -0
- pyrogram/methods/invite_links/approve_all_chat_join_requests.py +21 -0
- pyrogram/methods/invite_links/approve_chat_join_request.py +21 -0
- pyrogram/methods/invite_links/create_chat_invite_link.py +28 -0
- pyrogram/methods/invite_links/decline_all_chat_join_requests.py +21 -0
- pyrogram/methods/invite_links/decline_chat_join_request.py +21 -0
- pyrogram/methods/invite_links/delete_chat_admin_invite_links.py +18 -0
- pyrogram/methods/invite_links/delete_chat_invite_link.py +18 -0
- pyrogram/methods/invite_links/edit_chat_invite_link.py +32 -0
- pyrogram/methods/invite_links/export_chat_invite_link.py +20 -0
- pyrogram/methods/invite_links/get_chat_admin_invite_links.py +49 -0
- pyrogram/methods/invite_links/get_chat_admin_invite_links_count.py +23 -0
- pyrogram/methods/invite_links/get_chat_admins_with_invite_links.py +23 -0
- pyrogram/methods/invite_links/get_chat_invite_link.py +23 -0
- pyrogram/methods/invite_links/get_chat_invite_link_joiners.py +47 -0
- pyrogram/methods/invite_links/get_chat_invite_link_joiners_count.py +23 -0
- pyrogram/methods/invite_links/get_chat_join_requests.py +48 -0
- pyrogram/methods/invite_links/revoke_chat_invite_link.py +30 -0
- pyrogram/methods/messages/__init__.py +91 -0
- pyrogram/methods/messages/copy_media_group.py +81 -0
- pyrogram/methods/messages/copy_message.py +49 -0
- pyrogram/methods/messages/delete_messages.py +32 -0
- pyrogram/methods/messages/download_media.py +88 -0
- pyrogram/methods/messages/edit_inline_caption.py +20 -0
- pyrogram/methods/messages/edit_inline_media.py +188 -0
- pyrogram/methods/messages/edit_inline_reply_markup.py +25 -0
- pyrogram/methods/messages/edit_inline_text.py +32 -0
- pyrogram/methods/messages/edit_message_caption.py +26 -0
- pyrogram/methods/messages/edit_message_media.py +226 -0
- pyrogram/methods/messages/edit_message_reply_markup.py +29 -0
- pyrogram/methods/messages/edit_message_text.py +38 -0
- pyrogram/methods/messages/forward_messages.py +54 -0
- pyrogram/methods/messages/get_available_effects.py +28 -0
- pyrogram/methods/messages/get_chat_history.py +74 -0
- pyrogram/methods/messages/get_chat_history_count.py +31 -0
- pyrogram/methods/messages/get_custom_emoji_stickers.py +28 -0
- pyrogram/methods/messages/get_discussion_message.py +24 -0
- pyrogram/methods/messages/get_discussion_replies.py +46 -0
- pyrogram/methods/messages/get_discussion_replies_count.py +27 -0
- pyrogram/methods/messages/get_media_group.py +30 -0
- pyrogram/methods/messages/get_messages.py +48 -0
- pyrogram/methods/messages/inline_session.py +46 -0
- pyrogram/methods/messages/read_chat_history.py +28 -0
- pyrogram/methods/messages/search_global.py +58 -0
- pyrogram/methods/messages/search_global_count.py +27 -0
- pyrogram/methods/messages/search_messages.py +77 -0
- pyrogram/methods/messages/search_messages_count.py +39 -0
- pyrogram/methods/messages/send_animation.py +159 -0
- pyrogram/methods/messages/send_audio.py +131 -0
- pyrogram/methods/messages/send_cached_media.py +78 -0
- pyrogram/methods/messages/send_chat_action.py +69 -0
- pyrogram/methods/messages/send_contact.py +72 -0
- pyrogram/methods/messages/send_document.py +120 -0
- pyrogram/methods/messages/send_media_group.py +395 -0
- pyrogram/methods/messages/send_message.py +101 -0
- pyrogram/methods/messages/send_photo.py +115 -0
- pyrogram/methods/messages/send_reaction.py +53 -0
- pyrogram/methods/messages/send_sticker.py +111 -0
- pyrogram/methods/messages/send_video.py +145 -0
- pyrogram/methods/messages/send_video_note.py +125 -0
- pyrogram/methods/messages/send_voice.py +119 -0
- pyrogram/methods/messages/send_web_page.py +103 -0
- pyrogram/methods/messages/stream_media.py +46 -0
- pyrogram/methods/password/__init__.py +11 -0
- pyrogram/methods/password/change_cloud_password.py +35 -0
- pyrogram/methods/password/enable_cloud_password.py +36 -0
- pyrogram/methods/password/remove_cloud_password.py +27 -0
- pyrogram/methods/stickers/__init__.py +10 -0
- pyrogram/methods/stickers/add_sticker_to_set.py +40 -0
- pyrogram/methods/stickers/create_sticker_set.py +50 -0
- pyrogram/methods/stickers/get_sticker_set.py +18 -0
- pyrogram/methods/users/__init__.py +35 -0
- pyrogram/methods/users/block_user.py +18 -0
- pyrogram/methods/users/delete_profile_photos.py +21 -0
- pyrogram/methods/users/get_chat_photos.py +117 -0
- pyrogram/methods/users/get_chat_photos_count.py +36 -0
- pyrogram/methods/users/get_common_chats.py +26 -0
- pyrogram/methods/users/get_default_emoji_statuses.py +16 -0
- pyrogram/methods/users/get_me.py +18 -0
- pyrogram/methods/users/get_users.py +29 -0
- pyrogram/methods/users/set_emoji_status.py +22 -0
- pyrogram/methods/users/set_profile_photo.py +21 -0
- pyrogram/methods/users/set_username.py +18 -0
- pyrogram/methods/users/unblock_user.py +18 -0
- pyrogram/methods/users/update_birthday.py +18 -0
- pyrogram/methods/users/update_personal_chat.py +15 -0
- pyrogram/methods/users/update_profile.py +20 -0
- pyrogram/methods/utilities/__init__.py +23 -0
- pyrogram/methods/utilities/add_handler.py +17 -0
- pyrogram/methods/utilities/compose.py +24 -0
- pyrogram/methods/utilities/export_session_string.py +8 -0
- pyrogram/methods/utilities/idle.py +30 -0
- pyrogram/methods/utilities/remove_handler.py +15 -0
- pyrogram/methods/utilities/restart.py +18 -0
- pyrogram/methods/utilities/run.py +26 -0
- pyrogram/methods/utilities/run_sync.py +8 -0
- pyrogram/methods/utilities/start.py +31 -0
- pyrogram/methods/utilities/stop.py +18 -0
- pyrogram/methods/utilities/stop_transmission.py +7 -0
- pyrogram/mime_types.py +1861 -0
- pyrogram/parser/__init__.py +3 -0
- pyrogram/parser/html.py +215 -0
- pyrogram/parser/markdown.py +212 -0
- pyrogram/parser/parser.py +43 -0
- pyrogram/parser/utils.py +20 -0
- pyrogram/py.typed +0 -0
- pyrogram/raw/__init__.py +8 -0
- pyrogram/raw/all.py +2039 -0
- pyrogram/raw/base/__init__.py +351 -0
- pyrogram/raw/base/access_point_rule.py +35 -0
- pyrogram/raw/base/account/__init__.py +29 -0
- pyrogram/raw/base/account/authorization_form.py +44 -0
- pyrogram/raw/base/account/authorizations.py +44 -0
- pyrogram/raw/base/account/auto_download_settings.py +44 -0
- pyrogram/raw/base/account/auto_save_settings.py +44 -0
- pyrogram/raw/base/account/business_chat_links.py +44 -0
- pyrogram/raw/base/account/connected_bots.py +44 -0
- pyrogram/raw/base/account/content_settings.py +44 -0
- pyrogram/raw/base/account/email_verified.py +45 -0
- pyrogram/raw/base/account/emoji_statuses.py +47 -0
- pyrogram/raw/base/account/password.py +44 -0
- pyrogram/raw/base/account/password_input_settings.py +34 -0
- pyrogram/raw/base/account/password_settings.py +44 -0
- pyrogram/raw/base/account/privacy_rules.py +45 -0
- pyrogram/raw/base/account/reset_password_result.py +46 -0
- pyrogram/raw/base/account/resolved_business_chat_links.py +44 -0
- pyrogram/raw/base/account/saved_ringtone.py +45 -0
- pyrogram/raw/base/account/saved_ringtones.py +45 -0
- pyrogram/raw/base/account/sent_email_code.py +44 -0
- pyrogram/raw/base/account/takeout.py +44 -0
- pyrogram/raw/base/account/themes.py +46 -0
- pyrogram/raw/base/account/tmp_password.py +44 -0
- pyrogram/raw/base/account/wall_papers.py +45 -0
- pyrogram/raw/base/account/web_authorizations.py +44 -0
- pyrogram/raw/base/account_days_ttl.py +44 -0
- pyrogram/raw/base/attach_menu_bot.py +34 -0
- pyrogram/raw/base/attach_menu_bot_icon.py +34 -0
- pyrogram/raw/base/attach_menu_bot_icon_color.py +34 -0
- pyrogram/raw/base/attach_menu_bots.py +45 -0
- pyrogram/raw/base/attach_menu_bots_bot.py +44 -0
- pyrogram/raw/base/attach_menu_peer_type.py +38 -0
- pyrogram/raw/base/auth/__init__.py +14 -0
- pyrogram/raw/base/auth/authorization.py +51 -0
- pyrogram/raw/base/auth/code_type.py +38 -0
- pyrogram/raw/base/auth/exported_authorization.py +44 -0
- pyrogram/raw/base/auth/logged_out.py +44 -0
- pyrogram/raw/base/auth/login_token.py +47 -0
- pyrogram/raw/base/auth/password_recovery.py +44 -0
- pyrogram/raw/base/auth/sent_code.py +50 -0
- pyrogram/raw/base/auth/sent_code_type.py +44 -0
- pyrogram/raw/base/authorization.py +44 -0
- pyrogram/raw/base/auto_download_settings.py +34 -0
- pyrogram/raw/base/auto_save_exception.py +34 -0
- pyrogram/raw/base/auto_save_settings.py +34 -0
- pyrogram/raw/base/available_effect.py +34 -0
- pyrogram/raw/base/available_reaction.py +34 -0
- pyrogram/raw/base/bad_msg_notification.py +35 -0
- pyrogram/raw/base/bank_card_open_url.py +34 -0
- pyrogram/raw/base/base_theme.py +38 -0
- pyrogram/raw/base/bind_auth_key_inner.py +34 -0
- pyrogram/raw/base/birthday.py +34 -0
- pyrogram/raw/base/boost.py +34 -0
- pyrogram/raw/base/bot_app.py +35 -0
- pyrogram/raw/base/bot_business_connection.py +34 -0
- pyrogram/raw/base/bot_command.py +44 -0
- pyrogram/raw/base/bot_command_scope.py +40 -0
- pyrogram/raw/base/bot_info.py +34 -0
- pyrogram/raw/base/bot_inline_message.py +40 -0
- pyrogram/raw/base/bot_inline_result.py +35 -0
- pyrogram/raw/base/bot_menu_button.py +46 -0
- pyrogram/raw/base/bots/__init__.py +7 -0
- pyrogram/raw/base/bots/bot_info.py +44 -0
- pyrogram/raw/base/broadcast_revenue_balances.py +34 -0
- pyrogram/raw/base/broadcast_revenue_transaction.py +36 -0
- pyrogram/raw/base/business_away_message.py +34 -0
- pyrogram/raw/base/business_away_message_schedule.py +36 -0
- pyrogram/raw/base/business_bot_recipients.py +34 -0
- pyrogram/raw/base/business_chat_link.py +45 -0
- pyrogram/raw/base/business_greeting_message.py +34 -0
- pyrogram/raw/base/business_intro.py +34 -0
- pyrogram/raw/base/business_location.py +34 -0
- pyrogram/raw/base/business_recipients.py +34 -0
- pyrogram/raw/base/business_weekly_open.py +34 -0
- pyrogram/raw/base/business_work_hours.py +34 -0
- pyrogram/raw/base/cdn_config.py +44 -0
- pyrogram/raw/base/cdn_public_key.py +34 -0
- pyrogram/raw/base/channel_admin_log_event.py +34 -0
- pyrogram/raw/base/channel_admin_log_event_action.py +81 -0
- pyrogram/raw/base/channel_admin_log_events_filter.py +34 -0
- pyrogram/raw/base/channel_location.py +35 -0
- pyrogram/raw/base/channel_messages_filter.py +35 -0
- pyrogram/raw/base/channel_participant.py +39 -0
- pyrogram/raw/base/channel_participants_filter.py +41 -0
- pyrogram/raw/base/channels/__init__.py +11 -0
- pyrogram/raw/base/channels/admin_log_results.py +44 -0
- pyrogram/raw/base/channels/channel_participant.py +44 -0
- pyrogram/raw/base/channels/channel_participants.py +45 -0
- pyrogram/raw/base/channels/send_as_peers.py +44 -0
- pyrogram/raw/base/channels/sponsored_message_report_result.py +46 -0
- pyrogram/raw/base/chat.py +38 -0
- pyrogram/raw/base/chat_admin_rights.py +34 -0
- pyrogram/raw/base/chat_admin_with_invites.py +34 -0
- pyrogram/raw/base/chat_banned_rights.py +34 -0
- pyrogram/raw/base/chat_full.py +35 -0
- pyrogram/raw/base/chat_invite.py +46 -0
- pyrogram/raw/base/chat_invite_importer.py +34 -0
- pyrogram/raw/base/chat_onlines.py +44 -0
- pyrogram/raw/base/chat_participant.py +36 -0
- pyrogram/raw/base/chat_participants.py +35 -0
- pyrogram/raw/base/chat_photo.py +35 -0
- pyrogram/raw/base/chat_reactions.py +36 -0
- pyrogram/raw/base/chatlists/__init__.py +10 -0
- pyrogram/raw/base/chatlists/chatlist_invite.py +45 -0
- pyrogram/raw/base/chatlists/chatlist_updates.py +44 -0
- pyrogram/raw/base/chatlists/exported_chatlist_invite.py +44 -0
- pyrogram/raw/base/chatlists/exported_invites.py +44 -0
- pyrogram/raw/base/client_dh_inner_data.py +34 -0
- pyrogram/raw/base/code_settings.py +34 -0
- pyrogram/raw/base/config.py +44 -0
- pyrogram/raw/base/connected_bot.py +34 -0
- pyrogram/raw/base/contact.py +34 -0
- pyrogram/raw/base/contact_birthday.py +34 -0
- pyrogram/raw/base/contact_status.py +44 -0
- pyrogram/raw/base/contacts/__init__.py +13 -0
- pyrogram/raw/base/contacts/blocked.py +45 -0
- pyrogram/raw/base/contacts/contact_birthdays.py +44 -0
- pyrogram/raw/base/contacts/contacts.py +45 -0
- pyrogram/raw/base/contacts/found.py +44 -0
- pyrogram/raw/base/contacts/imported_contacts.py +44 -0
- pyrogram/raw/base/contacts/resolved_peer.py +45 -0
- pyrogram/raw/base/contacts/top_peers.py +46 -0
- pyrogram/raw/base/data_json.py +46 -0
- pyrogram/raw/base/dc_option.py +34 -0
- pyrogram/raw/base/default_history_ttl.py +44 -0
- pyrogram/raw/base/destroy_auth_key_res.py +46 -0
- pyrogram/raw/base/destroy_session_res.py +45 -0
- pyrogram/raw/base/dialog.py +35 -0
- pyrogram/raw/base/dialog_filter.py +36 -0
- pyrogram/raw/base/dialog_filter_suggested.py +44 -0
- pyrogram/raw/base/dialog_peer.py +45 -0
- pyrogram/raw/base/document.py +48 -0
- pyrogram/raw/base/document_attribute.py +41 -0
- pyrogram/raw/base/draft_message.py +35 -0
- pyrogram/raw/base/email_verification.py +36 -0
- pyrogram/raw/base/email_verify_purpose.py +36 -0
- pyrogram/raw/base/emoji_group.py +36 -0
- pyrogram/raw/base/emoji_keyword.py +35 -0
- pyrogram/raw/base/emoji_keywords_difference.py +45 -0
- pyrogram/raw/base/emoji_language.py +44 -0
- pyrogram/raw/base/emoji_list.py +49 -0
- pyrogram/raw/base/emoji_status.py +36 -0
- pyrogram/raw/base/emoji_url.py +44 -0
- pyrogram/raw/base/encrypted_chat.py +49 -0
- pyrogram/raw/base/encrypted_file.py +45 -0
- pyrogram/raw/base/encrypted_message.py +35 -0
- pyrogram/raw/base/exported_chat_invite.py +45 -0
- pyrogram/raw/base/exported_chatlist_invite.py +44 -0
- pyrogram/raw/base/exported_contact_token.py +44 -0
- pyrogram/raw/base/exported_message_link.py +44 -0
- pyrogram/raw/base/exported_story_link.py +44 -0
- pyrogram/raw/base/fact_check.py +44 -0
- pyrogram/raw/base/file_hash.py +46 -0
- pyrogram/raw/base/folder.py +34 -0
- pyrogram/raw/base/folder_peer.py +34 -0
- pyrogram/raw/base/forum_topic.py +35 -0
- pyrogram/raw/base/found_story.py +34 -0
- pyrogram/raw/base/fragment/__init__.py +7 -0
- pyrogram/raw/base/fragment/collectible_info.py +44 -0
- pyrogram/raw/base/game.py +34 -0
- pyrogram/raw/base/geo_point.py +35 -0
- pyrogram/raw/base/geo_point_address.py +34 -0
- pyrogram/raw/base/global_privacy_settings.py +45 -0
- pyrogram/raw/base/group_call.py +35 -0
- pyrogram/raw/base/group_call_participant.py +34 -0
- pyrogram/raw/base/group_call_participant_video.py +34 -0
- pyrogram/raw/base/group_call_participant_video_source_group.py +34 -0
- pyrogram/raw/base/group_call_stream_channel.py +34 -0
- pyrogram/raw/base/help/__init__.py +27 -0
- pyrogram/raw/base/help/app_config.py +45 -0
- pyrogram/raw/base/help/app_update.py +45 -0
- pyrogram/raw/base/help/config_simple.py +35 -0
- pyrogram/raw/base/help/countries_list.py +45 -0
- pyrogram/raw/base/help/country.py +34 -0
- pyrogram/raw/base/help/country_code.py +34 -0
- pyrogram/raw/base/help/deep_link_info.py +45 -0
- pyrogram/raw/base/help/invite_text.py +44 -0
- pyrogram/raw/base/help/passport_config.py +45 -0
- pyrogram/raw/base/help/peer_color_option.py +34 -0
- pyrogram/raw/base/help/peer_color_set.py +35 -0
- pyrogram/raw/base/help/peer_colors.py +46 -0
- pyrogram/raw/base/help/premium_promo.py +44 -0
- pyrogram/raw/base/help/promo_data.py +45 -0
- pyrogram/raw/base/help/recent_me_urls.py +44 -0
- pyrogram/raw/base/help/support.py +44 -0
- pyrogram/raw/base/help/support_name.py +44 -0
- pyrogram/raw/base/help/terms_of_service.py +34 -0
- pyrogram/raw/base/help/terms_of_service_update.py +45 -0
- pyrogram/raw/base/help/timezones_list.py +45 -0
- pyrogram/raw/base/help/user_info.py +46 -0
- pyrogram/raw/base/high_score.py +34 -0
- pyrogram/raw/base/http_wait.py +34 -0
- pyrogram/raw/base/imported_contact.py +34 -0
- pyrogram/raw/base/inline_bot_switch_pm.py +34 -0
- pyrogram/raw/base/inline_bot_web_view.py +34 -0
- pyrogram/raw/base/inline_query_peer_type.py +39 -0
- pyrogram/raw/base/input_app_event.py +34 -0
- pyrogram/raw/base/input_bot_app.py +35 -0
- pyrogram/raw/base/input_bot_inline_message.py +41 -0
- pyrogram/raw/base/input_bot_inline_message_id.py +35 -0
- pyrogram/raw/base/input_bot_inline_result.py +37 -0
- pyrogram/raw/base/input_business_away_message.py +34 -0
- pyrogram/raw/base/input_business_bot_recipients.py +34 -0
- pyrogram/raw/base/input_business_chat_link.py +34 -0
- pyrogram/raw/base/input_business_greeting_message.py +34 -0
- pyrogram/raw/base/input_business_intro.py +34 -0
- pyrogram/raw/base/input_business_recipients.py +34 -0
- pyrogram/raw/base/input_channel.py +36 -0
- pyrogram/raw/base/input_chat_photo.py +36 -0
- pyrogram/raw/base/input_chatlist.py +34 -0
- pyrogram/raw/base/input_check_password_srp.py +35 -0
- pyrogram/raw/base/input_client_proxy.py +34 -0
- pyrogram/raw/base/input_collectible.py +35 -0
- pyrogram/raw/base/input_contact.py +34 -0
- pyrogram/raw/base/input_dialog_peer.py +35 -0
- pyrogram/raw/base/input_document.py +35 -0
- pyrogram/raw/base/input_encrypted_chat.py +34 -0
- pyrogram/raw/base/input_encrypted_file.py +37 -0
- pyrogram/raw/base/input_file.py +35 -0
- pyrogram/raw/base/input_file_location.py +45 -0
- pyrogram/raw/base/input_folder_peer.py +34 -0
- pyrogram/raw/base/input_game.py +35 -0
- pyrogram/raw/base/input_geo_point.py +35 -0
- pyrogram/raw/base/input_group_call.py +34 -0
- pyrogram/raw/base/input_invoice.py +37 -0
- pyrogram/raw/base/input_media.py +51 -0
- pyrogram/raw/base/input_message.py +37 -0
- pyrogram/raw/base/input_notify_peer.py +38 -0
- pyrogram/raw/base/input_payment_credentials.py +37 -0
- pyrogram/raw/base/input_peer.py +40 -0
- pyrogram/raw/base/input_peer_notify_settings.py +34 -0
- pyrogram/raw/base/input_phone_call.py +34 -0
- pyrogram/raw/base/input_photo.py +35 -0
- pyrogram/raw/base/input_privacy_key.py +44 -0
- pyrogram/raw/base/input_privacy_rule.py +43 -0
- pyrogram/raw/base/input_quick_reply_shortcut.py +35 -0
- pyrogram/raw/base/input_reply_to.py +35 -0
- pyrogram/raw/base/input_secure_file.py +35 -0
- pyrogram/raw/base/input_secure_value.py +34 -0
- pyrogram/raw/base/input_single_media.py +34 -0
- pyrogram/raw/base/input_stars_transaction.py +34 -0
- pyrogram/raw/base/input_sticker_set.py +44 -0
- pyrogram/raw/base/input_sticker_set_item.py +34 -0
- pyrogram/raw/base/input_stickered_media.py +35 -0
- pyrogram/raw/base/input_store_payment_purpose.py +38 -0
- pyrogram/raw/base/input_theme.py +35 -0
- pyrogram/raw/base/input_theme_settings.py +34 -0
- pyrogram/raw/base/input_user.py +37 -0
- pyrogram/raw/base/input_wall_paper.py +36 -0
- pyrogram/raw/base/input_web_document.py +34 -0
- pyrogram/raw/base/input_web_file_location.py +36 -0
- pyrogram/raw/base/invoice.py +34 -0
- pyrogram/raw/base/ip_port.py +37 -0
- pyrogram/raw/base/json_object_value.py +34 -0
- pyrogram/raw/base/json_value.py +39 -0
- pyrogram/raw/base/keyboard_button.py +50 -0
- pyrogram/raw/base/keyboard_button_row.py +34 -0
- pyrogram/raw/base/labeled_price.py +34 -0
- pyrogram/raw/base/lang_pack_difference.py +45 -0
- pyrogram/raw/base/lang_pack_language.py +45 -0
- pyrogram/raw/base/lang_pack_string.py +46 -0
- pyrogram/raw/base/mask_coords.py +34 -0
- pyrogram/raw/base/media_area.py +40 -0
- pyrogram/raw/base/media_area_coordinates.py +34 -0
- pyrogram/raw/base/message.py +36 -0
- pyrogram/raw/base/message_action.py +77 -0
- pyrogram/raw/base/message_entity.py +54 -0
- pyrogram/raw/base/message_extended_media.py +35 -0
- pyrogram/raw/base/message_fwd_header.py +34 -0
- pyrogram/raw/base/message_media.py +62 -0
- pyrogram/raw/base/message_peer_reaction.py +34 -0
- pyrogram/raw/base/message_peer_vote.py +36 -0
- pyrogram/raw/base/message_range.py +44 -0
- pyrogram/raw/base/message_reactions.py +34 -0
- pyrogram/raw/base/message_replies.py +34 -0
- pyrogram/raw/base/message_reply_header.py +35 -0
- pyrogram/raw/base/message_views.py +34 -0
- pyrogram/raw/base/messages/__init__.py +62 -0
- pyrogram/raw/base/messages/affected_found_messages.py +44 -0
- pyrogram/raw/base/messages/affected_history.py +50 -0
- pyrogram/raw/base/messages/affected_messages.py +47 -0
- pyrogram/raw/base/messages/all_stickers.py +47 -0
- pyrogram/raw/base/messages/archived_stickers.py +44 -0
- pyrogram/raw/base/messages/available_effects.py +45 -0
- pyrogram/raw/base/messages/available_reactions.py +45 -0
- pyrogram/raw/base/messages/bot_app.py +44 -0
- pyrogram/raw/base/messages/bot_callback_answer.py +44 -0
- pyrogram/raw/base/messages/bot_results.py +44 -0
- pyrogram/raw/base/messages/chat_admins_with_invites.py +44 -0
- pyrogram/raw/base/messages/chat_full.py +45 -0
- pyrogram/raw/base/messages/chat_invite_importers.py +44 -0
- pyrogram/raw/base/messages/chats.py +52 -0
- pyrogram/raw/base/messages/checked_history_import_peer.py +44 -0
- pyrogram/raw/base/messages/dh_config.py +45 -0
- pyrogram/raw/base/messages/dialog_filters.py +44 -0
- pyrogram/raw/base/messages/dialogs.py +46 -0
- pyrogram/raw/base/messages/discussion_message.py +44 -0
- pyrogram/raw/base/messages/emoji_groups.py +48 -0
- pyrogram/raw/base/messages/exported_chat_invite.py +46 -0
- pyrogram/raw/base/messages/exported_chat_invites.py +44 -0
- pyrogram/raw/base/messages/faved_stickers.py +45 -0
- pyrogram/raw/base/messages/featured_stickers.py +47 -0
- pyrogram/raw/base/messages/forum_topics.py +45 -0
- pyrogram/raw/base/messages/found_sticker_sets.py +46 -0
- pyrogram/raw/base/messages/high_scores.py +45 -0
- pyrogram/raw/base/messages/history_import.py +44 -0
- pyrogram/raw/base/messages/history_import_parsed.py +44 -0
- pyrogram/raw/base/messages/inactive_chats.py +44 -0
- pyrogram/raw/base/messages/invited_users.py +46 -0
- pyrogram/raw/base/messages/message_edit_data.py +44 -0
- pyrogram/raw/base/messages/message_reactions_list.py +44 -0
- pyrogram/raw/base/messages/message_views.py +44 -0
- pyrogram/raw/base/messages/messages.py +61 -0
- pyrogram/raw/base/messages/my_stickers.py +44 -0
- pyrogram/raw/base/messages/peer_dialogs.py +45 -0
- pyrogram/raw/base/messages/peer_settings.py +44 -0
- pyrogram/raw/base/messages/quick_replies.py +45 -0
- pyrogram/raw/base/messages/reactions.py +47 -0
- pyrogram/raw/base/messages/recent_stickers.py +45 -0
- pyrogram/raw/base/messages/saved_dialogs.py +47 -0
- pyrogram/raw/base/messages/saved_gifs.py +45 -0
- pyrogram/raw/base/messages/saved_reaction_tags.py +45 -0
- pyrogram/raw/base/messages/search_counter.py +44 -0
- pyrogram/raw/base/messages/search_results_calendar.py +44 -0
- pyrogram/raw/base/messages/search_results_positions.py +44 -0
- pyrogram/raw/base/messages/sent_encrypted_message.py +47 -0
- pyrogram/raw/base/messages/sponsored_messages.py +45 -0
- pyrogram/raw/base/messages/sticker_set.py +53 -0
- pyrogram/raw/base/messages/sticker_set_install_result.py +45 -0
- pyrogram/raw/base/messages/stickers.py +45 -0
- pyrogram/raw/base/messages/transcribed_audio.py +44 -0
- pyrogram/raw/base/messages/translated_text.py +44 -0
- pyrogram/raw/base/messages/votes_list.py +44 -0
- pyrogram/raw/base/messages/web_page.py +44 -0
- pyrogram/raw/base/messages_filter.py +50 -0
- pyrogram/raw/base/missing_invitee.py +34 -0
- pyrogram/raw/base/msg_detailed_info.py +35 -0
- pyrogram/raw/base/msg_resend_req.py +35 -0
- pyrogram/raw/base/msgs_ack.py +34 -0
- pyrogram/raw/base/msgs_all_info.py +34 -0
- pyrogram/raw/base/msgs_state_info.py +34 -0
- pyrogram/raw/base/msgs_state_req.py +34 -0
- pyrogram/raw/base/my_boost.py +34 -0
- pyrogram/raw/base/nearest_dc.py +44 -0
- pyrogram/raw/base/new_session.py +34 -0
- pyrogram/raw/base/notification_sound.py +37 -0
- pyrogram/raw/base/notify_peer.py +38 -0
- pyrogram/raw/base/outbox_read_date.py +44 -0
- pyrogram/raw/base/page.py +34 -0
- pyrogram/raw/base/page_block.py +62 -0
- pyrogram/raw/base/page_caption.py +34 -0
- pyrogram/raw/base/page_list_item.py +35 -0
- pyrogram/raw/base/page_list_ordered_item.py +35 -0
- pyrogram/raw/base/page_related_article.py +34 -0
- pyrogram/raw/base/page_table_cell.py +34 -0
- pyrogram/raw/base/page_table_row.py +34 -0
- pyrogram/raw/base/password_kdf_algo.py +35 -0
- pyrogram/raw/base/payment_charge.py +34 -0
- pyrogram/raw/base/payment_form_method.py +34 -0
- pyrogram/raw/base/payment_requested_info.py +34 -0
- pyrogram/raw/base/payment_saved_credentials.py +34 -0
- pyrogram/raw/base/payments/__init__.py +19 -0
- pyrogram/raw/base/payments/bank_card_data.py +44 -0
- pyrogram/raw/base/payments/checked_gift_code.py +44 -0
- pyrogram/raw/base/payments/exported_invoice.py +44 -0
- pyrogram/raw/base/payments/giveaway_info.py +45 -0
- pyrogram/raw/base/payments/payment_form.py +45 -0
- pyrogram/raw/base/payments/payment_receipt.py +45 -0
- pyrogram/raw/base/payments/payment_result.py +46 -0
- pyrogram/raw/base/payments/saved_info.py +44 -0
- pyrogram/raw/base/payments/stars_revenue_ads_account_url.py +44 -0
- pyrogram/raw/base/payments/stars_revenue_stats.py +44 -0
- pyrogram/raw/base/payments/stars_revenue_withdrawal_url.py +44 -0
- pyrogram/raw/base/payments/stars_status.py +46 -0
- pyrogram/raw/base/payments/validated_requested_info.py +44 -0
- pyrogram/raw/base/peer.py +46 -0
- pyrogram/raw/base/peer_blocked.py +34 -0
- pyrogram/raw/base/peer_color.py +34 -0
- pyrogram/raw/base/peer_located.py +35 -0
- pyrogram/raw/base/peer_notify_settings.py +44 -0
- pyrogram/raw/base/peer_settings.py +34 -0
- pyrogram/raw/base/peer_stories.py +34 -0
- pyrogram/raw/base/phone/__init__.py +13 -0
- pyrogram/raw/base/phone/exported_group_call_invite.py +44 -0
- pyrogram/raw/base/phone/group_call.py +44 -0
- pyrogram/raw/base/phone/group_call_stream_channels.py +44 -0
- pyrogram/raw/base/phone/group_call_stream_rtmp_url.py +44 -0
- pyrogram/raw/base/phone/group_participants.py +44 -0
- pyrogram/raw/base/phone/join_as_peers.py +44 -0
- pyrogram/raw/base/phone/phone_call.py +46 -0
- pyrogram/raw/base/phone_call.py +39 -0
- pyrogram/raw/base/phone_call_discard_reason.py +37 -0
- pyrogram/raw/base/phone_call_protocol.py +34 -0
- pyrogram/raw/base/phone_connection.py +35 -0
- pyrogram/raw/base/photo.py +35 -0
- pyrogram/raw/base/photo_size.py +39 -0
- pyrogram/raw/base/photos/__init__.py +8 -0
- pyrogram/raw/base/photos/photo.py +46 -0
- pyrogram/raw/base/photos/photos.py +45 -0
- pyrogram/raw/base/poll.py +34 -0
- pyrogram/raw/base/poll_answer.py +34 -0
- pyrogram/raw/base/poll_answer_voters.py +34 -0
- pyrogram/raw/base/poll_results.py +34 -0
- pyrogram/raw/base/pong.py +45 -0
- pyrogram/raw/base/popular_contact.py +34 -0
- pyrogram/raw/base/post_address.py +34 -0
- pyrogram/raw/base/post_interaction_counters.py +35 -0
- pyrogram/raw/base/pq_inner_data.py +37 -0
- pyrogram/raw/base/premium/__init__.py +9 -0
- pyrogram/raw/base/premium/boosts_list.py +45 -0
- pyrogram/raw/base/premium/boosts_status.py +44 -0
- pyrogram/raw/base/premium/my_boosts.py +45 -0
- pyrogram/raw/base/premium_gift_code_option.py +44 -0
- pyrogram/raw/base/premium_gift_option.py +34 -0
- pyrogram/raw/base/premium_subscription_option.py +34 -0
- pyrogram/raw/base/prepaid_giveaway.py +34 -0
- pyrogram/raw/base/privacy_key.py +44 -0
- pyrogram/raw/base/privacy_rule.py +43 -0
- pyrogram/raw/base/public_forward.py +35 -0
- pyrogram/raw/base/quick_reply.py +34 -0
- pyrogram/raw/base/reaction.py +36 -0
- pyrogram/raw/base/reaction_count.py +34 -0
- pyrogram/raw/base/reaction_notifications_from.py +35 -0
- pyrogram/raw/base/reactions_notify_settings.py +45 -0
- pyrogram/raw/base/read_participant_date.py +44 -0
- pyrogram/raw/base/received_notify_message.py +44 -0
- pyrogram/raw/base/recent_me_url.py +38 -0
- pyrogram/raw/base/reply_markup.py +37 -0
- pyrogram/raw/base/report_reason.py +43 -0
- pyrogram/raw/base/request_peer_type.py +36 -0
- pyrogram/raw/base/requested_peer.py +36 -0
- pyrogram/raw/base/res_pq.py +45 -0
- pyrogram/raw/base/restriction_reason.py +34 -0
- pyrogram/raw/base/rich_text.py +49 -0
- pyrogram/raw/base/rpc_drop_answer.py +46 -0
- pyrogram/raw/base/rpc_error.py +34 -0
- pyrogram/raw/base/rpc_result.py +34 -0
- pyrogram/raw/base/saved_contact.py +44 -0
- pyrogram/raw/base/saved_dialog.py +34 -0
- pyrogram/raw/base/saved_reaction_tag.py +34 -0
- pyrogram/raw/base/search_results_calendar_period.py +34 -0
- pyrogram/raw/base/search_results_position.py +34 -0
- pyrogram/raw/base/secure_credentials_encrypted.py +34 -0
- pyrogram/raw/base/secure_data.py +34 -0
- pyrogram/raw/base/secure_file.py +35 -0
- pyrogram/raw/base/secure_password_kdf_algo.py +36 -0
- pyrogram/raw/base/secure_plain_data.py +35 -0
- pyrogram/raw/base/secure_required_type.py +35 -0
- pyrogram/raw/base/secure_secret_settings.py +34 -0
- pyrogram/raw/base/secure_value.py +46 -0
- pyrogram/raw/base/secure_value_error.py +42 -0
- pyrogram/raw/base/secure_value_hash.py +34 -0
- pyrogram/raw/base/secure_value_type.py +46 -0
- pyrogram/raw/base/send_as_peer.py +34 -0
- pyrogram/raw/base/send_message_action.py +51 -0
- pyrogram/raw/base/server_dh_inner_data.py +34 -0
- pyrogram/raw/base/server_dh_params.py +45 -0
- pyrogram/raw/base/set_client_dh_params_answer.py +46 -0
- pyrogram/raw/base/shipping_option.py +34 -0
- pyrogram/raw/base/sms_job.py +44 -0
- pyrogram/raw/base/smsjobs/__init__.py +8 -0
- pyrogram/raw/base/smsjobs/eligibility_to_join.py +44 -0
- pyrogram/raw/base/smsjobs/status.py +44 -0
- pyrogram/raw/base/sponsored_message.py +34 -0
- pyrogram/raw/base/sponsored_message_report_option.py +34 -0
- pyrogram/raw/base/stars_revenue_status.py +34 -0
- pyrogram/raw/base/stars_topup_option.py +44 -0
- pyrogram/raw/base/stars_transaction.py +34 -0
- pyrogram/raw/base/stars_transaction_peer.py +40 -0
- pyrogram/raw/base/stats/__init__.py +14 -0
- pyrogram/raw/base/stats/broadcast_revenue_stats.py +44 -0
- pyrogram/raw/base/stats/broadcast_revenue_transactions.py +44 -0
- pyrogram/raw/base/stats/broadcast_revenue_withdrawal_url.py +44 -0
- pyrogram/raw/base/stats/broadcast_stats.py +44 -0
- pyrogram/raw/base/stats/megagroup_stats.py +44 -0
- pyrogram/raw/base/stats/message_stats.py +44 -0
- pyrogram/raw/base/stats/public_forwards.py +45 -0
- pyrogram/raw/base/stats/story_stats.py +44 -0
- pyrogram/raw/base/stats_abs_value_and_prev.py +34 -0
- pyrogram/raw/base/stats_date_range_days.py +34 -0
- pyrogram/raw/base/stats_graph.py +46 -0
- pyrogram/raw/base/stats_group_top_admin.py +34 -0
- pyrogram/raw/base/stats_group_top_inviter.py +34 -0
- pyrogram/raw/base/stats_group_top_poster.py +34 -0
- pyrogram/raw/base/stats_percent_value.py +34 -0
- pyrogram/raw/base/stats_url.py +34 -0
- pyrogram/raw/base/sticker_keyword.py +34 -0
- pyrogram/raw/base/sticker_pack.py +34 -0
- pyrogram/raw/base/sticker_set.py +34 -0
- pyrogram/raw/base/sticker_set_covered.py +47 -0
- pyrogram/raw/base/stickers/__init__.py +7 -0
- pyrogram/raw/base/stickers/suggested_short_name.py +44 -0
- pyrogram/raw/base/storage/__init__.py +7 -0
- pyrogram/raw/base/storage/file_type.py +43 -0
- pyrogram/raw/base/stories/__init__.py +13 -0
- pyrogram/raw/base/stories/all_stories.py +45 -0
- pyrogram/raw/base/stories/found_stories.py +44 -0
- pyrogram/raw/base/stories/peer_stories.py +44 -0
- pyrogram/raw/base/stories/stories.py +46 -0
- pyrogram/raw/base/stories/story_reactions_list.py +44 -0
- pyrogram/raw/base/stories/story_views.py +44 -0
- pyrogram/raw/base/stories/story_views_list.py +44 -0
- pyrogram/raw/base/stories_stealth_mode.py +34 -0
- pyrogram/raw/base/story_fwd_header.py +34 -0
- pyrogram/raw/base/story_item.py +36 -0
- pyrogram/raw/base/story_reaction.py +36 -0
- pyrogram/raw/base/story_view.py +36 -0
- pyrogram/raw/base/story_views.py +34 -0
- pyrogram/raw/base/text_with_entities.py +34 -0
- pyrogram/raw/base/theme.py +46 -0
- pyrogram/raw/base/theme_settings.py +34 -0
- pyrogram/raw/base/timezone.py +34 -0
- pyrogram/raw/base/top_peer.py +34 -0
- pyrogram/raw/base/top_peer_category.py +41 -0
- pyrogram/raw/base/top_peer_category_peers.py +34 -0
- pyrogram/raw/base/update.py +172 -0
- pyrogram/raw/base/updates/__init__.py +9 -0
- pyrogram/raw/base/updates/channel_difference.py +46 -0
- pyrogram/raw/base/updates/difference.py +47 -0
- pyrogram/raw/base/updates/state.py +44 -0
- pyrogram/raw/base/updates_t.py +152 -0
- pyrogram/raw/base/upload/__init__.py +9 -0
- pyrogram/raw/base/upload/cdn_file.py +45 -0
- pyrogram/raw/base/upload/file.py +45 -0
- pyrogram/raw/base/upload/web_file.py +44 -0
- pyrogram/raw/base/url_auth_result.py +47 -0
- pyrogram/raw/base/user.py +49 -0
- pyrogram/raw/base/user_full.py +34 -0
- pyrogram/raw/base/user_profile_photo.py +35 -0
- pyrogram/raw/base/user_status.py +39 -0
- pyrogram/raw/base/username.py +34 -0
- pyrogram/raw/base/users/__init__.py +7 -0
- pyrogram/raw/base/users/user_full.py +44 -0
- pyrogram/raw/base/video_size.py +36 -0
- pyrogram/raw/base/wall_paper.py +47 -0
- pyrogram/raw/base/wall_paper_settings.py +34 -0
- pyrogram/raw/base/web_authorization.py +34 -0
- pyrogram/raw/base/web_document.py +35 -0
- pyrogram/raw/base/web_page.py +37 -0
- pyrogram/raw/base/web_page_attribute.py +36 -0
- pyrogram/raw/base/web_view_message_sent.py +44 -0
- pyrogram/raw/base/web_view_result.py +46 -0
- pyrogram/raw/core/__init__.py +13 -0
- pyrogram/raw/core/future_salt.py +35 -0
- pyrogram/raw/core/future_salts.py +45 -0
- pyrogram/raw/core/gzip_packed.py +43 -0
- pyrogram/raw/core/list.py +8 -0
- pyrogram/raw/core/message.py +38 -0
- pyrogram/raw/core/msg_container.py +35 -0
- pyrogram/raw/core/primitives/__init__.py +6 -0
- pyrogram/raw/core/primitives/bool.py +30 -0
- pyrogram/raw/core/primitives/bytes.py +37 -0
- pyrogram/raw/core/primitives/double.py +14 -0
- pyrogram/raw/core/primitives/int.py +27 -0
- pyrogram/raw/core/primitives/string.py +13 -0
- pyrogram/raw/core/primitives/vector.py +51 -0
- pyrogram/raw/core/tl_object.py +64 -0
- pyrogram/raw/functions/__init__.py +27 -0
- pyrogram/raw/functions/account/__init__.py +118 -0
- pyrogram/raw/functions/account/accept_authorization.py +86 -0
- pyrogram/raw/functions/account/cancel_password_email.py +49 -0
- pyrogram/raw/functions/account/change_authorization_settings.py +80 -0
- pyrogram/raw/functions/account/change_phone.py +70 -0
- pyrogram/raw/functions/account/check_username.py +54 -0
- pyrogram/raw/functions/account/clear_recent_emoji_statuses.py +49 -0
- pyrogram/raw/functions/account/confirm_password_email.py +54 -0
- pyrogram/raw/functions/account/confirm_phone.py +62 -0
- pyrogram/raw/functions/account/create_business_chat_link.py +54 -0
- pyrogram/raw/functions/account/create_theme.py +84 -0
- pyrogram/raw/functions/account/decline_password_reset.py +49 -0
- pyrogram/raw/functions/account/delete_account.py +66 -0
- pyrogram/raw/functions/account/delete_auto_save_exceptions.py +49 -0
- pyrogram/raw/functions/account/delete_business_chat_link.py +54 -0
- pyrogram/raw/functions/account/delete_secure_value.py +54 -0
- pyrogram/raw/functions/account/disable_peer_connected_bot.py +54 -0
- pyrogram/raw/functions/account/edit_business_chat_link.py +62 -0
- pyrogram/raw/functions/account/finish_takeout_session.py +54 -0
- pyrogram/raw/functions/account/get_account_ttl.py +49 -0
- pyrogram/raw/functions/account/get_all_secure_values.py +49 -0
- pyrogram/raw/functions/account/get_authorization_form.py +70 -0
- pyrogram/raw/functions/account/get_authorizations.py +49 -0
- pyrogram/raw/functions/account/get_auto_download_settings.py +49 -0
- pyrogram/raw/functions/account/get_auto_save_settings.py +49 -0
- pyrogram/raw/functions/account/get_bot_business_connection.py +54 -0
- pyrogram/raw/functions/account/get_business_chat_links.py +49 -0
- pyrogram/raw/functions/account/get_channel_default_emoji_statuses.py +54 -0
- pyrogram/raw/functions/account/get_channel_restricted_status_emojis.py +54 -0
- pyrogram/raw/functions/account/get_chat_themes.py +54 -0
- pyrogram/raw/functions/account/get_connected_bots.py +49 -0
- pyrogram/raw/functions/account/get_contact_sign_up_notification.py +49 -0
- pyrogram/raw/functions/account/get_content_settings.py +49 -0
- pyrogram/raw/functions/account/get_default_background_emojis.py +54 -0
- pyrogram/raw/functions/account/get_default_emoji_statuses.py +54 -0
- pyrogram/raw/functions/account/get_default_group_photo_emojis.py +54 -0
- pyrogram/raw/functions/account/get_default_profile_photo_emojis.py +54 -0
- pyrogram/raw/functions/account/get_global_privacy_settings.py +49 -0
- pyrogram/raw/functions/account/get_multi_wall_papers.py +54 -0
- pyrogram/raw/functions/account/get_notify_exceptions.py +70 -0
- pyrogram/raw/functions/account/get_notify_settings.py +54 -0
- pyrogram/raw/functions/account/get_password.py +49 -0
- pyrogram/raw/functions/account/get_password_settings.py +54 -0
- pyrogram/raw/functions/account/get_privacy.py +54 -0
- pyrogram/raw/functions/account/get_reactions_notify_settings.py +49 -0
- pyrogram/raw/functions/account/get_recent_emoji_statuses.py +54 -0
- pyrogram/raw/functions/account/get_saved_ringtones.py +54 -0
- pyrogram/raw/functions/account/get_secure_value.py +54 -0
- pyrogram/raw/functions/account/get_theme.py +62 -0
- pyrogram/raw/functions/account/get_themes.py +62 -0
- pyrogram/raw/functions/account/get_tmp_password.py +62 -0
- pyrogram/raw/functions/account/get_wall_paper.py +54 -0
- pyrogram/raw/functions/account/get_wall_papers.py +54 -0
- pyrogram/raw/functions/account/get_web_authorizations.py +49 -0
- pyrogram/raw/functions/account/init_takeout_session.py +93 -0
- pyrogram/raw/functions/account/install_theme.py +83 -0
- pyrogram/raw/functions/account/install_wall_paper.py +62 -0
- pyrogram/raw/functions/account/invalidate_sign_in_codes.py +54 -0
- pyrogram/raw/functions/account/register_device.py +94 -0
- pyrogram/raw/functions/account/reorder_usernames.py +54 -0
- pyrogram/raw/functions/account/report_peer.py +70 -0
- pyrogram/raw/functions/account/report_profile_photo.py +78 -0
- pyrogram/raw/functions/account/resend_password_email.py +49 -0
- pyrogram/raw/functions/account/reset_authorization.py +54 -0
- pyrogram/raw/functions/account/reset_notify_settings.py +49 -0
- pyrogram/raw/functions/account/reset_password.py +49 -0
- pyrogram/raw/functions/account/reset_wall_papers.py +49 -0
- pyrogram/raw/functions/account/reset_web_authorization.py +54 -0
- pyrogram/raw/functions/account/reset_web_authorizations.py +49 -0
- pyrogram/raw/functions/account/resolve_business_chat_link.py +54 -0
- pyrogram/raw/functions/account/save_auto_download_settings.py +68 -0
- pyrogram/raw/functions/account/save_auto_save_settings.py +84 -0
- pyrogram/raw/functions/account/save_ringtone.py +62 -0
- pyrogram/raw/functions/account/save_secure_value.py +62 -0
- pyrogram/raw/functions/account/save_theme.py +62 -0
- pyrogram/raw/functions/account/save_wall_paper.py +70 -0
- pyrogram/raw/functions/account/send_change_phone_code.py +62 -0
- pyrogram/raw/functions/account/send_confirm_phone_code.py +62 -0
- pyrogram/raw/functions/account/send_verify_email_code.py +62 -0
- pyrogram/raw/functions/account/send_verify_phone_code.py +62 -0
- pyrogram/raw/functions/account/set_account_ttl.py +54 -0
- pyrogram/raw/functions/account/set_authorization_ttl.py +54 -0
- pyrogram/raw/functions/account/set_contact_sign_up_notification.py +54 -0
- pyrogram/raw/functions/account/set_content_settings.py +54 -0
- pyrogram/raw/functions/account/set_global_privacy_settings.py +54 -0
- pyrogram/raw/functions/account/set_privacy.py +62 -0
- pyrogram/raw/functions/account/set_reactions_notify_settings.py +54 -0
- pyrogram/raw/functions/account/toggle_connected_bot_paused.py +62 -0
- pyrogram/raw/functions/account/toggle_sponsored_messages.py +54 -0
- pyrogram/raw/functions/account/toggle_username.py +62 -0
- pyrogram/raw/functions/account/unregister_device.py +70 -0
- pyrogram/raw/functions/account/update_birthday.py +58 -0
- pyrogram/raw/functions/account/update_business_away_message.py +58 -0
- pyrogram/raw/functions/account/update_business_greeting_message.py +58 -0
- pyrogram/raw/functions/account/update_business_intro.py +58 -0
- pyrogram/raw/functions/account/update_business_location.py +67 -0
- pyrogram/raw/functions/account/update_business_work_hours.py +58 -0
- pyrogram/raw/functions/account/update_color.py +72 -0
- pyrogram/raw/functions/account/update_connected_bot.py +76 -0
- pyrogram/raw/functions/account/update_device_locked.py +54 -0
- pyrogram/raw/functions/account/update_emoji_status.py +54 -0
- pyrogram/raw/functions/account/update_notify_settings.py +62 -0
- pyrogram/raw/functions/account/update_password_settings.py +62 -0
- pyrogram/raw/functions/account/update_personal_channel.py +54 -0
- pyrogram/raw/functions/account/update_profile.py +75 -0
- pyrogram/raw/functions/account/update_status.py +54 -0
- pyrogram/raw/functions/account/update_theme.py +102 -0
- pyrogram/raw/functions/account/update_username.py +54 -0
- pyrogram/raw/functions/account/upload_ringtone.py +70 -0
- pyrogram/raw/functions/account/upload_theme.py +82 -0
- pyrogram/raw/functions/account/upload_wall_paper.py +78 -0
- pyrogram/raw/functions/account/verify_email.py +62 -0
- pyrogram/raw/functions/account/verify_phone.py +70 -0
- pyrogram/raw/functions/auth/__init__.py +29 -0
- pyrogram/raw/functions/auth/accept_login_token.py +54 -0
- pyrogram/raw/functions/auth/bind_temp_auth_key.py +78 -0
- pyrogram/raw/functions/auth/cancel_code.py +62 -0
- pyrogram/raw/functions/auth/check_password.py +54 -0
- pyrogram/raw/functions/auth/check_recovery_password.py +54 -0
- pyrogram/raw/functions/auth/drop_temp_auth_keys.py +54 -0
- pyrogram/raw/functions/auth/export_authorization.py +54 -0
- pyrogram/raw/functions/auth/export_login_token.py +70 -0
- pyrogram/raw/functions/auth/import_authorization.py +62 -0
- pyrogram/raw/functions/auth/import_bot_authorization.py +78 -0
- pyrogram/raw/functions/auth/import_login_token.py +54 -0
- pyrogram/raw/functions/auth/import_web_token_authorization.py +70 -0
- pyrogram/raw/functions/auth/log_out.py +49 -0
- pyrogram/raw/functions/auth/recover_password.py +66 -0
- pyrogram/raw/functions/auth/report_missing_code.py +70 -0
- pyrogram/raw/functions/auth/request_firebase_sms.py +91 -0
- pyrogram/raw/functions/auth/request_password_recovery.py +49 -0
- pyrogram/raw/functions/auth/resend_code.py +73 -0
- pyrogram/raw/functions/auth/reset_authorizations.py +49 -0
- pyrogram/raw/functions/auth/reset_login_email.py +62 -0
- pyrogram/raw/functions/auth/send_code.py +78 -0
- pyrogram/raw/functions/auth/sign_in.py +83 -0
- pyrogram/raw/functions/auth/sign_up.py +86 -0
- pyrogram/raw/functions/bots/__init__.py +22 -0
- pyrogram/raw/functions/bots/allow_send_message.py +54 -0
- pyrogram/raw/functions/bots/answer_webhook_json_query.py +62 -0
- pyrogram/raw/functions/bots/can_send_message.py +54 -0
- pyrogram/raw/functions/bots/get_bot_commands.py +62 -0
- pyrogram/raw/functions/bots/get_bot_info.py +66 -0
- pyrogram/raw/functions/bots/get_bot_menu_button.py +54 -0
- pyrogram/raw/functions/bots/invoke_web_view_custom_method.py +70 -0
- pyrogram/raw/functions/bots/reorder_usernames.py +62 -0
- pyrogram/raw/functions/bots/reset_bot_commands.py +62 -0
- pyrogram/raw/functions/bots/send_custom_request.py +62 -0
- pyrogram/raw/functions/bots/set_bot_broadcast_default_admin_rights.py +54 -0
- pyrogram/raw/functions/bots/set_bot_commands.py +70 -0
- pyrogram/raw/functions/bots/set_bot_group_default_admin_rights.py +54 -0
- pyrogram/raw/functions/bots/set_bot_info.py +93 -0
- pyrogram/raw/functions/bots/set_bot_menu_button.py +62 -0
- pyrogram/raw/functions/bots/toggle_username.py +70 -0
- pyrogram/raw/functions/channels/__init__.py +71 -0
- pyrogram/raw/functions/channels/check_username.py +62 -0
- pyrogram/raw/functions/channels/click_sponsored_message.py +62 -0
- pyrogram/raw/functions/channels/convert_to_gigagroup.py +54 -0
- pyrogram/raw/functions/channels/create_channel.py +116 -0
- pyrogram/raw/functions/channels/create_forum_topic.py +100 -0
- pyrogram/raw/functions/channels/deactivate_all_usernames.py +54 -0
- pyrogram/raw/functions/channels/delete_channel.py +54 -0
- pyrogram/raw/functions/channels/delete_history.py +70 -0
- pyrogram/raw/functions/channels/delete_messages.py +62 -0
- pyrogram/raw/functions/channels/delete_participant_history.py +62 -0
- pyrogram/raw/functions/channels/delete_topic_history.py +62 -0
- pyrogram/raw/functions/channels/edit_admin.py +78 -0
- pyrogram/raw/functions/channels/edit_banned.py +70 -0
- pyrogram/raw/functions/channels/edit_creator.py +70 -0
- pyrogram/raw/functions/channels/edit_forum_topic.py +100 -0
- pyrogram/raw/functions/channels/edit_location.py +70 -0
- pyrogram/raw/functions/channels/edit_photo.py +62 -0
- pyrogram/raw/functions/channels/edit_title.py +62 -0
- pyrogram/raw/functions/channels/export_message_link.py +76 -0
- pyrogram/raw/functions/channels/get_admin_log.py +108 -0
- pyrogram/raw/functions/channels/get_admined_public_channels.py +66 -0
- pyrogram/raw/functions/channels/get_channel_recommendations.py +58 -0
- pyrogram/raw/functions/channels/get_channels.py +54 -0
- pyrogram/raw/functions/channels/get_forum_topics.py +97 -0
- pyrogram/raw/functions/channels/get_forum_topics_by_id.py +62 -0
- pyrogram/raw/functions/channels/get_full_channel.py +54 -0
- pyrogram/raw/functions/channels/get_groups_for_discussion.py +49 -0
- pyrogram/raw/functions/channels/get_inactive_channels.py +49 -0
- pyrogram/raw/functions/channels/get_left_channels.py +54 -0
- pyrogram/raw/functions/channels/get_messages.py +62 -0
- pyrogram/raw/functions/channels/get_participant.py +62 -0
- pyrogram/raw/functions/channels/get_participants.py +86 -0
- pyrogram/raw/functions/channels/get_send_as.py +54 -0
- pyrogram/raw/functions/channels/get_sponsored_messages.py +54 -0
- pyrogram/raw/functions/channels/invite_to_channel.py +62 -0
- pyrogram/raw/functions/channels/join_channel.py +54 -0
- pyrogram/raw/functions/channels/leave_channel.py +54 -0
- pyrogram/raw/functions/channels/read_history.py +62 -0
- pyrogram/raw/functions/channels/read_message_contents.py +62 -0
- pyrogram/raw/functions/channels/reorder_pinned_forum_topics.py +70 -0
- pyrogram/raw/functions/channels/reorder_usernames.py +62 -0
- pyrogram/raw/functions/channels/report_anti_spam_false_positive.py +62 -0
- pyrogram/raw/functions/channels/report_spam.py +70 -0
- pyrogram/raw/functions/channels/report_sponsored_message.py +70 -0
- pyrogram/raw/functions/channels/restrict_sponsored_messages.py +62 -0
- pyrogram/raw/functions/channels/search_posts.py +86 -0
- pyrogram/raw/functions/channels/set_boosts_to_unblock_restrictions.py +62 -0
- pyrogram/raw/functions/channels/set_discussion_group.py +62 -0
- pyrogram/raw/functions/channels/set_emoji_stickers.py +62 -0
- pyrogram/raw/functions/channels/set_stickers.py +62 -0
- pyrogram/raw/functions/channels/toggle_anti_spam.py +62 -0
- pyrogram/raw/functions/channels/toggle_forum.py +62 -0
- pyrogram/raw/functions/channels/toggle_join_request.py +62 -0
- pyrogram/raw/functions/channels/toggle_join_to_send.py +62 -0
- pyrogram/raw/functions/channels/toggle_participants_hidden.py +62 -0
- pyrogram/raw/functions/channels/toggle_pre_history_hidden.py +62 -0
- pyrogram/raw/functions/channels/toggle_signatures.py +62 -0
- pyrogram/raw/functions/channels/toggle_slow_mode.py +62 -0
- pyrogram/raw/functions/channels/toggle_username.py +70 -0
- pyrogram/raw/functions/channels/toggle_view_forum_as_messages.py +62 -0
- pyrogram/raw/functions/channels/update_color.py +80 -0
- pyrogram/raw/functions/channels/update_emoji_status.py +62 -0
- pyrogram/raw/functions/channels/update_pinned_forum_topic.py +70 -0
- pyrogram/raw/functions/channels/update_username.py +62 -0
- pyrogram/raw/functions/channels/view_sponsored_message.py +62 -0
- pyrogram/raw/functions/chatlists/__init__.py +17 -0
- pyrogram/raw/functions/chatlists/check_chatlist_invite.py +54 -0
- pyrogram/raw/functions/chatlists/delete_exported_invite.py +62 -0
- pyrogram/raw/functions/chatlists/edit_exported_invite.py +83 -0
- pyrogram/raw/functions/chatlists/export_chatlist_invite.py +70 -0
- pyrogram/raw/functions/chatlists/get_chatlist_updates.py +54 -0
- pyrogram/raw/functions/chatlists/get_exported_invites.py +54 -0
- pyrogram/raw/functions/chatlists/get_leave_chatlist_suggestions.py +54 -0
- pyrogram/raw/functions/chatlists/hide_chatlist_updates.py +54 -0
- pyrogram/raw/functions/chatlists/join_chatlist_invite.py +62 -0
- pyrogram/raw/functions/chatlists/join_chatlist_updates.py +62 -0
- pyrogram/raw/functions/chatlists/leave_chatlist.py +62 -0
- pyrogram/raw/functions/contacts/__init__.py +32 -0
- pyrogram/raw/functions/contacts/accept_contact.py +54 -0
- pyrogram/raw/functions/contacts/add_contact.py +86 -0
- pyrogram/raw/functions/contacts/block.py +62 -0
- pyrogram/raw/functions/contacts/block_from_replies.py +74 -0
- pyrogram/raw/functions/contacts/delete_by_phones.py +54 -0
- pyrogram/raw/functions/contacts/delete_contacts.py +54 -0
- pyrogram/raw/functions/contacts/edit_close_friends.py +54 -0
- pyrogram/raw/functions/contacts/export_contact_token.py +49 -0
- pyrogram/raw/functions/contacts/get_birthdays.py +49 -0
- pyrogram/raw/functions/contacts/get_blocked.py +70 -0
- pyrogram/raw/functions/contacts/get_contact_i_ds.py +54 -0
- pyrogram/raw/functions/contacts/get_contacts.py +54 -0
- pyrogram/raw/functions/contacts/get_located.py +71 -0
- pyrogram/raw/functions/contacts/get_saved.py +49 -0
- pyrogram/raw/functions/contacts/get_statuses.py +49 -0
- pyrogram/raw/functions/contacts/get_top_peers.py +120 -0
- pyrogram/raw/functions/contacts/import_contact_token.py +54 -0
- pyrogram/raw/functions/contacts/import_contacts.py +54 -0
- pyrogram/raw/functions/contacts/reset_saved.py +49 -0
- pyrogram/raw/functions/contacts/reset_top_peer_rating.py +62 -0
- pyrogram/raw/functions/contacts/resolve_phone.py +54 -0
- pyrogram/raw/functions/contacts/resolve_username.py +54 -0
- pyrogram/raw/functions/contacts/search.py +62 -0
- pyrogram/raw/functions/contacts/set_blocked.py +70 -0
- pyrogram/raw/functions/contacts/toggle_top_peers.py +54 -0
- pyrogram/raw/functions/contacts/unblock.py +62 -0
- pyrogram/raw/functions/contest/__init__.py +7 -0
- pyrogram/raw/functions/contest/save_developer_info.py +86 -0
- pyrogram/raw/functions/destroy_auth_key.py +49 -0
- pyrogram/raw/functions/destroy_session.py +54 -0
- pyrogram/raw/functions/folders/__init__.py +7 -0
- pyrogram/raw/functions/folders/edit_peer_folders.py +54 -0
- pyrogram/raw/functions/fragment/__init__.py +7 -0
- pyrogram/raw/functions/fragment/get_collectible_info.py +54 -0
- pyrogram/raw/functions/get_future_salts.py +54 -0
- pyrogram/raw/functions/help/__init__.py +31 -0
- pyrogram/raw/functions/help/accept_terms_of_service.py +54 -0
- pyrogram/raw/functions/help/dismiss_suggestion.py +62 -0
- pyrogram/raw/functions/help/edit_user_info.py +70 -0
- pyrogram/raw/functions/help/get_app_config.py +54 -0
- pyrogram/raw/functions/help/get_app_update.py +54 -0
- pyrogram/raw/functions/help/get_cdn_config.py +49 -0
- pyrogram/raw/functions/help/get_config.py +49 -0
- pyrogram/raw/functions/help/get_countries_list.py +62 -0
- pyrogram/raw/functions/help/get_deep_link_info.py +54 -0
- pyrogram/raw/functions/help/get_invite_text.py +49 -0
- pyrogram/raw/functions/help/get_nearest_dc.py +49 -0
- pyrogram/raw/functions/help/get_passport_config.py +54 -0
- pyrogram/raw/functions/help/get_peer_colors.py +54 -0
- pyrogram/raw/functions/help/get_peer_profile_colors.py +54 -0
- pyrogram/raw/functions/help/get_premium_promo.py +49 -0
- pyrogram/raw/functions/help/get_promo_data.py +49 -0
- pyrogram/raw/functions/help/get_recent_me_urls.py +54 -0
- pyrogram/raw/functions/help/get_support.py +49 -0
- pyrogram/raw/functions/help/get_support_name.py +49 -0
- pyrogram/raw/functions/help/get_terms_of_service_update.py +49 -0
- pyrogram/raw/functions/help/get_timezones_list.py +54 -0
- pyrogram/raw/functions/help/get_user_info.py +54 -0
- pyrogram/raw/functions/help/hide_promo_data.py +54 -0
- pyrogram/raw/functions/help/save_app_log.py +54 -0
- pyrogram/raw/functions/help/set_bot_updates_status.py +62 -0
- pyrogram/raw/functions/init_connection.py +132 -0
- pyrogram/raw/functions/invoke_after_msg.py +62 -0
- pyrogram/raw/functions/invoke_after_msgs.py +62 -0
- pyrogram/raw/functions/invoke_with_apns_secret.py +70 -0
- pyrogram/raw/functions/invoke_with_business_connection.py +62 -0
- pyrogram/raw/functions/invoke_with_google_play_integrity.py +70 -0
- pyrogram/raw/functions/invoke_with_layer.py +62 -0
- pyrogram/raw/functions/invoke_with_messages_range.py +62 -0
- pyrogram/raw/functions/invoke_with_takeout.py +62 -0
- pyrogram/raw/functions/invoke_without_updates.py +54 -0
- pyrogram/raw/functions/langpack/__init__.py +11 -0
- pyrogram/raw/functions/langpack/get_difference.py +70 -0
- pyrogram/raw/functions/langpack/get_lang_pack.py +62 -0
- pyrogram/raw/functions/langpack/get_language.py +62 -0
- pyrogram/raw/functions/langpack/get_languages.py +54 -0
- pyrogram/raw/functions/langpack/get_strings.py +70 -0
- pyrogram/raw/functions/messages/__init__.py +219 -0
- pyrogram/raw/functions/messages/accept_encryption.py +70 -0
- pyrogram/raw/functions/messages/accept_url_auth.py +91 -0
- pyrogram/raw/functions/messages/add_chat_user.py +70 -0
- pyrogram/raw/functions/messages/check_chat_invite.py +54 -0
- pyrogram/raw/functions/messages/check_history_import.py +54 -0
- pyrogram/raw/functions/messages/check_history_import_peer.py +54 -0
- pyrogram/raw/functions/messages/check_quick_reply_shortcut.py +54 -0
- pyrogram/raw/functions/messages/clear_all_drafts.py +49 -0
- pyrogram/raw/functions/messages/clear_recent_reactions.py +49 -0
- pyrogram/raw/functions/messages/clear_recent_stickers.py +54 -0
- pyrogram/raw/functions/messages/create_chat.py +73 -0
- pyrogram/raw/functions/messages/delete_chat.py +54 -0
- pyrogram/raw/functions/messages/delete_chat_user.py +70 -0
- pyrogram/raw/functions/messages/delete_exported_chat_invite.py +62 -0
- pyrogram/raw/functions/messages/delete_fact_check.py +62 -0
- pyrogram/raw/functions/messages/delete_history.py +94 -0
- pyrogram/raw/functions/messages/delete_messages.py +62 -0
- pyrogram/raw/functions/messages/delete_phone_call_history.py +54 -0
- pyrogram/raw/functions/messages/delete_quick_reply_messages.py +62 -0
- pyrogram/raw/functions/messages/delete_quick_reply_shortcut.py +54 -0
- pyrogram/raw/functions/messages/delete_revoked_exported_chat_invites.py +62 -0
- pyrogram/raw/functions/messages/delete_saved_history.py +82 -0
- pyrogram/raw/functions/messages/delete_scheduled_messages.py +62 -0
- pyrogram/raw/functions/messages/discard_encryption.py +62 -0
- pyrogram/raw/functions/messages/edit_chat_about.py +62 -0
- pyrogram/raw/functions/messages/edit_chat_admin.py +70 -0
- pyrogram/raw/functions/messages/edit_chat_default_banned_rights.py +62 -0
- pyrogram/raw/functions/messages/edit_chat_photo.py +62 -0
- pyrogram/raw/functions/messages/edit_chat_title.py +62 -0
- pyrogram/raw/functions/messages/edit_exported_chat_invite.py +106 -0
- pyrogram/raw/functions/messages/edit_fact_check.py +70 -0
- pyrogram/raw/functions/messages/edit_inline_bot_message.py +107 -0
- pyrogram/raw/functions/messages/edit_message.py +133 -0
- pyrogram/raw/functions/messages/edit_quick_reply_shortcut.py +62 -0
- pyrogram/raw/functions/messages/export_chat_invite.py +95 -0
- pyrogram/raw/functions/messages/fave_sticker.py +62 -0
- pyrogram/raw/functions/messages/forward_messages.py +154 -0
- pyrogram/raw/functions/messages/get_admins_with_invites.py +54 -0
- pyrogram/raw/functions/messages/get_all_drafts.py +49 -0
- pyrogram/raw/functions/messages/get_all_stickers.py +54 -0
- pyrogram/raw/functions/messages/get_archived_stickers.py +76 -0
- pyrogram/raw/functions/messages/get_attach_menu_bot.py +54 -0
- pyrogram/raw/functions/messages/get_attach_menu_bots.py +54 -0
- pyrogram/raw/functions/messages/get_attached_stickers.py +54 -0
- pyrogram/raw/functions/messages/get_available_effects.py +54 -0
- pyrogram/raw/functions/messages/get_available_reactions.py +54 -0
- pyrogram/raw/functions/messages/get_bot_app.py +62 -0
- pyrogram/raw/functions/messages/get_bot_callback_answer.py +89 -0
- pyrogram/raw/functions/messages/get_chat_invite_importers.py +104 -0
- pyrogram/raw/functions/messages/get_chats.py +54 -0
- pyrogram/raw/functions/messages/get_common_chats.py +70 -0
- pyrogram/raw/functions/messages/get_custom_emoji_documents.py +54 -0
- pyrogram/raw/functions/messages/get_default_history_ttl.py +49 -0
- pyrogram/raw/functions/messages/get_default_tag_reactions.py +54 -0
- pyrogram/raw/functions/messages/get_dh_config.py +62 -0
- pyrogram/raw/functions/messages/get_dialog_filters.py +49 -0
- pyrogram/raw/functions/messages/get_dialog_unread_marks.py +49 -0
- pyrogram/raw/functions/messages/get_dialogs.py +103 -0
- pyrogram/raw/functions/messages/get_discussion_message.py +62 -0
- pyrogram/raw/functions/messages/get_document_by_hash.py +70 -0
- pyrogram/raw/functions/messages/get_emoji_groups.py +54 -0
- pyrogram/raw/functions/messages/get_emoji_keywords.py +54 -0
- pyrogram/raw/functions/messages/get_emoji_keywords_difference.py +62 -0
- pyrogram/raw/functions/messages/get_emoji_keywords_languages.py +54 -0
- pyrogram/raw/functions/messages/get_emoji_profile_photo_groups.py +54 -0
- pyrogram/raw/functions/messages/get_emoji_status_groups.py +54 -0
- pyrogram/raw/functions/messages/get_emoji_sticker_groups.py +54 -0
- pyrogram/raw/functions/messages/get_emoji_stickers.py +54 -0
- pyrogram/raw/functions/messages/get_emoji_url.py +54 -0
- pyrogram/raw/functions/messages/get_exported_chat_invite.py +62 -0
- pyrogram/raw/functions/messages/get_exported_chat_invites.py +96 -0
- pyrogram/raw/functions/messages/get_extended_media.py +62 -0
- pyrogram/raw/functions/messages/get_fact_check.py +62 -0
- pyrogram/raw/functions/messages/get_faved_stickers.py +54 -0
- pyrogram/raw/functions/messages/get_featured_emoji_stickers.py +54 -0
- pyrogram/raw/functions/messages/get_featured_stickers.py +54 -0
- pyrogram/raw/functions/messages/get_full_chat.py +54 -0
- pyrogram/raw/functions/messages/get_game_high_scores.py +70 -0
- pyrogram/raw/functions/messages/get_history.py +110 -0
- pyrogram/raw/functions/messages/get_inline_bot_results.py +90 -0
- pyrogram/raw/functions/messages/get_inline_game_high_scores.py +62 -0
- pyrogram/raw/functions/messages/get_mask_stickers.py +54 -0
- pyrogram/raw/functions/messages/get_message_edit_data.py +62 -0
- pyrogram/raw/functions/messages/get_message_reactions_list.py +91 -0
- pyrogram/raw/functions/messages/get_message_read_participants.py +62 -0
- pyrogram/raw/functions/messages/get_messages.py +54 -0
- pyrogram/raw/functions/messages/get_messages_reactions.py +62 -0
- pyrogram/raw/functions/messages/get_messages_views.py +70 -0
- pyrogram/raw/functions/messages/get_my_stickers.py +62 -0
- pyrogram/raw/functions/messages/get_old_featured_stickers.py +70 -0
- pyrogram/raw/functions/messages/get_onlines.py +54 -0
- pyrogram/raw/functions/messages/get_outbox_read_date.py +62 -0
- pyrogram/raw/functions/messages/get_peer_dialogs.py +54 -0
- pyrogram/raw/functions/messages/get_peer_settings.py +54 -0
- pyrogram/raw/functions/messages/get_pinned_dialogs.py +54 -0
- pyrogram/raw/functions/messages/get_pinned_saved_dialogs.py +49 -0
- pyrogram/raw/functions/messages/get_poll_results.py +62 -0
- pyrogram/raw/functions/messages/get_poll_votes.py +90 -0
- pyrogram/raw/functions/messages/get_quick_replies.py +54 -0
- pyrogram/raw/functions/messages/get_quick_reply_messages.py +74 -0
- pyrogram/raw/functions/messages/get_recent_locations.py +70 -0
- pyrogram/raw/functions/messages/get_recent_reactions.py +62 -0
- pyrogram/raw/functions/messages/get_recent_stickers.py +62 -0
- pyrogram/raw/functions/messages/get_replies.py +118 -0
- pyrogram/raw/functions/messages/get_saved_dialogs.py +94 -0
- pyrogram/raw/functions/messages/get_saved_gifs.py +54 -0
- pyrogram/raw/functions/messages/get_saved_history.py +110 -0
- pyrogram/raw/functions/messages/get_saved_reaction_tags.py +66 -0
- pyrogram/raw/functions/messages/get_scheduled_history.py +62 -0
- pyrogram/raw/functions/messages/get_scheduled_messages.py +62 -0
- pyrogram/raw/functions/messages/get_search_counters.py +83 -0
- pyrogram/raw/functions/messages/get_search_results_calendar.py +90 -0
- pyrogram/raw/functions/messages/get_search_results_positions.py +90 -0
- pyrogram/raw/functions/messages/get_split_ranges.py +49 -0
- pyrogram/raw/functions/messages/get_sticker_set.py +62 -0
- pyrogram/raw/functions/messages/get_stickers.py +62 -0
- pyrogram/raw/functions/messages/get_suggested_dialog_filters.py +49 -0
- pyrogram/raw/functions/messages/get_top_reactions.py +62 -0
- pyrogram/raw/functions/messages/get_unread_mentions.py +105 -0
- pyrogram/raw/functions/messages/get_unread_reactions.py +105 -0
- pyrogram/raw/functions/messages/get_web_page.py +62 -0
- pyrogram/raw/functions/messages/get_web_page_preview.py +66 -0
- pyrogram/raw/functions/messages/hide_all_chat_join_requests.py +71 -0
- pyrogram/raw/functions/messages/hide_chat_join_request.py +70 -0
- pyrogram/raw/functions/messages/hide_peer_settings_bar.py +54 -0
- pyrogram/raw/functions/messages/import_chat_invite.py +54 -0
- pyrogram/raw/functions/messages/init_history_import.py +70 -0
- pyrogram/raw/functions/messages/install_sticker_set.py +62 -0
- pyrogram/raw/functions/messages/mark_dialog_unread.py +62 -0
- pyrogram/raw/functions/messages/migrate_chat.py +54 -0
- pyrogram/raw/functions/messages/prolong_web_view.py +98 -0
- pyrogram/raw/functions/messages/rate_transcribed_audio.py +78 -0
- pyrogram/raw/functions/messages/read_discussion.py +70 -0
- pyrogram/raw/functions/messages/read_encrypted_history.py +62 -0
- pyrogram/raw/functions/messages/read_featured_stickers.py +54 -0
- pyrogram/raw/functions/messages/read_history.py +62 -0
- pyrogram/raw/functions/messages/read_mentions.py +65 -0
- pyrogram/raw/functions/messages/read_message_contents.py +54 -0
- pyrogram/raw/functions/messages/read_reactions.py +65 -0
- pyrogram/raw/functions/messages/received_messages.py +54 -0
- pyrogram/raw/functions/messages/received_queue.py +54 -0
- pyrogram/raw/functions/messages/reorder_pinned_dialogs.py +70 -0
- pyrogram/raw/functions/messages/reorder_pinned_saved_dialogs.py +62 -0
- pyrogram/raw/functions/messages/reorder_quick_replies.py +54 -0
- pyrogram/raw/functions/messages/reorder_sticker_sets.py +68 -0
- pyrogram/raw/functions/messages/report.py +78 -0
- pyrogram/raw/functions/messages/report_encrypted_spam.py +54 -0
- pyrogram/raw/functions/messages/report_reaction.py +70 -0
- pyrogram/raw/functions/messages/report_spam.py +54 -0
- pyrogram/raw/functions/messages/request_app_web_view.py +103 -0
- pyrogram/raw/functions/messages/request_encryption.py +70 -0
- pyrogram/raw/functions/messages/request_simple_web_view.py +110 -0
- pyrogram/raw/functions/messages/request_url_auth.py +85 -0
- pyrogram/raw/functions/messages/request_web_view.py +138 -0
- pyrogram/raw/functions/messages/save_default_send_as.py +62 -0
- pyrogram/raw/functions/messages/save_draft.py +115 -0
- pyrogram/raw/functions/messages/save_gif.py +62 -0
- pyrogram/raw/functions/messages/save_recent_sticker.py +70 -0
- pyrogram/raw/functions/messages/search.py +175 -0
- pyrogram/raw/functions/messages/search_custom_emoji.py +62 -0
- pyrogram/raw/functions/messages/search_emoji_sticker_sets.py +70 -0
- pyrogram/raw/functions/messages/search_global.py +127 -0
- pyrogram/raw/functions/messages/search_sent_media.py +70 -0
- pyrogram/raw/functions/messages/search_sticker_sets.py +70 -0
- pyrogram/raw/functions/messages/send_bot_requested_peer.py +78 -0
- pyrogram/raw/functions/messages/send_encrypted.py +78 -0
- pyrogram/raw/functions/messages/send_encrypted_file.py +86 -0
- pyrogram/raw/functions/messages/send_encrypted_service.py +70 -0
- pyrogram/raw/functions/messages/send_inline_bot_result.py +143 -0
- pyrogram/raw/functions/messages/send_media.py +184 -0
- pyrogram/raw/functions/messages/send_message.py +182 -0
- pyrogram/raw/functions/messages/send_multi_media.py +148 -0
- pyrogram/raw/functions/messages/send_quick_reply_messages.py +78 -0
- pyrogram/raw/functions/messages/send_reaction.py +86 -0
- pyrogram/raw/functions/messages/send_scheduled_messages.py +62 -0
- pyrogram/raw/functions/messages/send_screenshot_notification.py +70 -0
- pyrogram/raw/functions/messages/send_vote.py +70 -0
- pyrogram/raw/functions/messages/send_web_view_data.py +78 -0
- pyrogram/raw/functions/messages/send_web_view_result_message.py +62 -0
- pyrogram/raw/functions/messages/set_bot_callback_answer.py +88 -0
- pyrogram/raw/functions/messages/set_bot_precheckout_results.py +71 -0
- pyrogram/raw/functions/messages/set_bot_shipping_results.py +75 -0
- pyrogram/raw/functions/messages/set_chat_available_reactions.py +73 -0
- pyrogram/raw/functions/messages/set_chat_theme.py +62 -0
- pyrogram/raw/functions/messages/set_chat_wall_paper.py +97 -0
- pyrogram/raw/functions/messages/set_default_history_ttl.py +54 -0
- pyrogram/raw/functions/messages/set_default_reaction.py +54 -0
- pyrogram/raw/functions/messages/set_encrypted_typing.py +62 -0
- pyrogram/raw/functions/messages/set_game_score.py +92 -0
- pyrogram/raw/functions/messages/set_history_ttl.py +62 -0
- pyrogram/raw/functions/messages/set_inline_bot_results.py +113 -0
- pyrogram/raw/functions/messages/set_inline_game_score.py +84 -0
- pyrogram/raw/functions/messages/set_typing.py +73 -0
- pyrogram/raw/functions/messages/start_bot.py +78 -0
- pyrogram/raw/functions/messages/start_history_import.py +62 -0
- pyrogram/raw/functions/messages/toggle_bot_in_attach_menu.py +70 -0
- pyrogram/raw/functions/messages/toggle_dialog_filter_tags.py +54 -0
- pyrogram/raw/functions/messages/toggle_dialog_pin.py +62 -0
- pyrogram/raw/functions/messages/toggle_no_forwards.py +62 -0
- pyrogram/raw/functions/messages/toggle_peer_translations.py +62 -0
- pyrogram/raw/functions/messages/toggle_saved_dialog_pin.py +62 -0
- pyrogram/raw/functions/messages/toggle_sticker_sets.py +74 -0
- pyrogram/raw/functions/messages/transcribe_audio.py +62 -0
- pyrogram/raw/functions/messages/translate_text.py +86 -0
- pyrogram/raw/functions/messages/uninstall_sticker_set.py +54 -0
- pyrogram/raw/functions/messages/unpin_all_messages.py +65 -0
- pyrogram/raw/functions/messages/update_dialog_filter.py +66 -0
- pyrogram/raw/functions/messages/update_dialog_filters_order.py +54 -0
- pyrogram/raw/functions/messages/update_pinned_message.py +82 -0
- pyrogram/raw/functions/messages/update_saved_reaction_tag.py +65 -0
- pyrogram/raw/functions/messages/upload_encrypted_file.py +62 -0
- pyrogram/raw/functions/messages/upload_imported_media.py +78 -0
- pyrogram/raw/functions/messages/upload_media.py +73 -0
- pyrogram/raw/functions/payments/__init__.py +31 -0
- pyrogram/raw/functions/payments/apply_gift_code.py +54 -0
- pyrogram/raw/functions/payments/assign_app_store_transaction.py +62 -0
- pyrogram/raw/functions/payments/assign_play_market_transaction.py +62 -0
- pyrogram/raw/functions/payments/can_purchase_premium.py +54 -0
- pyrogram/raw/functions/payments/check_gift_code.py +54 -0
- pyrogram/raw/functions/payments/clear_saved_info.py +60 -0
- pyrogram/raw/functions/payments/export_invoice.py +54 -0
- pyrogram/raw/functions/payments/get_bank_card_data.py +54 -0
- pyrogram/raw/functions/payments/get_giveaway_info.py +62 -0
- pyrogram/raw/functions/payments/get_payment_form.py +66 -0
- pyrogram/raw/functions/payments/get_payment_receipt.py +62 -0
- pyrogram/raw/functions/payments/get_premium_gift_code_options.py +58 -0
- pyrogram/raw/functions/payments/get_saved_info.py +49 -0
- pyrogram/raw/functions/payments/get_stars_revenue_ads_account_url.py +54 -0
- pyrogram/raw/functions/payments/get_stars_revenue_stats.py +62 -0
- pyrogram/raw/functions/payments/get_stars_revenue_withdrawal_url.py +70 -0
- pyrogram/raw/functions/payments/get_stars_status.py +54 -0
- pyrogram/raw/functions/payments/get_stars_topup_options.py +49 -0
- pyrogram/raw/functions/payments/get_stars_transactions.py +90 -0
- pyrogram/raw/functions/payments/get_stars_transactions_by_id.py +62 -0
- pyrogram/raw/functions/payments/launch_prepaid_giveaway.py +70 -0
- pyrogram/raw/functions/payments/refund_stars_charge.py +62 -0
- pyrogram/raw/functions/payments/send_payment_form.py +99 -0
- pyrogram/raw/functions/payments/send_stars_form.py +65 -0
- pyrogram/raw/functions/payments/validate_requested_info.py +70 -0
- pyrogram/raw/functions/phone/__init__.py +37 -0
- pyrogram/raw/functions/phone/accept_call.py +70 -0
- pyrogram/raw/functions/phone/check_group_call.py +62 -0
- pyrogram/raw/functions/phone/confirm_call.py +78 -0
- pyrogram/raw/functions/phone/create_group_call.py +88 -0
- pyrogram/raw/functions/phone/discard_call.py +86 -0
- pyrogram/raw/functions/phone/discard_group_call.py +54 -0
- pyrogram/raw/functions/phone/edit_group_call_participant.py +118 -0
- pyrogram/raw/functions/phone/edit_group_call_title.py +62 -0
- pyrogram/raw/functions/phone/export_group_call_invite.py +62 -0
- pyrogram/raw/functions/phone/get_call_config.py +49 -0
- pyrogram/raw/functions/phone/get_group_call.py +62 -0
- pyrogram/raw/functions/phone/get_group_call_join_as.py +54 -0
- pyrogram/raw/functions/phone/get_group_call_stream_channels.py +54 -0
- pyrogram/raw/functions/phone/get_group_call_stream_rtmp_url.py +62 -0
- pyrogram/raw/functions/phone/get_group_participants.py +86 -0
- pyrogram/raw/functions/phone/invite_to_group_call.py +62 -0
- pyrogram/raw/functions/phone/join_group_call.py +93 -0
- pyrogram/raw/functions/phone/join_group_call_presentation.py +62 -0
- pyrogram/raw/functions/phone/leave_group_call.py +62 -0
- pyrogram/raw/functions/phone/leave_group_call_presentation.py +54 -0
- pyrogram/raw/functions/phone/received_call.py +54 -0
- pyrogram/raw/functions/phone/request_call.py +86 -0
- pyrogram/raw/functions/phone/save_call_debug.py +62 -0
- pyrogram/raw/functions/phone/save_call_log.py +62 -0
- pyrogram/raw/functions/phone/save_default_group_call_join_as.py +62 -0
- pyrogram/raw/functions/phone/send_signaling_data.py +62 -0
- pyrogram/raw/functions/phone/set_call_rating.py +78 -0
- pyrogram/raw/functions/phone/start_scheduled_group_call.py +54 -0
- pyrogram/raw/functions/phone/toggle_group_call_record.py +86 -0
- pyrogram/raw/functions/phone/toggle_group_call_settings.py +71 -0
- pyrogram/raw/functions/phone/toggle_group_call_start_subscription.py +62 -0
- pyrogram/raw/functions/photos/__init__.py +11 -0
- pyrogram/raw/functions/photos/delete_photos.py +54 -0
- pyrogram/raw/functions/photos/get_user_photos.py +78 -0
- pyrogram/raw/functions/photos/update_profile_photo.py +72 -0
- pyrogram/raw/functions/photos/upload_contact_profile_photo.py +107 -0
- pyrogram/raw/functions/photos/upload_profile_photo.py +103 -0
- pyrogram/raw/functions/ping.py +54 -0
- pyrogram/raw/functions/ping_delay_disconnect.py +62 -0
- pyrogram/raw/functions/premium/__init__.py +11 -0
- pyrogram/raw/functions/premium/apply_boost.py +66 -0
- pyrogram/raw/functions/premium/get_boosts_list.py +78 -0
- pyrogram/raw/functions/premium/get_boosts_status.py +54 -0
- pyrogram/raw/functions/premium/get_my_boosts.py +49 -0
- pyrogram/raw/functions/premium/get_user_boosts.py +62 -0
- pyrogram/raw/functions/req_dh_params.py +94 -0
- pyrogram/raw/functions/req_pq.py +54 -0
- pyrogram/raw/functions/req_pq_multi.py +54 -0
- pyrogram/raw/functions/rpc_drop_answer.py +54 -0
- pyrogram/raw/functions/set_client_dh_params.py +70 -0
- pyrogram/raw/functions/smsjobs/__init__.py +13 -0
- pyrogram/raw/functions/smsjobs/finish_job.py +65 -0
- pyrogram/raw/functions/smsjobs/get_sms_job.py +54 -0
- pyrogram/raw/functions/smsjobs/get_status.py +49 -0
- pyrogram/raw/functions/smsjobs/is_eligible_to_join.py +49 -0
- pyrogram/raw/functions/smsjobs/join.py +49 -0
- pyrogram/raw/functions/smsjobs/leave.py +49 -0
- pyrogram/raw/functions/smsjobs/update_settings.py +54 -0
- pyrogram/raw/functions/stats/__init__.py +16 -0
- pyrogram/raw/functions/stats/get_broadcast_revenue_stats.py +62 -0
- pyrogram/raw/functions/stats/get_broadcast_revenue_transactions.py +70 -0
- pyrogram/raw/functions/stats/get_broadcast_revenue_withdrawal_url.py +62 -0
- pyrogram/raw/functions/stats/get_broadcast_stats.py +62 -0
- pyrogram/raw/functions/stats/get_megagroup_stats.py +62 -0
- pyrogram/raw/functions/stats/get_message_public_forwards.py +78 -0
- pyrogram/raw/functions/stats/get_message_stats.py +70 -0
- pyrogram/raw/functions/stats/get_story_public_forwards.py +78 -0
- pyrogram/raw/functions/stats/get_story_stats.py +70 -0
- pyrogram/raw/functions/stats/load_async_graph.py +65 -0
- pyrogram/raw/functions/stickers/__init__.py +17 -0
- pyrogram/raw/functions/stickers/add_sticker_to_set.py +62 -0
- pyrogram/raw/functions/stickers/change_sticker.py +84 -0
- pyrogram/raw/functions/stickers/change_sticker_position.py +62 -0
- pyrogram/raw/functions/stickers/check_short_name.py +54 -0
- pyrogram/raw/functions/stickers/create_sticker_set.py +117 -0
- pyrogram/raw/functions/stickers/delete_sticker_set.py +54 -0
- pyrogram/raw/functions/stickers/remove_sticker_from_set.py +54 -0
- pyrogram/raw/functions/stickers/rename_sticker_set.py +62 -0
- pyrogram/raw/functions/stickers/replace_sticker.py +62 -0
- pyrogram/raw/functions/stickers/set_sticker_set_thumb.py +75 -0
- pyrogram/raw/functions/stickers/suggest_short_name.py +54 -0
- pyrogram/raw/functions/stories/__init__.py +32 -0
- pyrogram/raw/functions/stories/activate_stealth_mode.py +60 -0
- pyrogram/raw/functions/stories/can_send_story.py +54 -0
- pyrogram/raw/functions/stories/delete_stories.py +62 -0
- pyrogram/raw/functions/stories/edit_story.py +113 -0
- pyrogram/raw/functions/stories/export_story_link.py +62 -0
- pyrogram/raw/functions/stories/get_all_read_peer_stories.py +49 -0
- pyrogram/raw/functions/stories/get_all_stories.py +69 -0
- pyrogram/raw/functions/stories/get_chats_to_send.py +49 -0
- pyrogram/raw/functions/stories/get_peer_max_i_ds.py +54 -0
- pyrogram/raw/functions/stories/get_peer_stories.py +54 -0
- pyrogram/raw/functions/stories/get_pinned_stories.py +70 -0
- pyrogram/raw/functions/stories/get_stories_archive.py +70 -0
- pyrogram/raw/functions/stories/get_stories_by_id.py +62 -0
- pyrogram/raw/functions/stories/get_stories_views.py +62 -0
- pyrogram/raw/functions/stories/get_story_reactions_list.py +97 -0
- pyrogram/raw/functions/stories/get_story_views_list.py +107 -0
- pyrogram/raw/functions/stories/increment_story_views.py +62 -0
- pyrogram/raw/functions/stories/read_stories.py +62 -0
- pyrogram/raw/functions/stories/report.py +78 -0
- pyrogram/raw/functions/stories/search_posts.py +83 -0
- pyrogram/raw/functions/stories/send_reaction.py +78 -0
- pyrogram/raw/functions/stories/send_story.py +155 -0
- pyrogram/raw/functions/stories/toggle_all_stories_hidden.py +54 -0
- pyrogram/raw/functions/stories/toggle_peer_stories_hidden.py +62 -0
- pyrogram/raw/functions/stories/toggle_pinned.py +70 -0
- pyrogram/raw/functions/stories/toggle_pinned_to_top.py +62 -0
- pyrogram/raw/functions/updates/__init__.py +9 -0
- pyrogram/raw/functions/updates/get_channel_difference.py +86 -0
- pyrogram/raw/functions/updates/get_difference.py +99 -0
- pyrogram/raw/functions/updates/get_state.py +49 -0
- pyrogram/raw/functions/upload/__init__.py +14 -0
- pyrogram/raw/functions/upload/get_cdn_file.py +70 -0
- pyrogram/raw/functions/upload/get_cdn_file_hashes.py +62 -0
- pyrogram/raw/functions/upload/get_file.py +84 -0
- pyrogram/raw/functions/upload/get_file_hashes.py +62 -0
- pyrogram/raw/functions/upload/get_web_file.py +70 -0
- pyrogram/raw/functions/upload/reupload_cdn_file.py +62 -0
- pyrogram/raw/functions/upload/save_big_file_part.py +78 -0
- pyrogram/raw/functions/upload/save_file_part.py +70 -0
- pyrogram/raw/functions/users/__init__.py +10 -0
- pyrogram/raw/functions/users/get_full_user.py +54 -0
- pyrogram/raw/functions/users/get_is_premium_required_to_contact.py +54 -0
- pyrogram/raw/functions/users/get_users.py +54 -0
- pyrogram/raw/functions/users/set_secure_value_errors.py +62 -0
- pyrogram/raw/types/__init__.py +1102 -0
- pyrogram/raw/types/access_point_rule.py +70 -0
- pyrogram/raw/types/account/__init__.py +37 -0
- pyrogram/raw/types/account/authorization_form.py +98 -0
- pyrogram/raw/types/account/authorizations.py +71 -0
- pyrogram/raw/types/account/auto_download_settings.py +79 -0
- pyrogram/raw/types/account/auto_save_settings.py +103 -0
- pyrogram/raw/types/account/business_chat_links.py +79 -0
- pyrogram/raw/types/account/connected_bots.py +71 -0
- pyrogram/raw/types/account/content_settings.py +69 -0
- pyrogram/raw/types/account/email_verified.py +63 -0
- pyrogram/raw/types/account/email_verified_login.py +71 -0
- pyrogram/raw/types/account/emoji_statuses.py +73 -0
- pyrogram/raw/types/account/emoji_statuses_not_modified.py +60 -0
- pyrogram/raw/types/account/password.py +163 -0
- pyrogram/raw/types/account/password_input_settings.py +95 -0
- pyrogram/raw/types/account/password_settings.py +76 -0
- pyrogram/raw/types/account/privacy_rules.py +80 -0
- pyrogram/raw/types/account/reset_password_failed_wait.py +63 -0
- pyrogram/raw/types/account/reset_password_ok.py +58 -0
- pyrogram/raw/types/account/reset_password_requested_wait.py +63 -0
- pyrogram/raw/types/account/resolved_business_chat_links.py +99 -0
- pyrogram/raw/types/account/saved_ringtone.py +58 -0
- pyrogram/raw/types/account/saved_ringtone_converted.py +63 -0
- pyrogram/raw/types/account/saved_ringtones.py +71 -0
- pyrogram/raw/types/account/saved_ringtones_not_modified.py +58 -0
- pyrogram/raw/types/account/sent_email_code.py +71 -0
- pyrogram/raw/types/account/takeout.py +63 -0
- pyrogram/raw/types/account/themes.py +72 -0
- pyrogram/raw/types/account/themes_not_modified.py +59 -0
- pyrogram/raw/types/account/tmp_password.py +71 -0
- pyrogram/raw/types/account/wall_papers.py +71 -0
- pyrogram/raw/types/account/wall_papers_not_modified.py +58 -0
- pyrogram/raw/types/account/web_authorizations.py +71 -0
- pyrogram/raw/types/account_days_ttl.py +63 -0
- pyrogram/raw/types/attach_menu_bot.py +118 -0
- pyrogram/raw/types/attach_menu_bot_icon.py +74 -0
- pyrogram/raw/types/attach_menu_bot_icon_color.py +62 -0
- pyrogram/raw/types/attach_menu_bots.py +79 -0
- pyrogram/raw/types/attach_menu_bots_bot.py +71 -0
- pyrogram/raw/types/attach_menu_bots_not_modified.py +58 -0
- pyrogram/raw/types/attach_menu_peer_type_bot_pm.py +49 -0
- pyrogram/raw/types/attach_menu_peer_type_broadcast.py +49 -0
- pyrogram/raw/types/attach_menu_peer_type_chat.py +49 -0
- pyrogram/raw/types/attach_menu_peer_type_pm.py +49 -0
- pyrogram/raw/types/attach_menu_peer_type_same_bot_pm.py +49 -0
- pyrogram/raw/types/auth/__init__.py +32 -0
- pyrogram/raw/types/auth/authorization.py +104 -0
- pyrogram/raw/types/auth/authorization_sign_up_required.py +73 -0
- pyrogram/raw/types/auth/code_type_call.py +49 -0
- pyrogram/raw/types/auth/code_type_flash_call.py +49 -0
- pyrogram/raw/types/auth/code_type_fragment_sms.py +49 -0
- pyrogram/raw/types/auth/code_type_missed_call.py +49 -0
- pyrogram/raw/types/auth/code_type_sms.py +49 -0
- pyrogram/raw/types/auth/exported_authorization.py +71 -0
- pyrogram/raw/types/auth/logged_out.py +66 -0
- pyrogram/raw/types/auth/login_token.py +72 -0
- pyrogram/raw/types/auth/login_token_migrate_to.py +72 -0
- pyrogram/raw/types/auth/login_token_success.py +64 -0
- pyrogram/raw/types/auth/password_recovery.py +63 -0
- pyrogram/raw/types/auth/sent_code.py +97 -0
- pyrogram/raw/types/auth/sent_code_success.py +68 -0
- pyrogram/raw/types/auth/sent_code_type_app.py +54 -0
- pyrogram/raw/types/auth/sent_code_type_call.py +54 -0
- pyrogram/raw/types/auth/sent_code_type_email_code.py +94 -0
- pyrogram/raw/types/auth/sent_code_type_firebase_sms.py +101 -0
- pyrogram/raw/types/auth/sent_code_type_flash_call.py +54 -0
- pyrogram/raw/types/auth/sent_code_type_fragment_sms.py +62 -0
- pyrogram/raw/types/auth/sent_code_type_missed_call.py +62 -0
- pyrogram/raw/types/auth/sent_code_type_set_up_email_required.py +60 -0
- pyrogram/raw/types/auth/sent_code_type_sms.py +54 -0
- pyrogram/raw/types/auth/sent_code_type_sms_phrase.py +57 -0
- pyrogram/raw/types/auth/sent_code_type_sms_word.py +57 -0
- pyrogram/raw/types/authorization.py +189 -0
- pyrogram/raw/types/auto_download_settings.py +126 -0
- pyrogram/raw/types/auto_save_exception.py +62 -0
- pyrogram/raw/types/auto_save_settings.py +69 -0
- pyrogram/raw/types/available_effect.py +96 -0
- pyrogram/raw/types/available_reaction.py +136 -0
- pyrogram/raw/types/bad_msg_notification.py +70 -0
- pyrogram/raw/types/bad_server_salt.py +78 -0
- pyrogram/raw/types/bank_card_open_url.py +62 -0
- pyrogram/raw/types/base_theme_arctic.py +49 -0
- pyrogram/raw/types/base_theme_classic.py +49 -0
- pyrogram/raw/types/base_theme_day.py +49 -0
- pyrogram/raw/types/base_theme_night.py +49 -0
- pyrogram/raw/types/base_theme_tinted.py +49 -0
- pyrogram/raw/types/bind_auth_key_inner.py +86 -0
- pyrogram/raw/types/birthday.py +73 -0
- pyrogram/raw/types/boost.py +126 -0
- pyrogram/raw/types/bot_app.py +114 -0
- pyrogram/raw/types/bot_app_not_modified.py +49 -0
- pyrogram/raw/types/bot_business_connection.py +92 -0
- pyrogram/raw/types/bot_command.py +71 -0
- pyrogram/raw/types/bot_command_scope_chat_admins.py +49 -0
- pyrogram/raw/types/bot_command_scope_chats.py +49 -0
- pyrogram/raw/types/bot_command_scope_default.py +49 -0
- pyrogram/raw/types/bot_command_scope_peer.py +54 -0
- pyrogram/raw/types/bot_command_scope_peer_admins.py +54 -0
- pyrogram/raw/types/bot_command_scope_peer_user.py +62 -0
- pyrogram/raw/types/bot_command_scope_users.py +49 -0
- pyrogram/raw/types/bot_info.py +106 -0
- pyrogram/raw/types/bot_inline_media_result.py +110 -0
- pyrogram/raw/types/bot_inline_message_media_auto.py +82 -0
- pyrogram/raw/types/bot_inline_message_media_contact.py +90 -0
- pyrogram/raw/types/bot_inline_message_media_geo.py +93 -0
- pyrogram/raw/types/bot_inline_message_media_invoice.py +112 -0
- pyrogram/raw/types/bot_inline_message_media_venue.py +106 -0
- pyrogram/raw/types/bot_inline_message_media_web_page.py +114 -0
- pyrogram/raw/types/bot_inline_message_text.py +88 -0
- pyrogram/raw/types/bot_inline_result.py +119 -0
- pyrogram/raw/types/bot_menu_button.py +71 -0
- pyrogram/raw/types/bot_menu_button_commands.py +58 -0
- pyrogram/raw/types/bot_menu_button_default.py +58 -0
- pyrogram/raw/types/bots/__init__.py +7 -0
- pyrogram/raw/types/bots/bot_info.py +79 -0
- pyrogram/raw/types/broadcast_revenue_balances.py +70 -0
- pyrogram/raw/types/broadcast_revenue_transaction_proceeds.py +70 -0
- pyrogram/raw/types/broadcast_revenue_transaction_refund.py +70 -0
- pyrogram/raw/types/broadcast_revenue_transaction_withdrawal.py +102 -0
- pyrogram/raw/types/business_away_message.py +78 -0
- pyrogram/raw/types/business_away_message_schedule_always.py +49 -0
- pyrogram/raw/types/business_away_message_schedule_custom.py +62 -0
- pyrogram/raw/types/business_away_message_schedule_outside_work_hours.py +49 -0
- pyrogram/raw/types/business_bot_recipients.py +98 -0
- pyrogram/raw/types/business_chat_link.py +101 -0
- pyrogram/raw/types/business_greeting_message.py +70 -0
- pyrogram/raw/types/business_intro.py +74 -0
- pyrogram/raw/types/business_location.py +66 -0
- pyrogram/raw/types/business_recipients.py +88 -0
- pyrogram/raw/types/business_weekly_open.py +62 -0
- pyrogram/raw/types/business_work_hours.py +70 -0
- pyrogram/raw/types/cdn_config.py +63 -0
- pyrogram/raw/types/cdn_public_key.py +62 -0
- pyrogram/raw/types/channel.py +347 -0
- pyrogram/raw/types/channel_admin_log_event.py +78 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_about.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_available_reactions.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_emoji_status.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_emoji_sticker_set.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_history_ttl.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_linked_chat.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_location.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_peer_color.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_photo.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_profile_peer_color.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_sticker_set.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_title.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_username.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_usernames.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_wallpaper.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_create_topic.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_default_banned_rights.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_delete_message.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_delete_topic.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_discard_group_call.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_edit_message.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_edit_topic.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_exported_invite_delete.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_exported_invite_edit.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_exported_invite_revoke.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_invite.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_join.py +49 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_invite.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_request.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_leave.py +49 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_mute.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_admin.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_ban.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_unmute.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_volume.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_pin_topic.py +68 -0
- pyrogram/raw/types/channel_admin_log_event_action_send_message.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_start_group_call.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_stop_poll.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_anti_spam.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_forum.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_group_call_setting.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_invites.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_no_forwards.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_pre_history_hidden.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_signatures.py +54 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_slow_mode.py +62 -0
- pyrogram/raw/types/channel_admin_log_event_action_update_pinned.py +54 -0
- pyrogram/raw/types/channel_admin_log_events_filter.py +156 -0
- pyrogram/raw/types/channel_forbidden.py +93 -0
- pyrogram/raw/types/channel_full.py +532 -0
- pyrogram/raw/types/channel_location.py +62 -0
- pyrogram/raw/types/channel_location_empty.py +49 -0
- pyrogram/raw/types/channel_messages_filter.py +62 -0
- pyrogram/raw/types/channel_messages_filter_empty.py +49 -0
- pyrogram/raw/types/channel_participant.py +62 -0
- pyrogram/raw/types/channel_participant_admin.py +110 -0
- pyrogram/raw/types/channel_participant_banned.py +86 -0
- pyrogram/raw/types/channel_participant_creator.py +73 -0
- pyrogram/raw/types/channel_participant_left.py +54 -0
- pyrogram/raw/types/channel_participant_self.py +78 -0
- pyrogram/raw/types/channel_participants_admins.py +49 -0
- pyrogram/raw/types/channel_participants_banned.py +54 -0
- pyrogram/raw/types/channel_participants_bots.py +49 -0
- pyrogram/raw/types/channel_participants_contacts.py +54 -0
- pyrogram/raw/types/channel_participants_kicked.py +54 -0
- pyrogram/raw/types/channel_participants_mentions.py +66 -0
- pyrogram/raw/types/channel_participants_recent.py +49 -0
- pyrogram/raw/types/channel_participants_search.py +54 -0
- pyrogram/raw/types/channels/__init__.py +14 -0
- pyrogram/raw/types/channels/admin_log_results.py +79 -0
- pyrogram/raw/types/channels/channel_participant.py +79 -0
- pyrogram/raw/types/channels/channel_participants.py +87 -0
- pyrogram/raw/types/channels/channel_participants_not_modified.py +58 -0
- pyrogram/raw/types/channels/send_as_peers.py +79 -0
- pyrogram/raw/types/channels/sponsored_message_report_result_ads_hidden.py +58 -0
- pyrogram/raw/types/channels/sponsored_message_report_result_choose_option.py +71 -0
- pyrogram/raw/types/channels/sponsored_message_report_result_reported.py +58 -0
- pyrogram/raw/types/chat.py +162 -0
- pyrogram/raw/types/chat_admin_rights.py +138 -0
- pyrogram/raw/types/chat_admin_with_invites.py +70 -0
- pyrogram/raw/types/chat_banned_rights.py +176 -0
- pyrogram/raw/types/chat_empty.py +54 -0
- pyrogram/raw/types/chat_forbidden.py +62 -0
- pyrogram/raw/types/chat_full.py +222 -0
- pyrogram/raw/types/chat_invite.py +156 -0
- pyrogram/raw/types/chat_invite_already.py +63 -0
- pyrogram/raw/types/chat_invite_exported.py +153 -0
- pyrogram/raw/types/chat_invite_importer.py +94 -0
- pyrogram/raw/types/chat_invite_peek.py +71 -0
- pyrogram/raw/types/chat_invite_public_join_requests.py +58 -0
- pyrogram/raw/types/chat_onlines.py +63 -0
- pyrogram/raw/types/chat_participant.py +70 -0
- pyrogram/raw/types/chat_participant_admin.py +70 -0
- pyrogram/raw/types/chat_participant_creator.py +54 -0
- pyrogram/raw/types/chat_participants.py +70 -0
- pyrogram/raw/types/chat_participants_forbidden.py +66 -0
- pyrogram/raw/types/chat_photo.py +79 -0
- pyrogram/raw/types/chat_photo_empty.py +49 -0
- pyrogram/raw/types/chat_reactions_all.py +54 -0
- pyrogram/raw/types/chat_reactions_none.py +49 -0
- pyrogram/raw/types/chat_reactions_some.py +54 -0
- pyrogram/raw/types/chatlists/__init__.py +11 -0
- pyrogram/raw/types/chatlists/chatlist_invite.py +98 -0
- pyrogram/raw/types/chatlists/chatlist_invite_already.py +95 -0
- pyrogram/raw/types/chatlists/chatlist_updates.py +79 -0
- pyrogram/raw/types/chatlists/exported_chatlist_invite.py +71 -0
- pyrogram/raw/types/chatlists/exported_invites.py +79 -0
- pyrogram/raw/types/client_dh_inner_data.py +78 -0
- pyrogram/raw/types/code_settings.py +112 -0
- pyrogram/raw/types/config.py +435 -0
- pyrogram/raw/types/connected_bot.py +70 -0
- pyrogram/raw/types/contact.py +62 -0
- pyrogram/raw/types/contact_birthday.py +62 -0
- pyrogram/raw/types/contact_status.py +71 -0
- pyrogram/raw/types/contacts/__init__.py +17 -0
- pyrogram/raw/types/contacts/blocked.py +79 -0
- pyrogram/raw/types/contacts/blocked_slice.py +87 -0
- pyrogram/raw/types/contacts/contact_birthdays.py +71 -0
- pyrogram/raw/types/contacts/contacts.py +79 -0
- pyrogram/raw/types/contacts/contacts_not_modified.py +58 -0
- pyrogram/raw/types/contacts/found.py +87 -0
- pyrogram/raw/types/contacts/imported_contacts.py +87 -0
- pyrogram/raw/types/contacts/resolved_peer.py +80 -0
- pyrogram/raw/types/contacts/top_peers.py +79 -0
- pyrogram/raw/types/contacts/top_peers_disabled.py +58 -0
- pyrogram/raw/types/contacts/top_peers_not_modified.py +58 -0
- pyrogram/raw/types/data_json.py +65 -0
- pyrogram/raw/types/dc_option.py +117 -0
- pyrogram/raw/types/default_history_ttl.py +63 -0
- pyrogram/raw/types/destroy_auth_key_fail.py +58 -0
- pyrogram/raw/types/destroy_auth_key_none.py +58 -0
- pyrogram/raw/types/destroy_auth_key_ok.py +58 -0
- pyrogram/raw/types/destroy_session_none.py +63 -0
- pyrogram/raw/types/destroy_session_ok.py +63 -0
- pyrogram/raw/types/dh_gen_fail.py +79 -0
- pyrogram/raw/types/dh_gen_ok.py +79 -0
- pyrogram/raw/types/dh_gen_retry.py +79 -0
- pyrogram/raw/types/dialog.py +167 -0
- pyrogram/raw/types/dialog_filter.py +154 -0
- pyrogram/raw/types/dialog_filter_chatlist.py +104 -0
- pyrogram/raw/types/dialog_filter_default.py +49 -0
- pyrogram/raw/types/dialog_filter_suggested.py +71 -0
- pyrogram/raw/types/dialog_folder.py +110 -0
- pyrogram/raw/types/dialog_peer.py +63 -0
- pyrogram/raw/types/dialog_peer_folder.py +63 -0
- pyrogram/raw/types/document.py +144 -0
- pyrogram/raw/types/document_attribute_animated.py +49 -0
- pyrogram/raw/types/document_attribute_audio.py +89 -0
- pyrogram/raw/types/document_attribute_custom_emoji.py +76 -0
- pyrogram/raw/types/document_attribute_filename.py +54 -0
- pyrogram/raw/types/document_attribute_has_stickers.py +49 -0
- pyrogram/raw/types/document_attribute_image_size.py +62 -0
- pyrogram/raw/types/document_attribute_sticker.py +80 -0
- pyrogram/raw/types/document_attribute_video.py +99 -0
- pyrogram/raw/types/document_empty.py +66 -0
- pyrogram/raw/types/draft_message.py +115 -0
- pyrogram/raw/types/draft_message_empty.py +57 -0
- pyrogram/raw/types/email_verification_apple.py +54 -0
- pyrogram/raw/types/email_verification_code.py +54 -0
- pyrogram/raw/types/email_verification_google.py +54 -0
- pyrogram/raw/types/email_verify_purpose_login_change.py +49 -0
- pyrogram/raw/types/email_verify_purpose_login_setup.py +62 -0
- pyrogram/raw/types/email_verify_purpose_passport.py +49 -0
- pyrogram/raw/types/emoji_group.py +70 -0
- pyrogram/raw/types/emoji_group_greeting.py +70 -0
- pyrogram/raw/types/emoji_group_premium.py +62 -0
- pyrogram/raw/types/emoji_keyword.py +62 -0
- pyrogram/raw/types/emoji_keyword_deleted.py +62 -0
- pyrogram/raw/types/emoji_keywords_difference.py +88 -0
- pyrogram/raw/types/emoji_language.py +63 -0
- pyrogram/raw/types/emoji_list.py +75 -0
- pyrogram/raw/types/emoji_list_not_modified.py +62 -0
- pyrogram/raw/types/emoji_status.py +54 -0
- pyrogram/raw/types/emoji_status_empty.py +49 -0
- pyrogram/raw/types/emoji_status_until.py +62 -0
- pyrogram/raw/types/emoji_url.py +63 -0
- pyrogram/raw/types/encrypted_chat.py +112 -0
- pyrogram/raw/types/encrypted_chat_discarded.py +72 -0
- pyrogram/raw/types/encrypted_chat_empty.py +64 -0
- pyrogram/raw/types/encrypted_chat_requested.py +115 -0
- pyrogram/raw/types/encrypted_chat_waiting.py +96 -0
- pyrogram/raw/types/encrypted_file.py +95 -0
- pyrogram/raw/types/encrypted_file_empty.py +58 -0
- pyrogram/raw/types/encrypted_message.py +86 -0
- pyrogram/raw/types/encrypted_message_service.py +78 -0
- pyrogram/raw/types/exported_chatlist_invite.py +82 -0
- pyrogram/raw/types/exported_contact_token.py +71 -0
- pyrogram/raw/types/exported_message_link.py +71 -0
- pyrogram/raw/types/exported_story_link.py +63 -0
- pyrogram/raw/types/fact_check.py +90 -0
- pyrogram/raw/types/file_hash.py +81 -0
- pyrogram/raw/types/folder.py +92 -0
- pyrogram/raw/types/folder_peer.py +62 -0
- pyrogram/raw/types/forum_topic.py +193 -0
- pyrogram/raw/types/forum_topic_deleted.py +54 -0
- pyrogram/raw/types/found_story.py +62 -0
- pyrogram/raw/types/fragment/__init__.py +7 -0
- pyrogram/raw/types/fragment/collectible_info.py +103 -0
- pyrogram/raw/types/game.py +106 -0
- pyrogram/raw/types/geo_point.py +81 -0
- pyrogram/raw/types/geo_point_address.py +83 -0
- pyrogram/raw/types/geo_point_empty.py +49 -0
- pyrogram/raw/types/global_privacy_settings.py +88 -0
- pyrogram/raw/types/group_call.py +181 -0
- pyrogram/raw/types/group_call_discarded.py +70 -0
- pyrogram/raw/types/group_call_participant.py +188 -0
- pyrogram/raw/types/group_call_participant_video.py +79 -0
- pyrogram/raw/types/group_call_participant_video_source_group.py +62 -0
- pyrogram/raw/types/group_call_stream_channel.py +70 -0
- pyrogram/raw/types/help/__init__.py +39 -0
- pyrogram/raw/types/help/app_config.py +71 -0
- pyrogram/raw/types/help/app_config_not_modified.py +58 -0
- pyrogram/raw/types/help/app_update.py +124 -0
- pyrogram/raw/types/help/config_simple.py +70 -0
- pyrogram/raw/types/help/countries_list.py +71 -0
- pyrogram/raw/types/help/countries_list_not_modified.py +58 -0
- pyrogram/raw/types/help/country.py +87 -0
- pyrogram/raw/types/help/country_code.py +76 -0
- pyrogram/raw/types/help/deep_link_info.py +81 -0
- pyrogram/raw/types/help/deep_link_info_empty.py +58 -0
- pyrogram/raw/types/help/invite_text.py +63 -0
- pyrogram/raw/types/help/no_app_update.py +58 -0
- pyrogram/raw/types/help/passport_config.py +71 -0
- pyrogram/raw/types/help/passport_config_not_modified.py +58 -0
- pyrogram/raw/types/help/peer_color_option.py +100 -0
- pyrogram/raw/types/help/peer_color_profile_set.py +70 -0
- pyrogram/raw/types/help/peer_color_set.py +54 -0
- pyrogram/raw/types/help/peer_colors.py +72 -0
- pyrogram/raw/types/help/peer_colors_not_modified.py +59 -0
- pyrogram/raw/types/help/premium_promo.py +103 -0
- pyrogram/raw/types/help/promo_data.py +113 -0
- pyrogram/raw/types/help/promo_data_empty.py +63 -0
- pyrogram/raw/types/help/recent_me_urls.py +79 -0
- pyrogram/raw/types/help/support.py +71 -0
- pyrogram/raw/types/help/support_name.py +63 -0
- pyrogram/raw/types/help/terms_of_service.py +87 -0
- pyrogram/raw/types/help/terms_of_service_update.py +71 -0
- pyrogram/raw/types/help/terms_of_service_update_empty.py +63 -0
- pyrogram/raw/types/help/timezones_list.py +71 -0
- pyrogram/raw/types/help/timezones_list_not_modified.py +58 -0
- pyrogram/raw/types/help/user_info.py +88 -0
- pyrogram/raw/types/help/user_info_empty.py +59 -0
- pyrogram/raw/types/high_score.py +70 -0
- pyrogram/raw/types/http_wait.py +70 -0
- pyrogram/raw/types/imported_contact.py +62 -0
- pyrogram/raw/types/inline_bot_switch_pm.py +62 -0
- pyrogram/raw/types/inline_bot_web_view.py +62 -0
- pyrogram/raw/types/inline_query_peer_type_bot_pm.py +49 -0
- pyrogram/raw/types/inline_query_peer_type_broadcast.py +49 -0
- pyrogram/raw/types/inline_query_peer_type_chat.py +49 -0
- pyrogram/raw/types/inline_query_peer_type_megagroup.py +49 -0
- pyrogram/raw/types/inline_query_peer_type_pm.py +49 -0
- pyrogram/raw/types/inline_query_peer_type_same_bot_pm.py +49 -0
- pyrogram/raw/types/input_app_event.py +78 -0
- pyrogram/raw/types/input_bot_app_id.py +62 -0
- pyrogram/raw/types/input_bot_app_short_name.py +62 -0
- pyrogram/raw/types/input_bot_inline_message_game.py +58 -0
- pyrogram/raw/types/input_bot_inline_message_id.py +70 -0
- pyrogram/raw/types/input_bot_inline_message_id64.py +78 -0
- pyrogram/raw/types/input_bot_inline_message_media_auto.py +82 -0
- pyrogram/raw/types/input_bot_inline_message_media_contact.py +90 -0
- pyrogram/raw/types/input_bot_inline_message_media_geo.py +93 -0
- pyrogram/raw/types/input_bot_inline_message_media_invoice.py +116 -0
- pyrogram/raw/types/input_bot_inline_message_media_venue.py +106 -0
- pyrogram/raw/types/input_bot_inline_message_media_web_page.py +108 -0
- pyrogram/raw/types/input_bot_inline_message_text.py +88 -0
- pyrogram/raw/types/input_bot_inline_result.py +119 -0
- pyrogram/raw/types/input_bot_inline_result_document.py +98 -0
- pyrogram/raw/types/input_bot_inline_result_game.py +70 -0
- pyrogram/raw/types/input_bot_inline_result_photo.py +78 -0
- pyrogram/raw/types/input_business_away_message.py +78 -0
- pyrogram/raw/types/input_business_bot_recipients.py +98 -0
- pyrogram/raw/types/input_business_chat_link.py +75 -0
- pyrogram/raw/types/input_business_greeting_message.py +70 -0
- pyrogram/raw/types/input_business_intro.py +74 -0
- pyrogram/raw/types/input_business_recipients.py +88 -0
- pyrogram/raw/types/input_channel.py +62 -0
- pyrogram/raw/types/input_channel_empty.py +49 -0
- pyrogram/raw/types/input_channel_from_message.py +70 -0
- pyrogram/raw/types/input_chat_photo.py +54 -0
- pyrogram/raw/types/input_chat_photo_empty.py +49 -0
- pyrogram/raw/types/input_chat_uploaded_photo.py +87 -0
- pyrogram/raw/types/input_chatlist_dialog_filter.py +54 -0
- pyrogram/raw/types/input_check_password_empty.py +49 -0
- pyrogram/raw/types/input_check_password_srp.py +70 -0
- pyrogram/raw/types/input_client_proxy.py +62 -0
- pyrogram/raw/types/input_collectible_phone.py +54 -0
- pyrogram/raw/types/input_collectible_username.py +54 -0
- pyrogram/raw/types/input_dialog_peer.py +54 -0
- pyrogram/raw/types/input_dialog_peer_folder.py +54 -0
- pyrogram/raw/types/input_document.py +70 -0
- pyrogram/raw/types/input_document_empty.py +49 -0
- pyrogram/raw/types/input_document_file_location.py +78 -0
- pyrogram/raw/types/input_encrypted_chat.py +62 -0
- pyrogram/raw/types/input_encrypted_file.py +62 -0
- pyrogram/raw/types/input_encrypted_file_big_uploaded.py +70 -0
- pyrogram/raw/types/input_encrypted_file_empty.py +49 -0
- pyrogram/raw/types/input_encrypted_file_location.py +62 -0
- pyrogram/raw/types/input_encrypted_file_uploaded.py +78 -0
- pyrogram/raw/types/input_file.py +78 -0
- pyrogram/raw/types/input_file_big.py +70 -0
- pyrogram/raw/types/input_file_location.py +78 -0
- pyrogram/raw/types/input_folder_peer.py +62 -0
- pyrogram/raw/types/input_game_id.py +62 -0
- pyrogram/raw/types/input_game_short_name.py +62 -0
- pyrogram/raw/types/input_geo_point.py +73 -0
- pyrogram/raw/types/input_geo_point_empty.py +49 -0
- pyrogram/raw/types/input_group_call.py +62 -0
- pyrogram/raw/types/input_group_call_stream.py +90 -0
- pyrogram/raw/types/input_invoice_message.py +62 -0
- pyrogram/raw/types/input_invoice_premium_gift_code.py +62 -0
- pyrogram/raw/types/input_invoice_slug.py +54 -0
- pyrogram/raw/types/input_invoice_stars.py +54 -0
- pyrogram/raw/types/input_keyboard_button_request_peer.py +98 -0
- pyrogram/raw/types/input_keyboard_button_url_auth.py +87 -0
- pyrogram/raw/types/input_keyboard_button_user_profile.py +62 -0
- pyrogram/raw/types/input_media_area_channel_post.py +70 -0
- pyrogram/raw/types/input_media_area_venue.py +70 -0
- pyrogram/raw/types/input_media_contact.py +78 -0
- pyrogram/raw/types/input_media_dice.py +54 -0
- pyrogram/raw/types/input_media_document.py +80 -0
- pyrogram/raw/types/input_media_document_external.py +71 -0
- pyrogram/raw/types/input_media_empty.py +49 -0
- pyrogram/raw/types/input_media_game.py +54 -0
- pyrogram/raw/types/input_media_geo_live.py +89 -0
- pyrogram/raw/types/input_media_geo_point.py +54 -0
- pyrogram/raw/types/input_media_invoice.py +126 -0
- pyrogram/raw/types/input_media_paid_media.py +62 -0
- pyrogram/raw/types/input_media_photo.py +71 -0
- pyrogram/raw/types/input_media_photo_external.py +71 -0
- pyrogram/raw/types/input_media_poll.py +85 -0
- pyrogram/raw/types/input_media_story.py +62 -0
- pyrogram/raw/types/input_media_uploaded_document.py +119 -0
- pyrogram/raw/types/input_media_uploaded_photo.py +81 -0
- pyrogram/raw/types/input_media_venue.py +94 -0
- pyrogram/raw/types/input_media_web_page.py +74 -0
- pyrogram/raw/types/input_message_callback_query.py +62 -0
- pyrogram/raw/types/input_message_entity_mention_name.py +70 -0
- pyrogram/raw/types/input_message_id.py +54 -0
- pyrogram/raw/types/input_message_pinned.py +49 -0
- pyrogram/raw/types/input_message_reply_to.py +54 -0
- pyrogram/raw/types/input_messages_filter_chat_photos.py +49 -0
- pyrogram/raw/types/input_messages_filter_contacts.py +49 -0
- pyrogram/raw/types/input_messages_filter_document.py +49 -0
- pyrogram/raw/types/input_messages_filter_empty.py +49 -0
- pyrogram/raw/types/input_messages_filter_geo.py +49 -0
- pyrogram/raw/types/input_messages_filter_gif.py +49 -0
- pyrogram/raw/types/input_messages_filter_music.py +49 -0
- pyrogram/raw/types/input_messages_filter_my_mentions.py +49 -0
- pyrogram/raw/types/input_messages_filter_phone_calls.py +54 -0
- pyrogram/raw/types/input_messages_filter_photo_video.py +49 -0
- pyrogram/raw/types/input_messages_filter_photos.py +49 -0
- pyrogram/raw/types/input_messages_filter_pinned.py +49 -0
- pyrogram/raw/types/input_messages_filter_round_video.py +49 -0
- pyrogram/raw/types/input_messages_filter_round_voice.py +49 -0
- pyrogram/raw/types/input_messages_filter_url.py +49 -0
- pyrogram/raw/types/input_messages_filter_video.py +49 -0
- pyrogram/raw/types/input_messages_filter_voice.py +49 -0
- pyrogram/raw/types/input_notify_broadcasts.py +49 -0
- pyrogram/raw/types/input_notify_chats.py +49 -0
- pyrogram/raw/types/input_notify_forum_topic.py +62 -0
- pyrogram/raw/types/input_notify_peer.py +54 -0
- pyrogram/raw/types/input_notify_users.py +49 -0
- pyrogram/raw/types/input_payment_credentials.py +62 -0
- pyrogram/raw/types/input_payment_credentials_apple_pay.py +54 -0
- pyrogram/raw/types/input_payment_credentials_google_pay.py +54 -0
- pyrogram/raw/types/input_payment_credentials_saved.py +62 -0
- pyrogram/raw/types/input_peer_channel.py +62 -0
- pyrogram/raw/types/input_peer_channel_from_message.py +70 -0
- pyrogram/raw/types/input_peer_chat.py +54 -0
- pyrogram/raw/types/input_peer_empty.py +49 -0
- pyrogram/raw/types/input_peer_notify_settings.py +113 -0
- pyrogram/raw/types/input_peer_photo_file_location.py +70 -0
- pyrogram/raw/types/input_peer_photo_file_location_legacy.py +78 -0
- pyrogram/raw/types/input_peer_self.py +49 -0
- pyrogram/raw/types/input_peer_user.py +62 -0
- pyrogram/raw/types/input_peer_user_from_message.py +70 -0
- pyrogram/raw/types/input_phone_call.py +62 -0
- pyrogram/raw/types/input_phone_contact.py +78 -0
- pyrogram/raw/types/input_photo.py +70 -0
- pyrogram/raw/types/input_photo_empty.py +49 -0
- pyrogram/raw/types/input_photo_file_location.py +78 -0
- pyrogram/raw/types/input_photo_legacy_file_location.py +94 -0
- pyrogram/raw/types/input_privacy_key_about.py +49 -0
- pyrogram/raw/types/input_privacy_key_added_by_phone.py +49 -0
- pyrogram/raw/types/input_privacy_key_birthday.py +49 -0
- pyrogram/raw/types/input_privacy_key_chat_invite.py +49 -0
- pyrogram/raw/types/input_privacy_key_forwards.py +49 -0
- pyrogram/raw/types/input_privacy_key_phone_call.py +49 -0
- pyrogram/raw/types/input_privacy_key_phone_number.py +49 -0
- pyrogram/raw/types/input_privacy_key_phone_p2_p.py +49 -0
- pyrogram/raw/types/input_privacy_key_profile_photo.py +49 -0
- pyrogram/raw/types/input_privacy_key_status_timestamp.py +49 -0
- pyrogram/raw/types/input_privacy_key_voice_messages.py +49 -0
- pyrogram/raw/types/input_privacy_value_allow_all.py +49 -0
- pyrogram/raw/types/input_privacy_value_allow_chat_participants.py +54 -0
- pyrogram/raw/types/input_privacy_value_allow_close_friends.py +49 -0
- pyrogram/raw/types/input_privacy_value_allow_contacts.py +49 -0
- pyrogram/raw/types/input_privacy_value_allow_premium.py +49 -0
- pyrogram/raw/types/input_privacy_value_allow_users.py +54 -0
- pyrogram/raw/types/input_privacy_value_disallow_all.py +49 -0
- pyrogram/raw/types/input_privacy_value_disallow_chat_participants.py +54 -0
- pyrogram/raw/types/input_privacy_value_disallow_contacts.py +49 -0
- pyrogram/raw/types/input_privacy_value_disallow_users.py +54 -0
- pyrogram/raw/types/input_quick_reply_shortcut.py +54 -0
- pyrogram/raw/types/input_quick_reply_shortcut_id.py +54 -0
- pyrogram/raw/types/input_reply_to_message.py +103 -0
- pyrogram/raw/types/input_reply_to_story.py +62 -0
- pyrogram/raw/types/input_report_reason_child_abuse.py +49 -0
- pyrogram/raw/types/input_report_reason_copyright.py +49 -0
- pyrogram/raw/types/input_report_reason_fake.py +49 -0
- pyrogram/raw/types/input_report_reason_geo_irrelevant.py +49 -0
- pyrogram/raw/types/input_report_reason_illegal_drugs.py +49 -0
- pyrogram/raw/types/input_report_reason_other.py +49 -0
- pyrogram/raw/types/input_report_reason_personal_details.py +49 -0
- pyrogram/raw/types/input_report_reason_pornography.py +49 -0
- pyrogram/raw/types/input_report_reason_spam.py +49 -0
- pyrogram/raw/types/input_report_reason_violence.py +49 -0
- pyrogram/raw/types/input_secure_file.py +62 -0
- pyrogram/raw/types/input_secure_file_location.py +62 -0
- pyrogram/raw/types/input_secure_file_uploaded.py +86 -0
- pyrogram/raw/types/input_secure_value.py +126 -0
- pyrogram/raw/types/input_single_media.py +82 -0
- pyrogram/raw/types/input_stars_transaction.py +62 -0
- pyrogram/raw/types/input_sticker_set_animated_emoji.py +49 -0
- pyrogram/raw/types/input_sticker_set_animated_emoji_animations.py +49 -0
- pyrogram/raw/types/input_sticker_set_dice.py +54 -0
- pyrogram/raw/types/input_sticker_set_emoji_channel_default_statuses.py +49 -0
- pyrogram/raw/types/input_sticker_set_emoji_default_statuses.py +49 -0
- pyrogram/raw/types/input_sticker_set_emoji_default_topic_icons.py +49 -0
- pyrogram/raw/types/input_sticker_set_emoji_generic_animations.py +49 -0
- pyrogram/raw/types/input_sticker_set_empty.py +49 -0
- pyrogram/raw/types/input_sticker_set_id.py +62 -0
- pyrogram/raw/types/input_sticker_set_item.py +83 -0
- pyrogram/raw/types/input_sticker_set_premium_gifts.py +49 -0
- pyrogram/raw/types/input_sticker_set_short_name.py +54 -0
- pyrogram/raw/types/input_sticker_set_thumb.py +62 -0
- pyrogram/raw/types/input_sticker_set_thumb_legacy.py +70 -0
- pyrogram/raw/types/input_stickered_media_document.py +54 -0
- pyrogram/raw/types/input_stickered_media_photo.py +54 -0
- pyrogram/raw/types/input_store_payment_gift_premium.py +70 -0
- pyrogram/raw/types/input_store_payment_premium_gift_code.py +82 -0
- pyrogram/raw/types/input_store_payment_premium_giveaway.py +129 -0
- pyrogram/raw/types/input_store_payment_premium_subscription.py +60 -0
- pyrogram/raw/types/input_store_payment_stars.py +73 -0
- pyrogram/raw/types/input_takeout_file_location.py +49 -0
- pyrogram/raw/types/input_theme.py +62 -0
- pyrogram/raw/types/input_theme_settings.py +109 -0
- pyrogram/raw/types/input_theme_slug.py +54 -0
- pyrogram/raw/types/input_user.py +62 -0
- pyrogram/raw/types/input_user_empty.py +49 -0
- pyrogram/raw/types/input_user_from_message.py +70 -0
- pyrogram/raw/types/input_user_self.py +49 -0
- pyrogram/raw/types/input_wall_paper.py +62 -0
- pyrogram/raw/types/input_wall_paper_no_file.py +54 -0
- pyrogram/raw/types/input_wall_paper_slug.py +54 -0
- pyrogram/raw/types/input_web_document.py +78 -0
- pyrogram/raw/types/input_web_file_audio_album_thumb_location.py +82 -0
- pyrogram/raw/types/input_web_file_geo_point_location.py +94 -0
- pyrogram/raw/types/input_web_file_location.py +62 -0
- pyrogram/raw/types/invoice.py +146 -0
- pyrogram/raw/types/ip_port.py +62 -0
- pyrogram/raw/types/ip_port_secret.py +70 -0
- pyrogram/raw/types/json_array.py +54 -0
- pyrogram/raw/types/json_bool.py +54 -0
- pyrogram/raw/types/json_null.py +49 -0
- pyrogram/raw/types/json_number.py +54 -0
- pyrogram/raw/types/json_object.py +54 -0
- pyrogram/raw/types/json_object_value.py +62 -0
- pyrogram/raw/types/json_string.py +54 -0
- pyrogram/raw/types/keyboard_button.py +54 -0
- pyrogram/raw/types/keyboard_button_buy.py +54 -0
- pyrogram/raw/types/keyboard_button_callback.py +70 -0
- pyrogram/raw/types/keyboard_button_game.py +54 -0
- pyrogram/raw/types/keyboard_button_request_geo_location.py +54 -0
- pyrogram/raw/types/keyboard_button_request_peer.py +78 -0
- pyrogram/raw/types/keyboard_button_request_phone.py +54 -0
- pyrogram/raw/types/keyboard_button_request_poll.py +65 -0
- pyrogram/raw/types/keyboard_button_row.py +54 -0
- pyrogram/raw/types/keyboard_button_simple_web_view.py +62 -0
- pyrogram/raw/types/keyboard_button_switch_inline.py +80 -0
- pyrogram/raw/types/keyboard_button_url.py +62 -0
- pyrogram/raw/types/keyboard_button_url_auth.py +81 -0
- pyrogram/raw/types/keyboard_button_user_profile.py +62 -0
- pyrogram/raw/types/keyboard_button_web_view.py +62 -0
- pyrogram/raw/types/labeled_price.py +62 -0
- pyrogram/raw/types/lang_pack_difference.py +88 -0
- pyrogram/raw/types/lang_pack_language.py +141 -0
- pyrogram/raw/types/lang_pack_string.py +71 -0
- pyrogram/raw/types/lang_pack_string_deleted.py +63 -0
- pyrogram/raw/types/lang_pack_string_pluralized.py +118 -0
- pyrogram/raw/types/mask_coords.py +78 -0
- pyrogram/raw/types/media_area_channel_post.py +70 -0
- pyrogram/raw/types/media_area_coordinates.py +97 -0
- pyrogram/raw/types/media_area_geo_point.py +74 -0
- pyrogram/raw/types/media_area_suggested_reaction.py +76 -0
- pyrogram/raw/types/media_area_url.py +62 -0
- pyrogram/raw/types/media_area_venue.py +102 -0
- pyrogram/raw/types/message.py +365 -0
- pyrogram/raw/types/message_action_boost_apply.py +54 -0
- pyrogram/raw/types/message_action_bot_allowed.py +79 -0
- pyrogram/raw/types/message_action_channel_create.py +54 -0
- pyrogram/raw/types/message_action_channel_migrate_from.py +62 -0
- pyrogram/raw/types/message_action_chat_add_user.py +54 -0
- pyrogram/raw/types/message_action_chat_create.py +62 -0
- pyrogram/raw/types/message_action_chat_delete_photo.py +49 -0
- pyrogram/raw/types/message_action_chat_delete_user.py +54 -0
- pyrogram/raw/types/message_action_chat_edit_photo.py +54 -0
- pyrogram/raw/types/message_action_chat_edit_title.py +54 -0
- pyrogram/raw/types/message_action_chat_joined_by_link.py +54 -0
- pyrogram/raw/types/message_action_chat_joined_by_request.py +49 -0
- pyrogram/raw/types/message_action_chat_migrate_to.py +54 -0
- pyrogram/raw/types/message_action_contact_sign_up.py +49 -0
- pyrogram/raw/types/message_action_custom_action.py +54 -0
- pyrogram/raw/types/message_action_empty.py +49 -0
- pyrogram/raw/types/message_action_game_score.py +62 -0
- pyrogram/raw/types/message_action_geo_proximity_reached.py +70 -0
- pyrogram/raw/types/message_action_gift_code.py +122 -0
- pyrogram/raw/types/message_action_gift_premium.py +90 -0
- pyrogram/raw/types/message_action_giveaway_launch.py +49 -0
- pyrogram/raw/types/message_action_giveaway_results.py +62 -0
- pyrogram/raw/types/message_action_group_call.py +65 -0
- pyrogram/raw/types/message_action_group_call_scheduled.py +62 -0
- pyrogram/raw/types/message_action_history_clear.py +49 -0
- pyrogram/raw/types/message_action_invite_to_group_call.py +62 -0
- pyrogram/raw/types/message_action_payment_refunded.py +89 -0
- pyrogram/raw/types/message_action_payment_sent.py +85 -0
- pyrogram/raw/types/message_action_payment_sent_me.py +111 -0
- pyrogram/raw/types/message_action_phone_call.py +81 -0
- pyrogram/raw/types/message_action_pin_message.py +49 -0
- pyrogram/raw/types/message_action_requested_peer.py +62 -0
- pyrogram/raw/types/message_action_requested_peer_sent_me.py +62 -0
- pyrogram/raw/types/message_action_screenshot_taken.py +49 -0
- pyrogram/raw/types/message_action_secure_values_sent.py +54 -0
- pyrogram/raw/types/message_action_secure_values_sent_me.py +62 -0
- pyrogram/raw/types/message_action_set_chat_theme.py +54 -0
- pyrogram/raw/types/message_action_set_chat_wall_paper.py +68 -0
- pyrogram/raw/types/message_action_set_messages_ttl.py +65 -0
- pyrogram/raw/types/message_action_suggest_profile_photo.py +54 -0
- pyrogram/raw/types/message_action_topic_create.py +73 -0
- pyrogram/raw/types/message_action_topic_edit.py +84 -0
- pyrogram/raw/types/message_action_web_view_data_sent.py +54 -0
- pyrogram/raw/types/message_action_web_view_data_sent_me.py +62 -0
- pyrogram/raw/types/message_empty.py +66 -0
- pyrogram/raw/types/message_entity_bank_card.py +62 -0
- pyrogram/raw/types/message_entity_blockquote.py +70 -0
- pyrogram/raw/types/message_entity_bold.py +62 -0
- pyrogram/raw/types/message_entity_bot_command.py +62 -0
- pyrogram/raw/types/message_entity_cashtag.py +62 -0
- pyrogram/raw/types/message_entity_code.py +62 -0
- pyrogram/raw/types/message_entity_custom_emoji.py +70 -0
- pyrogram/raw/types/message_entity_email.py +62 -0
- pyrogram/raw/types/message_entity_hashtag.py +62 -0
- pyrogram/raw/types/message_entity_italic.py +62 -0
- pyrogram/raw/types/message_entity_mention.py +62 -0
- pyrogram/raw/types/message_entity_mention_name.py +70 -0
- pyrogram/raw/types/message_entity_phone.py +62 -0
- pyrogram/raw/types/message_entity_pre.py +70 -0
- pyrogram/raw/types/message_entity_spoiler.py +62 -0
- pyrogram/raw/types/message_entity_strike.py +62 -0
- pyrogram/raw/types/message_entity_text_url.py +70 -0
- pyrogram/raw/types/message_entity_underline.py +62 -0
- pyrogram/raw/types/message_entity_unknown.py +62 -0
- pyrogram/raw/types/message_entity_url.py +62 -0
- pyrogram/raw/types/message_extended_media.py +54 -0
- pyrogram/raw/types/message_extended_media_preview.py +85 -0
- pyrogram/raw/types/message_fwd_header.py +161 -0
- pyrogram/raw/types/message_media_contact.py +97 -0
- pyrogram/raw/types/message_media_dice.py +73 -0
- pyrogram/raw/types/message_media_document.py +118 -0
- pyrogram/raw/types/message_media_empty.py +60 -0
- pyrogram/raw/types/message_media_game.py +65 -0
- pyrogram/raw/types/message_media_geo.py +65 -0
- pyrogram/raw/types/message_media_geo_live.py +93 -0
- pyrogram/raw/types/message_media_giveaway.py +122 -0
- pyrogram/raw/types/message_media_giveaway_results.py +145 -0
- pyrogram/raw/types/message_media_invoice.py +140 -0
- pyrogram/raw/types/message_media_paid_media.py +73 -0
- pyrogram/raw/types/message_media_photo.py +84 -0
- pyrogram/raw/types/message_media_poll.py +73 -0
- pyrogram/raw/types/message_media_story.py +91 -0
- pyrogram/raw/types/message_media_unsupported.py +60 -0
- pyrogram/raw/types/message_media_venue.py +105 -0
- pyrogram/raw/types/message_media_web_page.py +91 -0
- pyrogram/raw/types/message_peer_reaction.py +90 -0
- pyrogram/raw/types/message_peer_vote.py +70 -0
- pyrogram/raw/types/message_peer_vote_input_option.py +62 -0
- pyrogram/raw/types/message_peer_vote_multiple.py +70 -0
- pyrogram/raw/types/message_range.py +71 -0
- pyrogram/raw/types/message_reactions.py +84 -0
- pyrogram/raw/types/message_replies.py +107 -0
- pyrogram/raw/types/message_reply_header.py +142 -0
- pyrogram/raw/types/message_reply_story_header.py +62 -0
- pyrogram/raw/types/message_service.py +145 -0
- pyrogram/raw/types/message_views.py +76 -0
- pyrogram/raw/types/messages/__init__.py +89 -0
- pyrogram/raw/types/messages/affected_found_messages.py +87 -0
- pyrogram/raw/types/messages/affected_history.py +85 -0
- pyrogram/raw/types/messages/affected_messages.py +74 -0
- pyrogram/raw/types/messages/all_stickers.py +73 -0
- pyrogram/raw/types/messages/all_stickers_not_modified.py +60 -0
- pyrogram/raw/types/messages/archived_stickers.py +71 -0
- pyrogram/raw/types/messages/available_effects.py +79 -0
- pyrogram/raw/types/messages/available_effects_not_modified.py +58 -0
- pyrogram/raw/types/messages/available_reactions.py +71 -0
- pyrogram/raw/types/messages/available_reactions_not_modified.py +58 -0
- pyrogram/raw/types/messages/bot_app.py +83 -0
- pyrogram/raw/types/messages/bot_callback_answer.py +101 -0
- pyrogram/raw/types/messages/bot_results.py +124 -0
- pyrogram/raw/types/messages/channel_messages.py +134 -0
- pyrogram/raw/types/messages/chat_admins_with_invites.py +71 -0
- pyrogram/raw/types/messages/chat_full.py +80 -0
- pyrogram/raw/types/messages/chat_invite_importers.py +79 -0
- pyrogram/raw/types/messages/chats.py +70 -0
- pyrogram/raw/types/messages/chats_slice.py +78 -0
- pyrogram/raw/types/messages/checked_history_import_peer.py +63 -0
- pyrogram/raw/types/messages/dh_config.py +87 -0
- pyrogram/raw/types/messages/dh_config_not_modified.py +63 -0
- pyrogram/raw/types/messages/dialog_filters.py +71 -0
- pyrogram/raw/types/messages/dialogs.py +87 -0
- pyrogram/raw/types/messages/dialogs_not_modified.py +63 -0
- pyrogram/raw/types/messages/dialogs_slice.py +95 -0
- pyrogram/raw/types/messages/discussion_message.py +116 -0
- pyrogram/raw/types/messages/emoji_groups.py +74 -0
- pyrogram/raw/types/messages/emoji_groups_not_modified.py +61 -0
- pyrogram/raw/types/messages/exported_chat_invite.py +72 -0
- pyrogram/raw/types/messages/exported_chat_invite_replaced.py +80 -0
- pyrogram/raw/types/messages/exported_chat_invites.py +79 -0
- pyrogram/raw/types/messages/faved_stickers.py +79 -0
- pyrogram/raw/types/messages/faved_stickers_not_modified.py +58 -0
- pyrogram/raw/types/messages/featured_stickers.py +97 -0
- pyrogram/raw/types/messages/featured_stickers_not_modified.py +65 -0
- pyrogram/raw/types/messages/forum_topics.py +112 -0
- pyrogram/raw/types/messages/found_sticker_sets.py +72 -0
- pyrogram/raw/types/messages/found_sticker_sets_not_modified.py +59 -0
- pyrogram/raw/types/messages/high_scores.py +72 -0
- pyrogram/raw/types/messages/history_import.py +63 -0
- pyrogram/raw/types/messages/history_import_parsed.py +78 -0
- pyrogram/raw/types/messages/inactive_chats.py +79 -0
- pyrogram/raw/types/messages/invited_users.py +73 -0
- pyrogram/raw/types/messages/message_edit_data.py +63 -0
- pyrogram/raw/types/messages/message_reactions_list.py +98 -0
- pyrogram/raw/types/messages/message_views.py +79 -0
- pyrogram/raw/types/messages/messages.py +93 -0
- pyrogram/raw/types/messages/messages_not_modified.py +77 -0
- pyrogram/raw/types/messages/messages_slice.py +127 -0
- pyrogram/raw/types/messages/my_stickers.py +71 -0
- pyrogram/raw/types/messages/peer_dialogs.py +96 -0
- pyrogram/raw/types/messages/peer_settings.py +79 -0
- pyrogram/raw/types/messages/quick_replies.py +87 -0
- pyrogram/raw/types/messages/quick_replies_not_modified.py +58 -0
- pyrogram/raw/types/messages/reactions.py +73 -0
- pyrogram/raw/types/messages/reactions_not_modified.py +60 -0
- pyrogram/raw/types/messages/recent_stickers.py +87 -0
- pyrogram/raw/types/messages/recent_stickers_not_modified.py +58 -0
- pyrogram/raw/types/messages/saved_dialogs.py +88 -0
- pyrogram/raw/types/messages/saved_dialogs_not_modified.py +64 -0
- pyrogram/raw/types/messages/saved_dialogs_slice.py +96 -0
- pyrogram/raw/types/messages/saved_gifs.py +71 -0
- pyrogram/raw/types/messages/saved_gifs_not_modified.py +58 -0
- pyrogram/raw/types/messages/saved_reaction_tags.py +71 -0
- pyrogram/raw/types/messages/saved_reaction_tags_not_modified.py +58 -0
- pyrogram/raw/types/messages/search_counter.py +79 -0
- pyrogram/raw/types/messages/search_results_calendar.py +128 -0
- pyrogram/raw/types/messages/search_results_positions.py +71 -0
- pyrogram/raw/types/messages/sent_encrypted_file.py +73 -0
- pyrogram/raw/types/messages/sent_encrypted_message.py +65 -0
- pyrogram/raw/types/messages/sponsored_messages.py +90 -0
- pyrogram/raw/types/messages/sponsored_messages_empty.py +58 -0
- pyrogram/raw/types/messages/sticker_set.py +95 -0
- pyrogram/raw/types/messages/sticker_set_install_result_archive.py +63 -0
- pyrogram/raw/types/messages/sticker_set_install_result_success.py +58 -0
- pyrogram/raw/types/messages/sticker_set_not_modified.py +66 -0
- pyrogram/raw/types/messages/stickers.py +71 -0
- pyrogram/raw/types/messages/stickers_not_modified.py +58 -0
- pyrogram/raw/types/messages/transcribed_audio.py +97 -0
- pyrogram/raw/types/messages/translate_result.py +63 -0
- pyrogram/raw/types/messages/votes_list.py +98 -0
- pyrogram/raw/types/messages/web_page.py +79 -0
- pyrogram/raw/types/missing_invitee.py +68 -0
- pyrogram/raw/types/msg_detailed_info.py +78 -0
- pyrogram/raw/types/msg_new_detailed_info.py +70 -0
- pyrogram/raw/types/msg_resend_ans_req.py +54 -0
- pyrogram/raw/types/msg_resend_req.py +54 -0
- pyrogram/raw/types/msgs_ack.py +54 -0
- pyrogram/raw/types/msgs_all_info.py +62 -0
- pyrogram/raw/types/msgs_state_info.py +62 -0
- pyrogram/raw/types/msgs_state_req.py +54 -0
- pyrogram/raw/types/my_boost.py +91 -0
- pyrogram/raw/types/nearest_dc.py +79 -0
- pyrogram/raw/types/new_session_created.py +70 -0
- pyrogram/raw/types/notification_sound_default.py +49 -0
- pyrogram/raw/types/notification_sound_local.py +62 -0
- pyrogram/raw/types/notification_sound_none.py +49 -0
- pyrogram/raw/types/notification_sound_ringtone.py +54 -0
- pyrogram/raw/types/notify_broadcasts.py +49 -0
- pyrogram/raw/types/notify_chats.py +49 -0
- pyrogram/raw/types/notify_forum_topic.py +62 -0
- pyrogram/raw/types/notify_peer.py +54 -0
- pyrogram/raw/types/notify_users.py +49 -0
- pyrogram/raw/types/outbox_read_date.py +63 -0
- pyrogram/raw/types/page.py +107 -0
- pyrogram/raw/types/page_block_anchor.py +54 -0
- pyrogram/raw/types/page_block_audio.py +62 -0
- pyrogram/raw/types/page_block_author_date.py +62 -0
- pyrogram/raw/types/page_block_blockquote.py +62 -0
- pyrogram/raw/types/page_block_channel.py +54 -0
- pyrogram/raw/types/page_block_collage.py +62 -0
- pyrogram/raw/types/page_block_cover.py +54 -0
- pyrogram/raw/types/page_block_details.py +70 -0
- pyrogram/raw/types/page_block_divider.py +49 -0
- pyrogram/raw/types/page_block_embed.py +113 -0
- pyrogram/raw/types/page_block_embed_post.py +102 -0
- pyrogram/raw/types/page_block_footer.py +54 -0
- pyrogram/raw/types/page_block_header.py +54 -0
- pyrogram/raw/types/page_block_kicker.py +54 -0
- pyrogram/raw/types/page_block_list.py +54 -0
- pyrogram/raw/types/page_block_map.py +86 -0
- pyrogram/raw/types/page_block_ordered_list.py +54 -0
- pyrogram/raw/types/page_block_paragraph.py +54 -0
- pyrogram/raw/types/page_block_photo.py +82 -0
- pyrogram/raw/types/page_block_preformatted.py +62 -0
- pyrogram/raw/types/page_block_pullquote.py +62 -0
- pyrogram/raw/types/page_block_related_articles.py +62 -0
- pyrogram/raw/types/page_block_slideshow.py +62 -0
- pyrogram/raw/types/page_block_subheader.py +54 -0
- pyrogram/raw/types/page_block_subtitle.py +54 -0
- pyrogram/raw/types/page_block_table.py +76 -0
- pyrogram/raw/types/page_block_title.py +54 -0
- pyrogram/raw/types/page_block_unsupported.py +49 -0
- pyrogram/raw/types/page_block_video.py +76 -0
- pyrogram/raw/types/page_caption.py +62 -0
- pyrogram/raw/types/page_list_item_blocks.py +54 -0
- pyrogram/raw/types/page_list_item_text.py +54 -0
- pyrogram/raw/types/page_list_ordered_item_blocks.py +62 -0
- pyrogram/raw/types/page_list_ordered_item_text.py +62 -0
- pyrogram/raw/types/page_related_article.py +109 -0
- pyrogram/raw/types/page_table_cell.py +106 -0
- pyrogram/raw/types/page_table_row.py +54 -0
- pyrogram/raw/types/password_kdf_algo_sha256_sha256_pbkdf2_hmacsha512iter100000_sha256_mod_pow.py +78 -0
- pyrogram/raw/types/password_kdf_algo_unknown.py +49 -0
- pyrogram/raw/types/payment_charge.py +62 -0
- pyrogram/raw/types/payment_form_method.py +62 -0
- pyrogram/raw/types/payment_requested_info.py +85 -0
- pyrogram/raw/types/payment_saved_credentials_card.py +62 -0
- pyrogram/raw/types/payments/__init__.py +23 -0
- pyrogram/raw/types/payments/bank_card_data.py +71 -0
- pyrogram/raw/types/payments/checked_gift_code.py +132 -0
- pyrogram/raw/types/payments/exported_invoice.py +63 -0
- pyrogram/raw/types/payments/giveaway_info.py +104 -0
- pyrogram/raw/types/payments/giveaway_info_results.py +110 -0
- pyrogram/raw/types/payments/payment_form.py +192 -0
- pyrogram/raw/types/payments/payment_form_stars.py +115 -0
- pyrogram/raw/types/payments/payment_receipt.py +176 -0
- pyrogram/raw/types/payments/payment_receipt_stars.py +139 -0
- pyrogram/raw/types/payments/payment_result.py +64 -0
- pyrogram/raw/types/payments/payment_verification_needed.py +64 -0
- pyrogram/raw/types/payments/saved_info.py +73 -0
- pyrogram/raw/types/payments/stars_revenue_ads_account_url.py +63 -0
- pyrogram/raw/types/payments/stars_revenue_stats.py +79 -0
- pyrogram/raw/types/payments/stars_revenue_withdrawal_url.py +63 -0
- pyrogram/raw/types/payments/stars_status.py +100 -0
- pyrogram/raw/types/payments/validated_requested_info.py +76 -0
- pyrogram/raw/types/peer_blocked.py +62 -0
- pyrogram/raw/types/peer_channel.py +63 -0
- pyrogram/raw/types/peer_chat.py +63 -0
- pyrogram/raw/types/peer_color.py +66 -0
- pyrogram/raw/types/peer_located.py +70 -0
- pyrogram/raw/types/peer_notify_settings.py +162 -0
- pyrogram/raw/types/peer_self_located.py +54 -0
- pyrogram/raw/types/peer_settings.py +159 -0
- pyrogram/raw/types/peer_stories.py +73 -0
- pyrogram/raw/types/peer_user.py +63 -0
- pyrogram/raw/types/phone/__init__.py +13 -0
- pyrogram/raw/types/phone/exported_group_call_invite.py +63 -0
- pyrogram/raw/types/phone/group_call.py +95 -0
- pyrogram/raw/types/phone/group_call_stream_channels.py +63 -0
- pyrogram/raw/types/phone/group_call_stream_rtmp_url.py +71 -0
- pyrogram/raw/types/phone/group_participants.py +103 -0
- pyrogram/raw/types/phone/join_as_peers.py +79 -0
- pyrogram/raw/types/phone/phone_call.py +73 -0
- pyrogram/raw/types/phone_call.py +150 -0
- pyrogram/raw/types/phone_call_accepted.py +110 -0
- pyrogram/raw/types/phone_call_discard_reason_busy.py +49 -0
- pyrogram/raw/types/phone_call_discard_reason_disconnect.py +49 -0
- pyrogram/raw/types/phone_call_discard_reason_hangup.py +49 -0
- pyrogram/raw/types/phone_call_discard_reason_missed.py +49 -0
- pyrogram/raw/types/phone_call_discarded.py +93 -0
- pyrogram/raw/types/phone_call_empty.py +54 -0
- pyrogram/raw/types/phone_call_protocol.py +84 -0
- pyrogram/raw/types/phone_call_requested.py +110 -0
- pyrogram/raw/types/phone_call_waiting.py +111 -0
- pyrogram/raw/types/phone_connection.py +94 -0
- pyrogram/raw/types/phone_connection_webrtc.py +108 -0
- pyrogram/raw/types/photo.py +112 -0
- pyrogram/raw/types/photo_cached_size.py +78 -0
- pyrogram/raw/types/photo_empty.py +54 -0
- pyrogram/raw/types/photo_path_size.py +62 -0
- pyrogram/raw/types/photo_size.py +78 -0
- pyrogram/raw/types/photo_size_empty.py +54 -0
- pyrogram/raw/types/photo_size_progressive.py +78 -0
- pyrogram/raw/types/photo_stripped_size.py +62 -0
- pyrogram/raw/types/photos/__init__.py +9 -0
- pyrogram/raw/types/photos/photo.py +73 -0
- pyrogram/raw/types/photos/photos.py +71 -0
- pyrogram/raw/types/photos/photos_slice.py +79 -0
- pyrogram/raw/types/poll.py +114 -0
- pyrogram/raw/types/poll_answer.py +62 -0
- pyrogram/raw/types/poll_answer_voters.py +76 -0
- pyrogram/raw/types/poll_results.py +102 -0
- pyrogram/raw/types/pong.py +72 -0
- pyrogram/raw/types/popular_contact.py +62 -0
- pyrogram/raw/types/post_address.py +94 -0
- pyrogram/raw/types/post_interaction_counters_message.py +78 -0
- pyrogram/raw/types/post_interaction_counters_story.py +78 -0
- pyrogram/raw/types/pq_inner_data.py +94 -0
- pyrogram/raw/types/pq_inner_data_dc.py +102 -0
- pyrogram/raw/types/pq_inner_data_temp.py +102 -0
- pyrogram/raw/types/pq_inner_data_temp_dc.py +110 -0
- pyrogram/raw/types/premium/__init__.py +9 -0
- pyrogram/raw/types/premium/boosts_list.py +91 -0
- pyrogram/raw/types/premium/boosts_status.py +143 -0
- pyrogram/raw/types/premium/my_boosts.py +80 -0
- pyrogram/raw/types/premium_gift_code_option.py +107 -0
- pyrogram/raw/types/premium_gift_option.py +89 -0
- pyrogram/raw/types/premium_subscription_option.py +110 -0
- pyrogram/raw/types/prepaid_giveaway.py +78 -0
- pyrogram/raw/types/privacy_key_about.py +49 -0
- pyrogram/raw/types/privacy_key_added_by_phone.py +49 -0
- pyrogram/raw/types/privacy_key_birthday.py +49 -0
- pyrogram/raw/types/privacy_key_chat_invite.py +49 -0
- pyrogram/raw/types/privacy_key_forwards.py +49 -0
- pyrogram/raw/types/privacy_key_phone_call.py +49 -0
- pyrogram/raw/types/privacy_key_phone_number.py +49 -0
- pyrogram/raw/types/privacy_key_phone_p2_p.py +49 -0
- pyrogram/raw/types/privacy_key_profile_photo.py +49 -0
- pyrogram/raw/types/privacy_key_status_timestamp.py +49 -0
- pyrogram/raw/types/privacy_key_voice_messages.py +49 -0
- pyrogram/raw/types/privacy_value_allow_all.py +49 -0
- pyrogram/raw/types/privacy_value_allow_chat_participants.py +54 -0
- pyrogram/raw/types/privacy_value_allow_close_friends.py +49 -0
- pyrogram/raw/types/privacy_value_allow_contacts.py +49 -0
- pyrogram/raw/types/privacy_value_allow_premium.py +49 -0
- pyrogram/raw/types/privacy_value_allow_users.py +54 -0
- pyrogram/raw/types/privacy_value_disallow_all.py +49 -0
- pyrogram/raw/types/privacy_value_disallow_chat_participants.py +54 -0
- pyrogram/raw/types/privacy_value_disallow_contacts.py +49 -0
- pyrogram/raw/types/privacy_value_disallow_users.py +54 -0
- pyrogram/raw/types/public_forward_message.py +54 -0
- pyrogram/raw/types/public_forward_story.py +62 -0
- pyrogram/raw/types/quick_reply.py +78 -0
- pyrogram/raw/types/reaction_count.py +73 -0
- pyrogram/raw/types/reaction_custom_emoji.py +54 -0
- pyrogram/raw/types/reaction_emoji.py +54 -0
- pyrogram/raw/types/reaction_empty.py +49 -0
- pyrogram/raw/types/reaction_notifications_from_all.py +49 -0
- pyrogram/raw/types/reaction_notifications_from_contacts.py +49 -0
- pyrogram/raw/types/reactions_notify_settings.py +94 -0
- pyrogram/raw/types/read_participant_date.py +71 -0
- pyrogram/raw/types/received_notify_message.py +71 -0
- pyrogram/raw/types/recent_me_url_chat.py +62 -0
- pyrogram/raw/types/recent_me_url_chat_invite.py +62 -0
- pyrogram/raw/types/recent_me_url_sticker_set.py +62 -0
- pyrogram/raw/types/recent_me_url_unknown.py +54 -0
- pyrogram/raw/types/recent_me_url_user.py +62 -0
- pyrogram/raw/types/reply_inline_markup.py +54 -0
- pyrogram/raw/types/reply_keyboard_force_reply.py +69 -0
- pyrogram/raw/types/reply_keyboard_hide.py +54 -0
- pyrogram/raw/types/reply_keyboard_markup.py +89 -0
- pyrogram/raw/types/request_peer_type_broadcast.py +83 -0
- pyrogram/raw/types/request_peer_type_chat.py +98 -0
- pyrogram/raw/types/request_peer_type_user.py +66 -0
- pyrogram/raw/types/requested_peer_channel.py +84 -0
- pyrogram/raw/types/requested_peer_chat.py +75 -0
- pyrogram/raw/types/requested_peer_user.py +93 -0
- pyrogram/raw/types/res_pq.py +88 -0
- pyrogram/raw/types/restriction_reason.py +70 -0
- pyrogram/raw/types/rpc_answer_dropped.py +79 -0
- pyrogram/raw/types/rpc_answer_dropped_running.py +58 -0
- pyrogram/raw/types/rpc_answer_unknown.py +58 -0
- pyrogram/raw/types/rpc_error.py +62 -0
- pyrogram/raw/types/rpc_result.py +62 -0
- pyrogram/raw/types/saved_dialog.py +70 -0
- pyrogram/raw/types/saved_phone_contact.py +87 -0
- pyrogram/raw/types/saved_reaction_tag.py +73 -0
- pyrogram/raw/types/search_result_position.py +70 -0
- pyrogram/raw/types/search_results_calendar_period.py +78 -0
- pyrogram/raw/types/secure_credentials_encrypted.py +70 -0
- pyrogram/raw/types/secure_data.py +70 -0
- pyrogram/raw/types/secure_file.py +102 -0
- pyrogram/raw/types/secure_file_empty.py +49 -0
- pyrogram/raw/types/secure_password_kdf_algo_pbkdf2_hmacsha512iter100000.py +54 -0
- pyrogram/raw/types/secure_password_kdf_algo_sha512.py +54 -0
- pyrogram/raw/types/secure_password_kdf_algo_unknown.py +49 -0
- pyrogram/raw/types/secure_plain_email.py +54 -0
- pyrogram/raw/types/secure_plain_phone.py +54 -0
- pyrogram/raw/types/secure_required_type.py +74 -0
- pyrogram/raw/types/secure_required_type_one_of.py +54 -0
- pyrogram/raw/types/secure_secret_settings.py +70 -0
- pyrogram/raw/types/secure_value.py +145 -0
- pyrogram/raw/types/secure_value_error.py +70 -0
- pyrogram/raw/types/secure_value_error_data.py +78 -0
- pyrogram/raw/types/secure_value_error_file.py +70 -0
- pyrogram/raw/types/secure_value_error_files.py +70 -0
- pyrogram/raw/types/secure_value_error_front_side.py +70 -0
- pyrogram/raw/types/secure_value_error_reverse_side.py +70 -0
- pyrogram/raw/types/secure_value_error_selfie.py +70 -0
- pyrogram/raw/types/secure_value_error_translation_file.py +70 -0
- pyrogram/raw/types/secure_value_error_translation_files.py +70 -0
- pyrogram/raw/types/secure_value_hash.py +62 -0
- pyrogram/raw/types/secure_value_type_address.py +49 -0
- pyrogram/raw/types/secure_value_type_bank_statement.py +49 -0
- pyrogram/raw/types/secure_value_type_driver_license.py +49 -0
- pyrogram/raw/types/secure_value_type_email.py +49 -0
- pyrogram/raw/types/secure_value_type_identity_card.py +49 -0
- pyrogram/raw/types/secure_value_type_internal_passport.py +49 -0
- pyrogram/raw/types/secure_value_type_passport.py +49 -0
- pyrogram/raw/types/secure_value_type_passport_registration.py +49 -0
- pyrogram/raw/types/secure_value_type_personal_details.py +49 -0
- pyrogram/raw/types/secure_value_type_phone.py +49 -0
- pyrogram/raw/types/secure_value_type_rental_agreement.py +49 -0
- pyrogram/raw/types/secure_value_type_temporary_registration.py +49 -0
- pyrogram/raw/types/secure_value_type_utility_bill.py +49 -0
- pyrogram/raw/types/send_as_peer.py +62 -0
- pyrogram/raw/types/send_message_cancel_action.py +49 -0
- pyrogram/raw/types/send_message_choose_contact_action.py +49 -0
- pyrogram/raw/types/send_message_choose_sticker_action.py +49 -0
- pyrogram/raw/types/send_message_emoji_interaction.py +70 -0
- pyrogram/raw/types/send_message_emoji_interaction_seen.py +54 -0
- pyrogram/raw/types/send_message_game_play_action.py +49 -0
- pyrogram/raw/types/send_message_geo_location_action.py +49 -0
- pyrogram/raw/types/send_message_history_import_action.py +54 -0
- pyrogram/raw/types/send_message_record_audio_action.py +49 -0
- pyrogram/raw/types/send_message_record_round_action.py +49 -0
- pyrogram/raw/types/send_message_record_video_action.py +49 -0
- pyrogram/raw/types/send_message_typing_action.py +49 -0
- pyrogram/raw/types/send_message_upload_audio_action.py +54 -0
- pyrogram/raw/types/send_message_upload_document_action.py +54 -0
- pyrogram/raw/types/send_message_upload_photo_action.py +54 -0
- pyrogram/raw/types/send_message_upload_round_action.py +54 -0
- pyrogram/raw/types/send_message_upload_video_action.py +54 -0
- pyrogram/raw/types/server_dh_inner_data.py +94 -0
- pyrogram/raw/types/server_dh_params_fail.py +79 -0
- pyrogram/raw/types/server_dh_params_ok.py +79 -0
- pyrogram/raw/types/shipping_option.py +70 -0
- pyrogram/raw/types/sms_job.py +79 -0
- pyrogram/raw/types/smsjobs/__init__.py +8 -0
- pyrogram/raw/types/smsjobs/eligible_to_join.py +71 -0
- pyrogram/raw/types/smsjobs/status.py +120 -0
- pyrogram/raw/types/speaking_in_group_call_action.py +49 -0
- pyrogram/raw/types/sponsored_message.py +148 -0
- pyrogram/raw/types/sponsored_message_report_option.py +62 -0
- pyrogram/raw/types/stars_revenue_status.py +87 -0
- pyrogram/raw/types/stars_topup_option.py +96 -0
- pyrogram/raw/types/stars_transaction.py +172 -0
- pyrogram/raw/types/stars_transaction_peer.py +54 -0
- pyrogram/raw/types/stars_transaction_peer_ads.py +49 -0
- pyrogram/raw/types/stars_transaction_peer_app_store.py +49 -0
- pyrogram/raw/types/stars_transaction_peer_fragment.py +49 -0
- pyrogram/raw/types/stars_transaction_peer_play_market.py +49 -0
- pyrogram/raw/types/stars_transaction_peer_premium_bot.py +49 -0
- pyrogram/raw/types/stars_transaction_peer_unsupported.py +49 -0
- pyrogram/raw/types/stats/__init__.py +14 -0
- pyrogram/raw/types/stats/broadcast_revenue_stats.py +87 -0
- pyrogram/raw/types/stats/broadcast_revenue_transactions.py +71 -0
- pyrogram/raw/types/stats/broadcast_revenue_withdrawal_url.py +63 -0
- pyrogram/raw/types/stats/broadcast_stats.py +231 -0
- pyrogram/raw/types/stats/megagroup_stats.py +191 -0
- pyrogram/raw/types/stats/message_stats.py +71 -0
- pyrogram/raw/types/stats/public_forwards.py +99 -0
- pyrogram/raw/types/stats/story_stats.py +71 -0
- pyrogram/raw/types/stats_abs_value_and_prev.py +62 -0
- pyrogram/raw/types/stats_date_range_days.py +62 -0
- pyrogram/raw/types/stats_graph.py +74 -0
- pyrogram/raw/types/stats_graph_async.py +63 -0
- pyrogram/raw/types/stats_graph_error.py +63 -0
- pyrogram/raw/types/stats_group_top_admin.py +78 -0
- pyrogram/raw/types/stats_group_top_inviter.py +62 -0
- pyrogram/raw/types/stats_group_top_poster.py +70 -0
- pyrogram/raw/types/stats_percent_value.py +62 -0
- pyrogram/raw/types/stats_url.py +54 -0
- pyrogram/raw/types/sticker_keyword.py +62 -0
- pyrogram/raw/types/sticker_pack.py +62 -0
- pyrogram/raw/types/sticker_set.py +184 -0
- pyrogram/raw/types/sticker_set_covered.py +71 -0
- pyrogram/raw/types/sticker_set_full_covered.py +87 -0
- pyrogram/raw/types/sticker_set_multi_covered.py +71 -0
- pyrogram/raw/types/sticker_set_no_covered.py +63 -0
- pyrogram/raw/types/stickers/__init__.py +7 -0
- pyrogram/raw/types/stickers/suggested_short_name.py +63 -0
- pyrogram/raw/types/storage/__init__.py +16 -0
- pyrogram/raw/types/storage/file_gif.py +49 -0
- pyrogram/raw/types/storage/file_jpeg.py +49 -0
- pyrogram/raw/types/storage/file_mov.py +49 -0
- pyrogram/raw/types/storage/file_mp3.py +49 -0
- pyrogram/raw/types/storage/file_mp4.py +49 -0
- pyrogram/raw/types/storage/file_partial.py +49 -0
- pyrogram/raw/types/storage/file_pdf.py +49 -0
- pyrogram/raw/types/storage/file_png.py +49 -0
- pyrogram/raw/types/storage/file_unknown.py +49 -0
- pyrogram/raw/types/storage/file_webp.py +49 -0
- pyrogram/raw/types/stories/__init__.py +14 -0
- pyrogram/raw/types/stories/all_stories.py +111 -0
- pyrogram/raw/types/stories/all_stories_not_modified.py +74 -0
- pyrogram/raw/types/stories/found_stories.py +98 -0
- pyrogram/raw/types/stories/peer_stories.py +79 -0
- pyrogram/raw/types/stories/stories.py +101 -0
- pyrogram/raw/types/stories/story_reactions_list.py +98 -0
- pyrogram/raw/types/stories/story_views.py +71 -0
- pyrogram/raw/types/stories/story_views_list.py +122 -0
- pyrogram/raw/types/stories_stealth_mode.py +66 -0
- pyrogram/raw/types/story_fwd_header.py +82 -0
- pyrogram/raw/types/story_item.py +213 -0
- pyrogram/raw/types/story_item_deleted.py +54 -0
- pyrogram/raw/types/story_item_skipped.py +78 -0
- pyrogram/raw/types/story_reaction.py +70 -0
- pyrogram/raw/types/story_reaction_public_forward.py +54 -0
- pyrogram/raw/types/story_reaction_public_repost.py +62 -0
- pyrogram/raw/types/story_view.py +86 -0
- pyrogram/raw/types/story_view_public_forward.py +68 -0
- pyrogram/raw/types/story_view_public_repost.py +76 -0
- pyrogram/raw/types/story_views.py +100 -0
- pyrogram/raw/types/text_anchor.py +62 -0
- pyrogram/raw/types/text_bold.py +54 -0
- pyrogram/raw/types/text_concat.py +54 -0
- pyrogram/raw/types/text_email.py +62 -0
- pyrogram/raw/types/text_empty.py +49 -0
- pyrogram/raw/types/text_fixed.py +54 -0
- pyrogram/raw/types/text_image.py +70 -0
- pyrogram/raw/types/text_italic.py +54 -0
- pyrogram/raw/types/text_marked.py +54 -0
- pyrogram/raw/types/text_phone.py +62 -0
- pyrogram/raw/types/text_plain.py +54 -0
- pyrogram/raw/types/text_strike.py +54 -0
- pyrogram/raw/types/text_subscript.py +54 -0
- pyrogram/raw/types/text_superscript.py +54 -0
- pyrogram/raw/types/text_underline.py +54 -0
- pyrogram/raw/types/text_url.py +70 -0
- pyrogram/raw/types/text_with_entities.py +62 -0
- pyrogram/raw/types/theme.py +147 -0
- pyrogram/raw/types/theme_settings.py +99 -0
- pyrogram/raw/types/timezone.py +70 -0
- pyrogram/raw/types/top_peer.py +62 -0
- pyrogram/raw/types/top_peer_category_bots_inline.py +49 -0
- pyrogram/raw/types/top_peer_category_bots_pm.py +49 -0
- pyrogram/raw/types/top_peer_category_channels.py +49 -0
- pyrogram/raw/types/top_peer_category_correspondents.py +49 -0
- pyrogram/raw/types/top_peer_category_forward_chats.py +49 -0
- pyrogram/raw/types/top_peer_category_forward_users.py +49 -0
- pyrogram/raw/types/top_peer_category_groups.py +49 -0
- pyrogram/raw/types/top_peer_category_peers.py +70 -0
- pyrogram/raw/types/top_peer_category_phone_calls.py +49 -0
- pyrogram/raw/types/update_attach_menu_bots.py +49 -0
- pyrogram/raw/types/update_auto_save_settings.py +49 -0
- pyrogram/raw/types/update_bot_business_connect.py +62 -0
- pyrogram/raw/types/update_bot_callback_query.py +106 -0
- pyrogram/raw/types/update_bot_chat_boost.py +70 -0
- pyrogram/raw/types/update_bot_chat_invite_requester.py +94 -0
- pyrogram/raw/types/update_bot_commands.py +70 -0
- pyrogram/raw/types/update_bot_delete_business_message.py +78 -0
- pyrogram/raw/types/update_bot_edit_business_message.py +82 -0
- pyrogram/raw/types/update_bot_inline_query.py +100 -0
- pyrogram/raw/types/update_bot_inline_send.py +92 -0
- pyrogram/raw/types/update_bot_menu_button.py +62 -0
- pyrogram/raw/types/update_bot_message_reaction.py +102 -0
- pyrogram/raw/types/update_bot_message_reactions.py +86 -0
- pyrogram/raw/types/update_bot_new_business_message.py +82 -0
- pyrogram/raw/types/update_bot_precheckout_query.py +107 -0
- pyrogram/raw/types/update_bot_shipping_query.py +78 -0
- pyrogram/raw/types/update_bot_stopped.py +78 -0
- pyrogram/raw/types/update_bot_webhook_json.py +54 -0
- pyrogram/raw/types/update_bot_webhook_json_query.py +70 -0
- pyrogram/raw/types/update_broadcast_revenue_transactions.py +62 -0
- pyrogram/raw/types/update_business_bot_callback_query.py +107 -0
- pyrogram/raw/types/update_channel.py +54 -0
- pyrogram/raw/types/update_channel_available_messages.py +62 -0
- pyrogram/raw/types/update_channel_message_forwards.py +70 -0
- pyrogram/raw/types/update_channel_message_views.py +70 -0
- pyrogram/raw/types/update_channel_participant.py +124 -0
- pyrogram/raw/types/update_channel_pinned_topic.py +70 -0
- pyrogram/raw/types/update_channel_pinned_topics.py +66 -0
- pyrogram/raw/types/update_channel_read_messages_contents.py +73 -0
- pyrogram/raw/types/update_channel_too_long.py +65 -0
- pyrogram/raw/types/update_channel_user_typing.py +81 -0
- pyrogram/raw/types/update_channel_view_forum_as_messages.py +62 -0
- pyrogram/raw/types/update_channel_web_page.py +78 -0
- pyrogram/raw/types/update_chat.py +54 -0
- pyrogram/raw/types/update_chat_default_banned_rights.py +70 -0
- pyrogram/raw/types/update_chat_participant.py +118 -0
- pyrogram/raw/types/update_chat_participant_add.py +86 -0
- pyrogram/raw/types/update_chat_participant_admin.py +78 -0
- pyrogram/raw/types/update_chat_participant_delete.py +70 -0
- pyrogram/raw/types/update_chat_participants.py +54 -0
- pyrogram/raw/types/update_chat_user_typing.py +70 -0
- pyrogram/raw/types/update_config.py +49 -0
- pyrogram/raw/types/update_contacts_reset.py +49 -0
- pyrogram/raw/types/update_dc_options.py +54 -0
- pyrogram/raw/types/update_delete_channel_messages.py +78 -0
- pyrogram/raw/types/update_delete_messages.py +70 -0
- pyrogram/raw/types/update_delete_quick_reply.py +54 -0
- pyrogram/raw/types/update_delete_quick_reply_messages.py +62 -0
- pyrogram/raw/types/update_delete_scheduled_messages.py +62 -0
- pyrogram/raw/types/update_dialog_filter.py +66 -0
- pyrogram/raw/types/update_dialog_filter_order.py +54 -0
- pyrogram/raw/types/update_dialog_filters.py +49 -0
- pyrogram/raw/types/update_dialog_pinned.py +71 -0
- pyrogram/raw/types/update_dialog_unread_mark.py +62 -0
- pyrogram/raw/types/update_draft_message.py +73 -0
- pyrogram/raw/types/update_edit_channel_message.py +70 -0
- pyrogram/raw/types/update_edit_message.py +70 -0
- pyrogram/raw/types/update_encrypted_chat_typing.py +54 -0
- pyrogram/raw/types/update_encrypted_messages_read.py +70 -0
- pyrogram/raw/types/update_encryption.py +62 -0
- pyrogram/raw/types/update_faved_stickers.py +49 -0
- pyrogram/raw/types/update_folder_peers.py +70 -0
- pyrogram/raw/types/update_geo_live_viewed.py +62 -0
- pyrogram/raw/types/update_group_call.py +62 -0
- pyrogram/raw/types/update_group_call_connection.py +62 -0
- pyrogram/raw/types/update_group_call_participants.py +70 -0
- pyrogram/raw/types/update_inline_bot_callback_query.py +98 -0
- pyrogram/raw/types/update_lang_pack.py +54 -0
- pyrogram/raw/types/update_lang_pack_too_long.py +54 -0
- pyrogram/raw/types/update_login_token.py +49 -0
- pyrogram/raw/types/update_message_extended_media.py +70 -0
- pyrogram/raw/types/update_message_id.py +62 -0
- pyrogram/raw/types/update_message_poll.py +74 -0
- pyrogram/raw/types/update_message_poll_vote.py +78 -0
- pyrogram/raw/types/update_message_reactions.py +81 -0
- pyrogram/raw/types/update_move_sticker_set_to_top.py +68 -0
- pyrogram/raw/types/update_new_authorization.py +89 -0
- pyrogram/raw/types/update_new_channel_message.py +70 -0
- pyrogram/raw/types/update_new_encrypted_message.py +62 -0
- pyrogram/raw/types/update_new_message.py +70 -0
- pyrogram/raw/types/update_new_quick_reply.py +54 -0
- pyrogram/raw/types/update_new_scheduled_message.py +54 -0
- pyrogram/raw/types/update_new_sticker_set.py +54 -0
- pyrogram/raw/types/update_new_story_reaction.py +70 -0
- pyrogram/raw/types/update_notify_settings.py +62 -0
- pyrogram/raw/types/update_peer_blocked.py +68 -0
- pyrogram/raw/types/update_peer_history_ttl.py +65 -0
- pyrogram/raw/types/update_peer_located.py +54 -0
- pyrogram/raw/types/update_peer_settings.py +62 -0
- pyrogram/raw/types/update_peer_wallpaper.py +72 -0
- pyrogram/raw/types/update_pending_join_requests.py +70 -0
- pyrogram/raw/types/update_phone_call.py +54 -0
- pyrogram/raw/types/update_phone_call_signaling_data.py +62 -0
- pyrogram/raw/types/update_pinned_channel_messages.py +86 -0
- pyrogram/raw/types/update_pinned_dialogs.py +67 -0
- pyrogram/raw/types/update_pinned_messages.py +86 -0
- pyrogram/raw/types/update_pinned_saved_dialogs.py +58 -0
- pyrogram/raw/types/update_privacy.py +62 -0
- pyrogram/raw/types/update_pts_changed.py +49 -0
- pyrogram/raw/types/update_quick_replies.py +54 -0
- pyrogram/raw/types/update_quick_reply_message.py +54 -0
- pyrogram/raw/types/update_read_channel_discussion_inbox.py +90 -0
- pyrogram/raw/types/update_read_channel_discussion_outbox.py +70 -0
- pyrogram/raw/types/update_read_channel_inbox.py +89 -0
- pyrogram/raw/types/update_read_channel_outbox.py +62 -0
- pyrogram/raw/types/update_read_featured_emoji_stickers.py +49 -0
- pyrogram/raw/types/update_read_featured_stickers.py +49 -0
- pyrogram/raw/types/update_read_history_inbox.py +97 -0
- pyrogram/raw/types/update_read_history_outbox.py +78 -0
- pyrogram/raw/types/update_read_messages_contents.py +81 -0
- pyrogram/raw/types/update_read_stories.py +62 -0
- pyrogram/raw/types/update_recent_emoji_statuses.py +49 -0
- pyrogram/raw/types/update_recent_reactions.py +49 -0
- pyrogram/raw/types/update_recent_stickers.py +49 -0
- pyrogram/raw/types/update_saved_dialog_pinned.py +62 -0
- pyrogram/raw/types/update_saved_gifs.py +49 -0
- pyrogram/raw/types/update_saved_reaction_tags.py +49 -0
- pyrogram/raw/types/update_saved_ringtones.py +49 -0
- pyrogram/raw/types/update_sent_story_reaction.py +70 -0
- pyrogram/raw/types/update_service_notification.py +101 -0
- pyrogram/raw/types/update_short.py +173 -0
- pyrogram/raw/types/update_short_chat_message.py +287 -0
- pyrogram/raw/types/update_short_message.py +279 -0
- pyrogram/raw/types/update_short_sent_message.py +226 -0
- pyrogram/raw/types/update_sms_job.py +54 -0
- pyrogram/raw/types/update_stars_balance.py +54 -0
- pyrogram/raw/types/update_stars_revenue_status.py +62 -0
- pyrogram/raw/types/update_sticker_sets.py +60 -0
- pyrogram/raw/types/update_sticker_sets_order.py +68 -0
- pyrogram/raw/types/update_stories_stealth_mode.py +54 -0
- pyrogram/raw/types/update_story.py +62 -0
- pyrogram/raw/types/update_story_id.py +62 -0
- pyrogram/raw/types/update_theme.py +54 -0
- pyrogram/raw/types/update_transcribed_audio.py +86 -0
- pyrogram/raw/types/update_user.py +54 -0
- pyrogram/raw/types/update_user_emoji_status.py +62 -0
- pyrogram/raw/types/update_user_name.py +78 -0
- pyrogram/raw/types/update_user_phone.py +62 -0
- pyrogram/raw/types/update_user_status.py +62 -0
- pyrogram/raw/types/update_user_typing.py +62 -0
- pyrogram/raw/types/update_web_page.py +70 -0
- pyrogram/raw/types/update_web_view_result_sent.py +54 -0
- pyrogram/raw/types/updates/__init__.py +14 -0
- pyrogram/raw/types/updates/channel_difference.py +112 -0
- pyrogram/raw/types/updates/channel_difference_empty.py +80 -0
- pyrogram/raw/types/updates/channel_difference_too_long.py +104 -0
- pyrogram/raw/types/updates/difference.py +103 -0
- pyrogram/raw/types/updates/difference_empty.py +71 -0
- pyrogram/raw/types/updates/difference_slice.py +103 -0
- pyrogram/raw/types/updates/difference_too_long.py +63 -0
- pyrogram/raw/types/updates/state.py +95 -0
- pyrogram/raw/types/updates_combined.py +205 -0
- pyrogram/raw/types/updates_t.py +197 -0
- pyrogram/raw/types/updates_too_long.py +160 -0
- pyrogram/raw/types/upload/__init__.py +11 -0
- pyrogram/raw/types/upload/cdn_file.py +63 -0
- pyrogram/raw/types/upload/cdn_file_reupload_needed.py +63 -0
- pyrogram/raw/types/upload/file.py +79 -0
- pyrogram/raw/types/upload/file_cdn_redirect.py +95 -0
- pyrogram/raw/types/upload/web_file.py +95 -0
- pyrogram/raw/types/url_auth_result_accepted.py +64 -0
- pyrogram/raw/types/url_auth_result_default.py +59 -0
- pyrogram/raw/types/url_auth_result_request.py +80 -0
- pyrogram/raw/types/user.py +368 -0
- pyrogram/raw/types/user_empty.py +67 -0
- pyrogram/raw/types/user_full.py +390 -0
- pyrogram/raw/types/user_profile_photo.py +85 -0
- pyrogram/raw/types/user_profile_photo_empty.py +49 -0
- pyrogram/raw/types/user_status_empty.py +49 -0
- pyrogram/raw/types/user_status_last_month.py +54 -0
- pyrogram/raw/types/user_status_last_week.py +54 -0
- pyrogram/raw/types/user_status_offline.py +54 -0
- pyrogram/raw/types/user_status_online.py +54 -0
- pyrogram/raw/types/user_status_recently.py +54 -0
- pyrogram/raw/types/username.py +68 -0
- pyrogram/raw/types/users/__init__.py +7 -0
- pyrogram/raw/types/users/user_full.py +79 -0
- pyrogram/raw/types/video_size.py +89 -0
- pyrogram/raw/types/video_size_emoji_markup.py +62 -0
- pyrogram/raw/types/video_size_sticker_markup.py +70 -0
- pyrogram/raw/types/wall_paper.py +125 -0
- pyrogram/raw/types/wall_paper_no_file.py +89 -0
- pyrogram/raw/types/wall_paper_settings.py +123 -0
- pyrogram/raw/types/web_authorization.py +118 -0
- pyrogram/raw/types/web_document.py +86 -0
- pyrogram/raw/types/web_document_no_proxy.py +78 -0
- pyrogram/raw/types/web_page.py +216 -0
- pyrogram/raw/types/web_page_attribute_sticker_set.py +68 -0
- pyrogram/raw/types/web_page_attribute_story.py +74 -0
- pyrogram/raw/types/web_page_attribute_theme.py +68 -0
- pyrogram/raw/types/web_page_empty.py +65 -0
- pyrogram/raw/types/web_page_not_modified.py +57 -0
- pyrogram/raw/types/web_page_pending.py +73 -0
- pyrogram/raw/types/web_view_message_sent.py +67 -0
- pyrogram/raw/types/web_view_result_url.py +82 -0
- pyrogram/session/__init__.py +2 -0
- pyrogram/session/auth.py +253 -0
- pyrogram/session/internals/__init__.py +3 -0
- pyrogram/session/internals/data_center.py +64 -0
- pyrogram/session/internals/msg_factory.py +20 -0
- pyrogram/session/internals/msg_id.py +17 -0
- pyrogram/session/internals/seq_no.py +11 -0
- pyrogram/session/session.py +399 -0
- pyrogram/storage/__init__.py +6 -0
- pyrogram/storage/dummy_client.py +44 -0
- pyrogram/storage/file_storage.py +69 -0
- pyrogram/storage/memory_storage.py +54 -0
- pyrogram/storage/mongo_storage.py +198 -0
- pyrogram/storage/sqlite_storage.py +279 -0
- pyrogram/storage/storage.py +81 -0
- pyrogram/sync.py +92 -0
- pyrogram/types/__init__.py +10 -0
- pyrogram/types/authorization/__init__.py +7 -0
- pyrogram/types/authorization/sent_code.py +27 -0
- pyrogram/types/authorization/terms_of_service.py +25 -0
- pyrogram/types/bots_and_keyboards/__init__.py +57 -0
- pyrogram/types/bots_and_keyboards/bot_command.py +24 -0
- pyrogram/types/bots_and_keyboards/bot_command_scope.py +13 -0
- pyrogram/types/bots_and_keyboards/bot_command_scope_all_chat_administrators.py +11 -0
- pyrogram/types/bots_and_keyboards/bot_command_scope_all_group_chats.py +11 -0
- pyrogram/types/bots_and_keyboards/bot_command_scope_all_private_chats.py +11 -0
- pyrogram/types/bots_and_keyboards/bot_command_scope_chat.py +17 -0
- pyrogram/types/bots_and_keyboards/bot_command_scope_chat_administrators.py +17 -0
- pyrogram/types/bots_and_keyboards/bot_command_scope_chat_member.py +19 -0
- pyrogram/types/bots_and_keyboards/bot_command_scope_default.py +11 -0
- pyrogram/types/bots_and_keyboards/bot_info.py +21 -0
- pyrogram/types/bots_and_keyboards/callback_query.py +143 -0
- pyrogram/types/bots_and_keyboards/force_reply.py +30 -0
- pyrogram/types/bots_and_keyboards/inline_keyboard_button.py +142 -0
- pyrogram/types/bots_and_keyboards/inline_keyboard_markup.py +42 -0
- pyrogram/types/bots_and_keyboards/keyboard_button.py +121 -0
- pyrogram/types/bots_and_keyboards/login_url.py +38 -0
- pyrogram/types/bots_and_keyboards/menu_button.py +13 -0
- pyrogram/types/bots_and_keyboards/menu_button_commands.py +11 -0
- pyrogram/types/bots_and_keyboards/menu_button_default.py +11 -0
- pyrogram/types/bots_and_keyboards/menu_button_web_app.py +21 -0
- pyrogram/types/bots_and_keyboards/reply_keyboard_markup.py +63 -0
- pyrogram/types/bots_and_keyboards/reply_keyboard_remove.py +24 -0
- pyrogram/types/bots_and_keyboards/request_peer_type_channel.py +15 -0
- pyrogram/types/bots_and_keyboards/request_peer_type_chat.py +19 -0
- pyrogram/types/bots_and_keyboards/request_peer_type_user.py +15 -0
- pyrogram/types/bots_and_keyboards/sent_web_app_message.py +16 -0
- pyrogram/types/bots_and_keyboards/web_app_info.py +11 -0
- pyrogram/types/inline_mode/__init__.py +43 -0
- pyrogram/types/inline_mode/chosen_inline_result.py +55 -0
- pyrogram/types/inline_mode/inline_query.py +82 -0
- pyrogram/types/inline_mode/inline_query_result.py +24 -0
- pyrogram/types/inline_mode/inline_query_result_animation.py +85 -0
- pyrogram/types/inline_mode/inline_query_result_article.py +49 -0
- pyrogram/types/inline_mode/inline_query_result_audio.py +73 -0
- pyrogram/types/inline_mode/inline_query_result_cached_animation.py +56 -0
- pyrogram/types/inline_mode/inline_query_result_cached_audio.py +53 -0
- pyrogram/types/inline_mode/inline_query_result_cached_document.py +59 -0
- pyrogram/types/inline_mode/inline_query_result_cached_photo.py +57 -0
- pyrogram/types/inline_mode/inline_query_result_cached_sticker.py +40 -0
- pyrogram/types/inline_mode/inline_query_result_cached_video.py +59 -0
- pyrogram/types/inline_mode/inline_query_result_cached_voice.py +56 -0
- pyrogram/types/inline_mode/inline_query_result_contact.py +57 -0
- pyrogram/types/inline_mode/inline_query_result_document.py +78 -0
- pyrogram/types/inline_mode/inline_query_result_location.py +55 -0
- pyrogram/types/inline_mode/inline_query_result_photo.py +81 -0
- pyrogram/types/inline_mode/inline_query_result_venue.py +63 -0
- pyrogram/types/inline_mode/inline_query_result_video.py +79 -0
- pyrogram/types/inline_mode/inline_query_result_voice.py +59 -0
- pyrogram/types/input_media/__init__.py +21 -0
- pyrogram/types/input_media/input_media.py +20 -0
- pyrogram/types/input_media/input_media_animation.py +27 -0
- pyrogram/types/input_media/input_media_area.py +13 -0
- pyrogram/types/input_media/input_media_area_channel_post.py +27 -0
- pyrogram/types/input_media/input_media_audio.py +25 -0
- pyrogram/types/input_media/input_media_document.py +19 -0
- pyrogram/types/input_media/input_media_photo.py +19 -0
- pyrogram/types/input_media/input_media_video.py +29 -0
- pyrogram/types/input_media/input_phone_contact.py +19 -0
- pyrogram/types/input_message_content/__init__.py +9 -0
- pyrogram/types/input_message_content/input_message_content.py +11 -0
- pyrogram/types/input_message_content/input_reply_to_message.py +45 -0
- pyrogram/types/input_message_content/input_text_message_content.py +33 -0
- pyrogram/types/list.py +11 -0
- pyrogram/types/messages_and_media/__init__.py +61 -0
- pyrogram/types/messages_and_media/animation.py +109 -0
- pyrogram/types/messages_and_media/audio.py +68 -0
- pyrogram/types/messages_and_media/available_effect.py +45 -0
- pyrogram/types/messages_and_media/contact.py +34 -0
- pyrogram/types/messages_and_media/document.py +54 -0
- pyrogram/types/messages_and_media/media_area.py +21 -0
- pyrogram/types/messages_and_media/media_area_channel_post.py +39 -0
- pyrogram/types/messages_and_media/media_area_coordinates.py +40 -0
- pyrogram/types/messages_and_media/message.py +2101 -0
- pyrogram/types/messages_and_media/message_entity.py +85 -0
- pyrogram/types/messages_and_media/message_reaction_count_updated.py +53 -0
- pyrogram/types/messages_and_media/message_reaction_updated.py +76 -0
- pyrogram/types/messages_and_media/message_reactions.py +33 -0
- pyrogram/types/messages_and_media/photo.py +83 -0
- pyrogram/types/messages_and_media/reaction.py +51 -0
- pyrogram/types/messages_and_media/reaction_count.py +30 -0
- pyrogram/types/messages_and_media/reaction_type.py +44 -0
- pyrogram/types/messages_and_media/sticker.py +148 -0
- pyrogram/types/messages_and_media/stickerset.py +40 -0
- pyrogram/types/messages_and_media/story.py +682 -0
- pyrogram/types/messages_and_media/stripped_thumbnail.py +22 -0
- pyrogram/types/messages_and_media/thumbnail.py +73 -0
- pyrogram/types/messages_and_media/video.py +75 -0
- pyrogram/types/messages_and_media/video_note.py +61 -0
- pyrogram/types/messages_and_media/voice.py +52 -0
- pyrogram/types/messages_and_media/web_app_data.py +22 -0
- pyrogram/types/messages_and_media/web_page.py +108 -0
- pyrogram/types/messages_and_media/web_page_empty.py +23 -0
- pyrogram/types/messages_and_media/web_page_preview.py +41 -0
- pyrogram/types/object.py +99 -0
- pyrogram/types/update.py +11 -0
- pyrogram/types/user_and_chats/__init__.py +75 -0
- pyrogram/types/user_and_chats/birthday.py +31 -0
- pyrogram/types/user_and_chats/chat.py +487 -0
- pyrogram/types/user_and_chats/chat_admin_with_invite_links.py +31 -0
- pyrogram/types/user_and_chats/chat_color.py +35 -0
- pyrogram/types/user_and_chats/chat_event.py +396 -0
- pyrogram/types/user_and_chats/chat_event_filter.py +107 -0
- pyrogram/types/user_and_chats/chat_invite_link.py +69 -0
- pyrogram/types/user_and_chats/chat_join_request.py +57 -0
- pyrogram/types/user_and_chats/chat_joined_by_request.py +6 -0
- pyrogram/types/user_and_chats/chat_joiner.py +45 -0
- pyrogram/types/user_and_chats/chat_member.py +160 -0
- pyrogram/types/user_and_chats/chat_member_updated.py +97 -0
- pyrogram/types/user_and_chats/chat_permissions.py +145 -0
- pyrogram/types/user_and_chats/chat_photo.py +79 -0
- pyrogram/types/user_and_chats/chat_preview.py +38 -0
- pyrogram/types/user_and_chats/chat_privileges.py +61 -0
- pyrogram/types/user_and_chats/chat_reactions.py +43 -0
- pyrogram/types/user_and_chats/dialog.py +38 -0
- pyrogram/types/user_and_chats/emoji_status.py +49 -0
- pyrogram/types/user_and_chats/forum_topic.py +71 -0
- pyrogram/types/user_and_chats/forum_topic_closed.py +6 -0
- pyrogram/types/user_and_chats/forum_topic_created.py +29 -0
- pyrogram/types/user_and_chats/forum_topic_edited.py +26 -0
- pyrogram/types/user_and_chats/forum_topic_reopened.py +6 -0
- pyrogram/types/user_and_chats/general_forum_topic_hidden.py +6 -0
- pyrogram/types/user_and_chats/general_forum_topic_unhidden.py +6 -0
- pyrogram/types/user_and_chats/invite_link_importer.py +32 -0
- pyrogram/types/user_and_chats/peer_channel.py +20 -0
- pyrogram/types/user_and_chats/peer_user.py +20 -0
- pyrogram/types/user_and_chats/restriction.py +19 -0
- pyrogram/types/user_and_chats/user.py +230 -0
- pyrogram/types/user_and_chats/username.py +26 -0
- pyrogram/types/user_and_chats/video_chat_ended.py +16 -0
- pyrogram/types/user_and_chats/video_chat_members_invited.py +24 -0
- pyrogram/types/user_and_chats/video_chat_scheduled.py +18 -0
- pyrogram/types/user_and_chats/video_chat_started.py +6 -0
- pyrogram/utils.py +442 -0
|
@@ -0,0 +1,682 @@
|
|
|
1
|
+
import pyrogram
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from pyrogram import enums, raw, types, utils
|
|
5
|
+
from typing import BinaryIO, Callable, List, Optional, Union
|
|
6
|
+
from ..object import Object
|
|
7
|
+
from ..update import Update
|
|
8
|
+
|
|
9
|
+
class Story(Object, Update):
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
*,
|
|
13
|
+
client: "pyrogram.Client" = None,
|
|
14
|
+
id: int,
|
|
15
|
+
chat: "types.Chat" = None,
|
|
16
|
+
from_user: "types.User" = None,
|
|
17
|
+
sender_chat: "types.Chat" = None,
|
|
18
|
+
date: datetime,
|
|
19
|
+
expire_date: datetime,
|
|
20
|
+
media: "enums.MessageMediaType",
|
|
21
|
+
has_protected_content: bool = None,
|
|
22
|
+
animation: "types.Animation" = None,
|
|
23
|
+
photo: "types.Photo" = None,
|
|
24
|
+
video: "types.Video" = None,
|
|
25
|
+
edited: bool = None,
|
|
26
|
+
pinned: bool = None,
|
|
27
|
+
public: bool = None,
|
|
28
|
+
close_friends: bool = None,
|
|
29
|
+
contacts: bool = None,
|
|
30
|
+
selected_contacts: bool = None,
|
|
31
|
+
caption: str = None,
|
|
32
|
+
caption_entities: List["types.MessageEntity"] = None,
|
|
33
|
+
views: "types.StoryViews" = None,
|
|
34
|
+
privacy: "enums.StoryPrivacy" = None,
|
|
35
|
+
forward_from: "types.StoryForwardHeader" = None,
|
|
36
|
+
allowed_users: List[int] = None,
|
|
37
|
+
denied_users: List[int] = None,
|
|
38
|
+
media_areas: List["types.MediaArea"] = None,
|
|
39
|
+
raw: "raw.types.StoryItem" = None
|
|
40
|
+
):
|
|
41
|
+
super().__init__(client)
|
|
42
|
+
|
|
43
|
+
self.id = id
|
|
44
|
+
self.chat = chat
|
|
45
|
+
self.from_user = from_user
|
|
46
|
+
self.sender_chat = sender_chat
|
|
47
|
+
self.date = date
|
|
48
|
+
self.expire_date = expire_date
|
|
49
|
+
self.media = media
|
|
50
|
+
self.has_protected_content = has_protected_content
|
|
51
|
+
self.animation = animation
|
|
52
|
+
self.photo = photo
|
|
53
|
+
self.video = video
|
|
54
|
+
self.edited = edited
|
|
55
|
+
self.pinned = pinned
|
|
56
|
+
self.public = public
|
|
57
|
+
self.close_friends = close_friends
|
|
58
|
+
self.contacts = contacts
|
|
59
|
+
self.selected_contacts = selected_contacts
|
|
60
|
+
self.caption = caption
|
|
61
|
+
self.caption_entities = caption_entities
|
|
62
|
+
self.views = views
|
|
63
|
+
self.privacy = privacy
|
|
64
|
+
self.forward_from = forward_from
|
|
65
|
+
self.allowed_users = allowed_users
|
|
66
|
+
self.denied_users = denied_users
|
|
67
|
+
self.media_areas = media_areas
|
|
68
|
+
self.raw = raw
|
|
69
|
+
|
|
70
|
+
@staticmethod
|
|
71
|
+
async def _parse(
|
|
72
|
+
client: "pyrogram.Client",
|
|
73
|
+
stories: raw.base.StoryItem,
|
|
74
|
+
peer: Union["raw.types.PeerChannel", "raw.types.PeerUser"]
|
|
75
|
+
) -> "Story":
|
|
76
|
+
if isinstance(stories, raw.types.StoryItemSkipped):
|
|
77
|
+
return await types.StorySkipped._parse(client, stories, peer)
|
|
78
|
+
if isinstance(stories, raw.types.StoryItemDeleted):
|
|
79
|
+
return await types.StoryDeleted._parse(client, stories, peer)
|
|
80
|
+
entities = [types.MessageEntity._parse(client, entity, {}) for entity in stories.entities]
|
|
81
|
+
entities = types.List(filter(lambda x: x is not None, entities))
|
|
82
|
+
animation = None
|
|
83
|
+
photo = None
|
|
84
|
+
video = None
|
|
85
|
+
chat = None
|
|
86
|
+
from_user = None
|
|
87
|
+
sender_chat = None
|
|
88
|
+
privacy = None
|
|
89
|
+
forward_from = None
|
|
90
|
+
allowed_users = None
|
|
91
|
+
denied_users = None
|
|
92
|
+
if stories.media:
|
|
93
|
+
if isinstance(stories.media, raw.types.MessageMediaPhoto):
|
|
94
|
+
photo = types.Photo._parse(client, stories.media.photo, stories.media.ttl_seconds)
|
|
95
|
+
media_type = enums.MessageMediaType.PHOTO
|
|
96
|
+
elif isinstance(stories.media, raw.types.MessageMediaDocument):
|
|
97
|
+
doc = stories.media.document
|
|
98
|
+
|
|
99
|
+
if isinstance(doc, raw.types.Document):
|
|
100
|
+
attributes = {type(i): i for i in doc.attributes}
|
|
101
|
+
|
|
102
|
+
if raw.types.DocumentAttributeAnimated in attributes:
|
|
103
|
+
video_attributes = attributes.get(raw.types.DocumentAttributeVideo, None)
|
|
104
|
+
animation = types.Animation._parse(client, doc, video_attributes, None)
|
|
105
|
+
media_type = enums.MessageMediaType.ANIMATION
|
|
106
|
+
elif raw.types.DocumentAttributeVideo in attributes:
|
|
107
|
+
video_attributes = attributes.get(raw.types.DocumentAttributeVideo, None)
|
|
108
|
+
video = types.Video._parse(client, doc, video_attributes, None, stories.media.ttl_seconds)
|
|
109
|
+
media_type = enums.MessageMediaType.VIDEO
|
|
110
|
+
else:
|
|
111
|
+
media_type = None
|
|
112
|
+
else:
|
|
113
|
+
media_type = None
|
|
114
|
+
if isinstance(peer, raw.types.PeerChannel) or isinstance(peer, raw.types.InputPeerChannel):
|
|
115
|
+
chat_id = utils.get_channel_id(peer.channel_id)
|
|
116
|
+
chat = await client.invoke(
|
|
117
|
+
raw.functions.channels.GetChannels(
|
|
118
|
+
id=[await client.resolve_peer(chat_id)]
|
|
119
|
+
)
|
|
120
|
+
)
|
|
121
|
+
if stories.from_id is not None:
|
|
122
|
+
if getattr(stories.from_id, "user_id", None) is not None:
|
|
123
|
+
from_user = await client.get_users(stories.from_id.user_id)
|
|
124
|
+
chat = types.Chat._parse_chat(client, chat.chats[0])
|
|
125
|
+
elif getattr(stories.from_id, "channel_id", None) is not None:
|
|
126
|
+
sender_chat = types.Chat._parse_chat(client, stories.from_id.channel_id)
|
|
127
|
+
elif getattr(stories.from_id, "chat_id", None) is not None:
|
|
128
|
+
sender_chat = types.Chat._parse_chat(client, stories.from_id.chat_id)
|
|
129
|
+
else:
|
|
130
|
+
sender_chat = types.Chat._parse_chat(client, chat.chats[0])
|
|
131
|
+
elif isinstance(peer, raw.types.InputPeerSelf):
|
|
132
|
+
from_user = client.me
|
|
133
|
+
else:
|
|
134
|
+
from_user = await client.get_users(peer.user_id)
|
|
135
|
+
|
|
136
|
+
for priv in stories.privacy:
|
|
137
|
+
if isinstance(priv, raw.types.PrivacyValueAllowAll):
|
|
138
|
+
privacy = enums.StoryPrivacy.PUBLIC
|
|
139
|
+
elif isinstance(priv, raw.types.PrivacyValueAllowCloseFriends):
|
|
140
|
+
privacy = enums.StoryPrivacy.CLOSE_FRIENDS
|
|
141
|
+
elif isinstance(priv, raw.types.PrivacyValueAllowContacts):
|
|
142
|
+
privacy = enums.StoryPrivacy.CONTACTS
|
|
143
|
+
elif isinstance(priv, raw.types.PrivacyValueDisallowAll):
|
|
144
|
+
privacy = enums.StoryPrivacy.PRIVATE
|
|
145
|
+
elif isinstance(priv, raw.types.PrivacyValueDisallowContacts):
|
|
146
|
+
privacy = enums.StoryPrivacy.NO_CONTACTS
|
|
147
|
+
|
|
148
|
+
if isinstance(priv, raw.types.PrivacyValueAllowUsers):
|
|
149
|
+
allowed_users = priv.users
|
|
150
|
+
if isinstance(priv, raw.types.PrivacyValueDisallowUsers):
|
|
151
|
+
denied_users = priv.users
|
|
152
|
+
|
|
153
|
+
if stories.fwd_from is not None:
|
|
154
|
+
forward_from = await types.StoryForwardHeader._parse(client, stories.fwd_from)
|
|
155
|
+
|
|
156
|
+
media_areas = None
|
|
157
|
+
if stories.media_areas is not None and len(stories.media_areas) > 0:
|
|
158
|
+
media_areas = [
|
|
159
|
+
await types.MediaArea._parse(client, media_area)
|
|
160
|
+
for media_area in stories.media_areas
|
|
161
|
+
]
|
|
162
|
+
|
|
163
|
+
return Story(
|
|
164
|
+
id=stories.id,
|
|
165
|
+
chat=chat,
|
|
166
|
+
from_user=from_user,
|
|
167
|
+
sender_chat=sender_chat,
|
|
168
|
+
date=utils.timestamp_to_datetime(stories.date),
|
|
169
|
+
expire_date=utils.timestamp_to_datetime(stories.expire_date),
|
|
170
|
+
media=media_type,
|
|
171
|
+
has_protected_content=stories.noforwards,
|
|
172
|
+
animation=animation,
|
|
173
|
+
photo=photo,
|
|
174
|
+
video=video,
|
|
175
|
+
edited=stories.edited,
|
|
176
|
+
pinned=stories.pinned,
|
|
177
|
+
public=stories.public,
|
|
178
|
+
close_friends=stories.close_friends,
|
|
179
|
+
contacts=stories.contacts,
|
|
180
|
+
selected_contacts=stories.selected_contacts,
|
|
181
|
+
caption=stories.caption,
|
|
182
|
+
caption_entities=entities or None,
|
|
183
|
+
views=types.StoryViews._parse(stories.views),
|
|
184
|
+
privacy=privacy,
|
|
185
|
+
forward_from=forward_from,
|
|
186
|
+
allowed_users=allowed_users,
|
|
187
|
+
denied_users=denied_users,
|
|
188
|
+
media_areas=media_areas,
|
|
189
|
+
raw=stories,
|
|
190
|
+
client=client
|
|
191
|
+
)
|
|
192
|
+
|
|
193
|
+
async def reply_text(
|
|
194
|
+
self,
|
|
195
|
+
text: str,
|
|
196
|
+
parse_mode: Optional["enums.ParseMode"] = None,
|
|
197
|
+
entities: List["types.MessageEntity"] = None,
|
|
198
|
+
disable_web_page_preview: bool = None,
|
|
199
|
+
disable_notification: bool = None,
|
|
200
|
+
reply_to_story_id: int = None,
|
|
201
|
+
schedule_date: datetime = None,
|
|
202
|
+
protect_content: bool = None,
|
|
203
|
+
reply_markup=None
|
|
204
|
+
) -> "types.Message":
|
|
205
|
+
if reply_to_story_id is None:
|
|
206
|
+
reply_to_story_id = self.id
|
|
207
|
+
|
|
208
|
+
return await self._client.send_message(
|
|
209
|
+
chat_id=self.from_user.id if self.from_user else self.sender_chat.id,
|
|
210
|
+
text=text,
|
|
211
|
+
parse_mode=parse_mode,
|
|
212
|
+
entities=entities,
|
|
213
|
+
disable_web_page_preview=disable_web_page_preview,
|
|
214
|
+
disable_notification=disable_notification,
|
|
215
|
+
reply_to_story_id=reply_to_story_id,
|
|
216
|
+
schedule_date=schedule_date,
|
|
217
|
+
protect_content=protect_content,
|
|
218
|
+
reply_markup=reply_markup
|
|
219
|
+
)
|
|
220
|
+
|
|
221
|
+
reply = reply_text
|
|
222
|
+
|
|
223
|
+
async def reply_animation(
|
|
224
|
+
self,
|
|
225
|
+
animation: Union[str, BinaryIO],
|
|
226
|
+
caption: str = "",
|
|
227
|
+
parse_mode: Optional["enums.ParseMode"] = None,
|
|
228
|
+
caption_entities: List["types.MessageEntity"] = None,
|
|
229
|
+
has_spoiler: bool = None,
|
|
230
|
+
duration: int = 0,
|
|
231
|
+
width: int = 0,
|
|
232
|
+
height: int = 0,
|
|
233
|
+
thumb: Union[str, BinaryIO] = None,
|
|
234
|
+
file_name: str = None,
|
|
235
|
+
disable_notification: bool = None,
|
|
236
|
+
reply_markup: Union[
|
|
237
|
+
"types.InlineKeyboardMarkup",
|
|
238
|
+
"types.ReplyKeyboardMarkup",
|
|
239
|
+
"types.ReplyKeyboardRemove",
|
|
240
|
+
"types.ForceReply"
|
|
241
|
+
] = None,
|
|
242
|
+
reply_to_story_id: int = None,
|
|
243
|
+
progress: Callable = None,
|
|
244
|
+
progress_args: tuple = ()
|
|
245
|
+
) -> "types.Message":
|
|
246
|
+
if reply_to_story_id is None:
|
|
247
|
+
reply_to_story_id = self.id
|
|
248
|
+
|
|
249
|
+
return await self._client.send_animation(
|
|
250
|
+
chat_id=self.from_user.id if self.from_user else self.sender_chat.id,
|
|
251
|
+
animation=animation,
|
|
252
|
+
caption=caption,
|
|
253
|
+
parse_mode=parse_mode,
|
|
254
|
+
caption_entities=caption_entities,
|
|
255
|
+
has_spoiler=has_spoiler,
|
|
256
|
+
duration=duration,
|
|
257
|
+
width=width,
|
|
258
|
+
height=height,
|
|
259
|
+
thumb=thumb,
|
|
260
|
+
file_name=file_name,
|
|
261
|
+
disable_notification=disable_notification,
|
|
262
|
+
reply_to_story_id=reply_to_story_id,
|
|
263
|
+
reply_markup=reply_markup,
|
|
264
|
+
progress=progress,
|
|
265
|
+
progress_args=progress_args
|
|
266
|
+
)
|
|
267
|
+
|
|
268
|
+
async def reply_audio(
|
|
269
|
+
self,
|
|
270
|
+
audio: Union[str, BinaryIO],
|
|
271
|
+
caption: str = "",
|
|
272
|
+
parse_mode: Optional["enums.ParseMode"] = None,
|
|
273
|
+
caption_entities: List["types.MessageEntity"] = None,
|
|
274
|
+
duration: int = 0,
|
|
275
|
+
performer: str = None,
|
|
276
|
+
title: str = None,
|
|
277
|
+
thumb: Union[str, BinaryIO] = None,
|
|
278
|
+
file_name: str = None,
|
|
279
|
+
disable_notification: bool = None,
|
|
280
|
+
reply_to_story_id: int = None,
|
|
281
|
+
reply_markup: Union[
|
|
282
|
+
"types.InlineKeyboardMarkup",
|
|
283
|
+
"types.ReplyKeyboardMarkup",
|
|
284
|
+
"types.ReplyKeyboardRemove",
|
|
285
|
+
"types.ForceReply"
|
|
286
|
+
] = None,
|
|
287
|
+
progress: Callable = None,
|
|
288
|
+
progress_args: tuple = ()
|
|
289
|
+
) -> "types.Message":
|
|
290
|
+
if reply_to_story_id is None:
|
|
291
|
+
reply_to_story_id = self.id
|
|
292
|
+
|
|
293
|
+
return await self._client.send_audio(
|
|
294
|
+
chat_id=self.from_user.id if self.from_user else self.sender_chat.id,
|
|
295
|
+
audio=audio,
|
|
296
|
+
caption=caption,
|
|
297
|
+
parse_mode=parse_mode,
|
|
298
|
+
caption_entities=caption_entities,
|
|
299
|
+
duration=duration,
|
|
300
|
+
performer=performer,
|
|
301
|
+
title=title,
|
|
302
|
+
thumb=thumb,
|
|
303
|
+
file_name=file_name,
|
|
304
|
+
disable_notification=disable_notification,
|
|
305
|
+
reply_to_story_id=reply_to_story_id,
|
|
306
|
+
reply_markup=reply_markup,
|
|
307
|
+
progress=progress,
|
|
308
|
+
progress_args=progress_args
|
|
309
|
+
)
|
|
310
|
+
|
|
311
|
+
async def reply_cached_media(
|
|
312
|
+
self,
|
|
313
|
+
file_id: str,
|
|
314
|
+
caption: str = "",
|
|
315
|
+
parse_mode: Optional["enums.ParseMode"] = None,
|
|
316
|
+
caption_entities: List["types.MessageEntity"] = None,
|
|
317
|
+
disable_notification: bool = None,
|
|
318
|
+
reply_to_story_id: int = None,
|
|
319
|
+
reply_markup: Union[
|
|
320
|
+
"types.InlineKeyboardMarkup",
|
|
321
|
+
"types.ReplyKeyboardMarkup",
|
|
322
|
+
"types.ReplyKeyboardRemove",
|
|
323
|
+
"types.ForceReply"
|
|
324
|
+
] = None
|
|
325
|
+
) -> "types.Message":
|
|
326
|
+
if reply_to_story_id is None:
|
|
327
|
+
reply_to_story_id = self.id
|
|
328
|
+
|
|
329
|
+
return await self._client.send_cached_media(
|
|
330
|
+
chat_id=self.from_user.id if self.from_user else self.sender_chat.id,
|
|
331
|
+
file_id=file_id,
|
|
332
|
+
caption=caption,
|
|
333
|
+
parse_mode=parse_mode,
|
|
334
|
+
caption_entities=caption_entities,
|
|
335
|
+
disable_notification=disable_notification,
|
|
336
|
+
reply_to_story_id=reply_to_story_id,
|
|
337
|
+
reply_markup=reply_markup
|
|
338
|
+
)
|
|
339
|
+
|
|
340
|
+
async def reply_media_group(
|
|
341
|
+
self,
|
|
342
|
+
media: List[Union[
|
|
343
|
+
"types.InputMediaPhoto",
|
|
344
|
+
"types.InputMediaVideo",
|
|
345
|
+
"types.InputMediaAudio",
|
|
346
|
+
"types.InputMediaDocument"
|
|
347
|
+
]],
|
|
348
|
+
disable_notification: bool = None,
|
|
349
|
+
reply_to_story_id: int = None
|
|
350
|
+
) -> List["types.Message"]:
|
|
351
|
+
if reply_to_story_id is None:
|
|
352
|
+
reply_to_story_id = self.id
|
|
353
|
+
|
|
354
|
+
return await self._client.send_media_group(
|
|
355
|
+
chat_id=self.from_user.id if self.from_user else self.sender_chat.id,
|
|
356
|
+
media=media,
|
|
357
|
+
disable_notification=disable_notification,
|
|
358
|
+
reply_to_story_id=reply_to_story_id
|
|
359
|
+
)
|
|
360
|
+
|
|
361
|
+
async def reply_photo(
|
|
362
|
+
self,
|
|
363
|
+
photo: Union[str, BinaryIO],
|
|
364
|
+
caption: str = "",
|
|
365
|
+
parse_mode: Optional["enums.ParseMode"] = None,
|
|
366
|
+
caption_entities: List["types.MessageEntity"] = None,
|
|
367
|
+
has_spoiler: bool = None,
|
|
368
|
+
ttl_seconds: int = None,
|
|
369
|
+
view_once: bool = None,
|
|
370
|
+
disable_notification: bool = None,
|
|
371
|
+
reply_to_story_id: int = None,
|
|
372
|
+
reply_markup: Union[
|
|
373
|
+
"types.InlineKeyboardMarkup",
|
|
374
|
+
"types.ReplyKeyboardMarkup",
|
|
375
|
+
"types.ReplyKeyboardRemove",
|
|
376
|
+
"types.ForceReply"
|
|
377
|
+
] = None,
|
|
378
|
+
progress: Callable = None,
|
|
379
|
+
progress_args: tuple = ()
|
|
380
|
+
) -> "types.Message":
|
|
381
|
+
if reply_to_story_id is None:
|
|
382
|
+
reply_to_story_id = self.id
|
|
383
|
+
|
|
384
|
+
return await self._client.send_photo(
|
|
385
|
+
chat_id=self.from_user.id if self.from_user else self.sender_chat.id,
|
|
386
|
+
photo=photo,
|
|
387
|
+
caption=caption,
|
|
388
|
+
parse_mode=parse_mode,
|
|
389
|
+
caption_entities=caption_entities,
|
|
390
|
+
has_spoiler=has_spoiler,
|
|
391
|
+
ttl_seconds=ttl_seconds,
|
|
392
|
+
view_once=view_once,
|
|
393
|
+
disable_notification=disable_notification,
|
|
394
|
+
reply_to_story_id=reply_to_story_id,
|
|
395
|
+
reply_markup=reply_markup,
|
|
396
|
+
progress=progress,
|
|
397
|
+
progress_args=progress_args
|
|
398
|
+
)
|
|
399
|
+
|
|
400
|
+
async def reply_sticker(
|
|
401
|
+
self,
|
|
402
|
+
sticker: Union[str, BinaryIO],
|
|
403
|
+
disable_notification: bool = None,
|
|
404
|
+
reply_to_story_id: int = None,
|
|
405
|
+
reply_markup: Union[
|
|
406
|
+
"types.InlineKeyboardMarkup",
|
|
407
|
+
"types.ReplyKeyboardMarkup",
|
|
408
|
+
"types.ReplyKeyboardRemove",
|
|
409
|
+
"types.ForceReply"
|
|
410
|
+
] = None,
|
|
411
|
+
progress: Callable = None,
|
|
412
|
+
progress_args: tuple = ()
|
|
413
|
+
) -> "types.Message":
|
|
414
|
+
if reply_to_story_id is None:
|
|
415
|
+
reply_to_story_id = self.id
|
|
416
|
+
|
|
417
|
+
return await self._client.send_sticker(
|
|
418
|
+
chat_id=self.from_user.id if self.from_user else self.sender_chat.id,
|
|
419
|
+
sticker=sticker,
|
|
420
|
+
disable_notification=disable_notification,
|
|
421
|
+
reply_to_story_id=reply_to_story_id,
|
|
422
|
+
reply_markup=reply_markup,
|
|
423
|
+
progress=progress,
|
|
424
|
+
progress_args=progress_args
|
|
425
|
+
)
|
|
426
|
+
|
|
427
|
+
async def reply_video(
|
|
428
|
+
self,
|
|
429
|
+
video: Union[str, BinaryIO],
|
|
430
|
+
caption: str = "",
|
|
431
|
+
parse_mode: Optional["enums.ParseMode"] = None,
|
|
432
|
+
caption_entities: List["types.MessageEntity"] = None,
|
|
433
|
+
has_spoiler: bool = None,
|
|
434
|
+
ttl_seconds: int = None,
|
|
435
|
+
duration: int = 0,
|
|
436
|
+
width: int = 0,
|
|
437
|
+
height: int = 0,
|
|
438
|
+
thumb: Union[str, BinaryIO] = None,
|
|
439
|
+
file_name: str = None,
|
|
440
|
+
supports_streaming: bool = True,
|
|
441
|
+
disable_notification: bool = None,
|
|
442
|
+
reply_to_story_id: int = None,
|
|
443
|
+
reply_markup: Union[
|
|
444
|
+
"types.InlineKeyboardMarkup",
|
|
445
|
+
"types.ReplyKeyboardMarkup",
|
|
446
|
+
"types.ReplyKeyboardRemove",
|
|
447
|
+
"types.ForceReply"
|
|
448
|
+
] = None,
|
|
449
|
+
progress: Callable = None,
|
|
450
|
+
progress_args: tuple = ()
|
|
451
|
+
) -> "types.Message":
|
|
452
|
+
if reply_to_story_id is None:
|
|
453
|
+
reply_to_story_id = self.id
|
|
454
|
+
|
|
455
|
+
return await self._client.send_video(
|
|
456
|
+
chat_id=self.from_user.id if self.from_user else self.sender_chat.id,
|
|
457
|
+
video=video,
|
|
458
|
+
caption=caption,
|
|
459
|
+
parse_mode=parse_mode,
|
|
460
|
+
caption_entities=caption_entities,
|
|
461
|
+
has_spoiler=has_spoiler,
|
|
462
|
+
ttl_seconds=ttl_seconds,
|
|
463
|
+
duration=duration,
|
|
464
|
+
width=width,
|
|
465
|
+
height=height,
|
|
466
|
+
thumb=thumb,
|
|
467
|
+
file_name=file_name,
|
|
468
|
+
supports_streaming=supports_streaming,
|
|
469
|
+
disable_notification=disable_notification,
|
|
470
|
+
reply_to_story_id=reply_to_story_id,
|
|
471
|
+
reply_markup=reply_markup,
|
|
472
|
+
progress=progress,
|
|
473
|
+
progress_args=progress_args
|
|
474
|
+
)
|
|
475
|
+
|
|
476
|
+
async def reply_video_note(
|
|
477
|
+
self,
|
|
478
|
+
video_note: Union[str, BinaryIO],
|
|
479
|
+
duration: int = 0,
|
|
480
|
+
length: int = 1,
|
|
481
|
+
thumb: Union[str, BinaryIO] = None,
|
|
482
|
+
disable_notification: bool = None,
|
|
483
|
+
reply_to_story_id: int = None,
|
|
484
|
+
reply_markup: Union[
|
|
485
|
+
"types.InlineKeyboardMarkup",
|
|
486
|
+
"types.ReplyKeyboardMarkup",
|
|
487
|
+
"types.ReplyKeyboardRemove",
|
|
488
|
+
"types.ForceReply"
|
|
489
|
+
] = None,
|
|
490
|
+
progress: Callable = None,
|
|
491
|
+
progress_args: tuple = ()
|
|
492
|
+
) -> "types.Message":
|
|
493
|
+
if reply_to_story_id is None:
|
|
494
|
+
reply_to_story_id = self.id
|
|
495
|
+
|
|
496
|
+
return await self._client.send_video_note(
|
|
497
|
+
chat_id=self.from_user.id if self.from_user else self.sender_chat.id,
|
|
498
|
+
video_note=video_note,
|
|
499
|
+
duration=duration,
|
|
500
|
+
length=length,
|
|
501
|
+
thumb=thumb,
|
|
502
|
+
disable_notification=disable_notification,
|
|
503
|
+
reply_to_story_id=reply_to_story_id,
|
|
504
|
+
reply_markup=reply_markup,
|
|
505
|
+
progress=progress,
|
|
506
|
+
progress_args=progress_args
|
|
507
|
+
)
|
|
508
|
+
|
|
509
|
+
async def reply_voice(
|
|
510
|
+
self,
|
|
511
|
+
voice: Union[str, BinaryIO],
|
|
512
|
+
caption: str = "",
|
|
513
|
+
parse_mode: Optional["enums.ParseMode"] = None,
|
|
514
|
+
caption_entities: List["types.MessageEntity"] = None,
|
|
515
|
+
duration: int = 0,
|
|
516
|
+
disable_notification: bool = None,
|
|
517
|
+
reply_to_story_id: int = None,
|
|
518
|
+
reply_markup: Union[
|
|
519
|
+
"types.InlineKeyboardMarkup",
|
|
520
|
+
"types.ReplyKeyboardMarkup",
|
|
521
|
+
"types.ReplyKeyboardRemove",
|
|
522
|
+
"types.ForceReply"
|
|
523
|
+
] = None,
|
|
524
|
+
progress: Callable = None,
|
|
525
|
+
progress_args: tuple = ()
|
|
526
|
+
) -> "types.Message":
|
|
527
|
+
if reply_to_story_id is None:
|
|
528
|
+
reply_to_story_id = self.id
|
|
529
|
+
|
|
530
|
+
return await self._client.send_voice(
|
|
531
|
+
chat_id=self.from_user.id if self.from_user else self.sender_chat.id,
|
|
532
|
+
voice=voice,
|
|
533
|
+
caption=caption,
|
|
534
|
+
parse_mode=parse_mode,
|
|
535
|
+
caption_entities=caption_entities,
|
|
536
|
+
duration=duration,
|
|
537
|
+
disable_notification=disable_notification,
|
|
538
|
+
reply_to_story_id=reply_to_story_id,
|
|
539
|
+
reply_markup=reply_markup,
|
|
540
|
+
progress=progress,
|
|
541
|
+
progress_args=progress_args
|
|
542
|
+
)
|
|
543
|
+
|
|
544
|
+
async def delete(self):
|
|
545
|
+
return await self._client.delete_stories(
|
|
546
|
+
chat_id=self.sender_chat.id if self.sender_chat else None,
|
|
547
|
+
story_ids=self.id
|
|
548
|
+
)
|
|
549
|
+
|
|
550
|
+
async def edit_animation(
|
|
551
|
+
self,
|
|
552
|
+
animation: Union[str, BinaryIO]
|
|
553
|
+
) -> "types.Story":
|
|
554
|
+
return await self._client.edit_story(
|
|
555
|
+
chat_id=self.sender_chat.id if self.sender_chat else None,
|
|
556
|
+
story_id=self.id,
|
|
557
|
+
animation=animation
|
|
558
|
+
)
|
|
559
|
+
|
|
560
|
+
async def edit(
|
|
561
|
+
self,
|
|
562
|
+
privacy: "enums.StoriesPrivacyRules" = None,
|
|
563
|
+
allowed_users: List[int] = None,
|
|
564
|
+
denied_users: List[int] = None,
|
|
565
|
+
animation: str = None,
|
|
566
|
+
photo: str = None,
|
|
567
|
+
video: str = None,
|
|
568
|
+
caption: str = None,
|
|
569
|
+
parse_mode: "enums.ParseMode" = None,
|
|
570
|
+
caption_entities: List["types.MessageEntity"] = None,
|
|
571
|
+
media_areas: List["types.InputMediaArea"] = None
|
|
572
|
+
) -> "types.Story":
|
|
573
|
+
return await self._client.edit_story(
|
|
574
|
+
chat_id=self.sender_chat.id if self.sender_chat else None,
|
|
575
|
+
story_id=self.id,
|
|
576
|
+
privacy=privacy,
|
|
577
|
+
allowed_users=allowed_users,
|
|
578
|
+
denied_users=denied_users,
|
|
579
|
+
animation=animation,
|
|
580
|
+
photo=photo,
|
|
581
|
+
video=video,
|
|
582
|
+
caption=caption,
|
|
583
|
+
parse_mode=parse_mode,
|
|
584
|
+
caption_entities=caption_entities,
|
|
585
|
+
media_areas=media_areas
|
|
586
|
+
)
|
|
587
|
+
|
|
588
|
+
async def edit_caption(
|
|
589
|
+
self,
|
|
590
|
+
caption: str,
|
|
591
|
+
parse_mode: Optional["enums.ParseMode"] = None,
|
|
592
|
+
caption_entities: List["types.MessageEntity"] = None
|
|
593
|
+
) -> "types.Story":
|
|
594
|
+
return await self._client.edit_story(
|
|
595
|
+
chat_id=self.sender_chat.id if self.sender_chat else None,
|
|
596
|
+
story_id=self.id,
|
|
597
|
+
caption=caption,
|
|
598
|
+
parse_mode=parse_mode,
|
|
599
|
+
caption_entities=caption_entities
|
|
600
|
+
)
|
|
601
|
+
|
|
602
|
+
async def edit_photo(
|
|
603
|
+
self,
|
|
604
|
+
photo: Union[str, BinaryIO]
|
|
605
|
+
) -> "types.Story":
|
|
606
|
+
return await self._client.edit_story(
|
|
607
|
+
chat_id=self.sender_chat.id if self.sender_chat else None,
|
|
608
|
+
story_id=self.id,
|
|
609
|
+
photo=photo
|
|
610
|
+
)
|
|
611
|
+
|
|
612
|
+
async def edit_privacy(
|
|
613
|
+
self,
|
|
614
|
+
privacy: "enums.StoriesPrivacyRules" = None,
|
|
615
|
+
allowed_users: List[int] = None,
|
|
616
|
+
denied_users: List[int] = None,
|
|
617
|
+
) -> "types.Story":
|
|
618
|
+
return await self._client.edit_story(
|
|
619
|
+
chat_id=self.sender_chat.id if self.sender_chat else None,
|
|
620
|
+
story_id=self.id,
|
|
621
|
+
privacy=privacy,
|
|
622
|
+
allowed_users=allowed_users,
|
|
623
|
+
denied_users=denied_users
|
|
624
|
+
)
|
|
625
|
+
|
|
626
|
+
async def edit_video(
|
|
627
|
+
self,
|
|
628
|
+
video: Union[str, BinaryIO]
|
|
629
|
+
) -> "types.Story":
|
|
630
|
+
return await self._client.edit_story(
|
|
631
|
+
chat_id=self.sender_chat.id if self.sender_chat else None,
|
|
632
|
+
story_id=self.id,
|
|
633
|
+
video=video
|
|
634
|
+
)
|
|
635
|
+
|
|
636
|
+
async def export_link(self) -> "types.ExportedStoryLink":
|
|
637
|
+
return await self._client.export_story_link(chat_id=self.from_user.id if self.from_user else self.sender_chat.id, story_id=self.id)
|
|
638
|
+
|
|
639
|
+
async def forward(
|
|
640
|
+
self,
|
|
641
|
+
chat_id: int = None,
|
|
642
|
+
privacy: "enums.StoriesPrivacyRules" = None,
|
|
643
|
+
allowed_users: List[int] = None,
|
|
644
|
+
denied_users: List[int] = None,
|
|
645
|
+
pinned: bool = None,
|
|
646
|
+
protect_content: bool = None,
|
|
647
|
+
caption: str = None,
|
|
648
|
+
parse_mode: "enums.ParseMode" = None,
|
|
649
|
+
caption_entities: List["types.MessageEntity"] = None,
|
|
650
|
+
period: int = None
|
|
651
|
+
):
|
|
652
|
+
return await self._client.send_story(
|
|
653
|
+
chat_id=chat_id,
|
|
654
|
+
privacy=privacy,
|
|
655
|
+
allowed_users=allowed_users,
|
|
656
|
+
denied_users=denied_users,
|
|
657
|
+
pinned=pinned,
|
|
658
|
+
protect_content=protect_content,
|
|
659
|
+
caption=caption,
|
|
660
|
+
caption_entities=caption_entities,
|
|
661
|
+
parse_mode=parse_mode,
|
|
662
|
+
period=period,
|
|
663
|
+
forward_from_chat_id=self.from_user.id if self.from_user is not None else self.sender_chat.id,
|
|
664
|
+
forward_from_story_id=self.id
|
|
665
|
+
)
|
|
666
|
+
|
|
667
|
+
async def download(
|
|
668
|
+
self,
|
|
669
|
+
file_name: str = "",
|
|
670
|
+
in_memory: bool = False,
|
|
671
|
+
block: bool = True,
|
|
672
|
+
progress: Callable = None,
|
|
673
|
+
progress_args: tuple = ()
|
|
674
|
+
) -> str:
|
|
675
|
+
return await self._client.download_media(
|
|
676
|
+
message=self,
|
|
677
|
+
file_name=file_name,
|
|
678
|
+
in_memory=in_memory,
|
|
679
|
+
block=block,
|
|
680
|
+
progress=progress,
|
|
681
|
+
progress_args=progress_args,
|
|
682
|
+
)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import pyrogram
|
|
2
|
+
from pyrogram import raw
|
|
3
|
+
from ..object import Object
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class StrippedThumbnail(Object):
|
|
7
|
+
def __init__(
|
|
8
|
+
self,
|
|
9
|
+
*,
|
|
10
|
+
client: "pyrogram.Client" = None,
|
|
11
|
+
data: bytes
|
|
12
|
+
):
|
|
13
|
+
super().__init__(client)
|
|
14
|
+
|
|
15
|
+
self.data = data
|
|
16
|
+
|
|
17
|
+
@staticmethod
|
|
18
|
+
def _parse(client, stripped_thumbnail: "raw.types.PhotoStrippedSize") -> "StrippedThumbnail":
|
|
19
|
+
return StrippedThumbnail(
|
|
20
|
+
data=stripped_thumbnail.bytes,
|
|
21
|
+
client=client
|
|
22
|
+
)
|