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,487 @@
|
|
|
1
|
+
from datetime import datetime
|
|
2
|
+
from typing import Union, List, Optional, AsyncGenerator, BinaryIO
|
|
3
|
+
|
|
4
|
+
import pyrogram
|
|
5
|
+
from pyrogram import raw, enums, types, utils
|
|
6
|
+
from ..object import Object
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class Chat(Object):
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
*,
|
|
13
|
+
client: "pyrogram.Client" = None,
|
|
14
|
+
id: int,
|
|
15
|
+
type: "enums.ChatType",
|
|
16
|
+
is_verified: bool = None,
|
|
17
|
+
is_restricted: bool = None,
|
|
18
|
+
is_creator: bool = None,
|
|
19
|
+
is_scam: bool = None,
|
|
20
|
+
is_fake: bool = None,
|
|
21
|
+
is_support: bool = None,
|
|
22
|
+
is_forum: bool = None,
|
|
23
|
+
is_participants_hidden: bool = None,
|
|
24
|
+
is_join_request: bool = None,
|
|
25
|
+
is_join_to_send: bool = None,
|
|
26
|
+
is_antispam: bool = None,
|
|
27
|
+
is_slowmode_enabled: bool = None,
|
|
28
|
+
title: str = None,
|
|
29
|
+
username: str = None,
|
|
30
|
+
first_name: str = None,
|
|
31
|
+
last_name: str = None,
|
|
32
|
+
photo: "types.ChatPhoto" = None,
|
|
33
|
+
stories: List["types.Story"] = None,
|
|
34
|
+
wallpaper: "types.Document" = None,
|
|
35
|
+
bio: str = None,
|
|
36
|
+
description: str = None,
|
|
37
|
+
dc_id: int = None,
|
|
38
|
+
folder_id: int = None,
|
|
39
|
+
has_protected_content: bool = None,
|
|
40
|
+
invite_link: str = None,
|
|
41
|
+
pinned_message=None,
|
|
42
|
+
sticker_set_name: str = None,
|
|
43
|
+
can_set_sticker_set: bool = None,
|
|
44
|
+
members_count: int = None,
|
|
45
|
+
slow_mode_delay: int = None,
|
|
46
|
+
restrictions: List["types.Restriction"] = None,
|
|
47
|
+
permissions: "types.ChatPermissions" = None,
|
|
48
|
+
distance: int = None,
|
|
49
|
+
linked_chat: "types.Chat" = None,
|
|
50
|
+
send_as_chat: "types.Chat" = None,
|
|
51
|
+
available_reactions: Optional["types.ChatReactions"] = None,
|
|
52
|
+
usernames: List["types.Username"] = None,
|
|
53
|
+
reply_color: "types.ChatColor" = None,
|
|
54
|
+
profile_color: "types.ChatColor" = None,
|
|
55
|
+
birthday: "types.Birthday" = None,
|
|
56
|
+
personal_chat: "types.Chat" = None,
|
|
57
|
+
max_reaction_count: int = None
|
|
58
|
+
):
|
|
59
|
+
super().__init__(client)
|
|
60
|
+
|
|
61
|
+
self.id = id
|
|
62
|
+
self.type = type
|
|
63
|
+
self.is_verified = is_verified
|
|
64
|
+
self.is_restricted = is_restricted
|
|
65
|
+
self.is_creator = is_creator
|
|
66
|
+
self.is_scam = is_scam
|
|
67
|
+
self.is_fake = is_fake
|
|
68
|
+
self.is_support = is_support
|
|
69
|
+
self.is_forum = is_forum
|
|
70
|
+
self.is_participants_hidden = is_participants_hidden
|
|
71
|
+
self.is_join_request = is_join_request
|
|
72
|
+
self.is_join_to_send = is_join_to_send
|
|
73
|
+
self.is_antispam = is_antispam
|
|
74
|
+
self.is_slowmode_enabled = is_slowmode_enabled
|
|
75
|
+
self.title = title
|
|
76
|
+
self.username = username
|
|
77
|
+
self.first_name = first_name
|
|
78
|
+
self.last_name = last_name
|
|
79
|
+
self.photo = photo
|
|
80
|
+
self.stories = stories
|
|
81
|
+
self.wallpaper = wallpaper
|
|
82
|
+
self.bio = bio
|
|
83
|
+
self.description = description
|
|
84
|
+
self.dc_id = dc_id
|
|
85
|
+
self.folder_id = folder_id
|
|
86
|
+
self.has_protected_content = has_protected_content
|
|
87
|
+
self.invite_link = invite_link
|
|
88
|
+
self.pinned_message = pinned_message
|
|
89
|
+
self.sticker_set_name = sticker_set_name
|
|
90
|
+
self.can_set_sticker_set = can_set_sticker_set
|
|
91
|
+
self.members_count = members_count
|
|
92
|
+
self.slow_mode_delay = slow_mode_delay
|
|
93
|
+
self.restrictions = restrictions
|
|
94
|
+
self.permissions = permissions
|
|
95
|
+
self.distance = distance
|
|
96
|
+
self.linked_chat = linked_chat
|
|
97
|
+
self.send_as_chat = send_as_chat
|
|
98
|
+
self.available_reactions = available_reactions
|
|
99
|
+
self.usernames = usernames
|
|
100
|
+
self.reply_color = reply_color
|
|
101
|
+
self.profile_color = profile_color
|
|
102
|
+
self.birthday = birthday
|
|
103
|
+
self.personal_chat = personal_chat
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def full_name(self) -> str:
|
|
107
|
+
return " ".join(filter(None, [self.first_name, self.last_name])) or self.title or None
|
|
108
|
+
|
|
109
|
+
@staticmethod
|
|
110
|
+
def _parse_user_chat(client, user: raw.types.User) -> "Chat":
|
|
111
|
+
peer_id = user.id
|
|
112
|
+
|
|
113
|
+
return Chat(
|
|
114
|
+
id=peer_id,
|
|
115
|
+
type=enums.ChatType.BOT if user.bot else enums.ChatType.PRIVATE,
|
|
116
|
+
is_verified=getattr(user, "verified", None),
|
|
117
|
+
is_restricted=getattr(user, "restricted", None),
|
|
118
|
+
is_scam=getattr(user, "scam", None),
|
|
119
|
+
is_fake=getattr(user, "fake", None),
|
|
120
|
+
is_support=getattr(user, "support", None),
|
|
121
|
+
username=user.username,
|
|
122
|
+
first_name=user.first_name,
|
|
123
|
+
last_name=user.last_name,
|
|
124
|
+
photo=types.ChatPhoto._parse(client, user.photo, peer_id, user.access_hash),
|
|
125
|
+
restrictions=types.List([types.Restriction._parse(r) for r in user.restriction_reason]) or None,
|
|
126
|
+
dc_id=getattr(getattr(user, "photo", None), "dc_id", None),
|
|
127
|
+
reply_color=types.ChatColor._parse(getattr(user, "color", None)),
|
|
128
|
+
profile_color=types.ChatColor._parse_profile_color(getattr(user, "profile_color", None)),
|
|
129
|
+
client=client
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
@staticmethod
|
|
133
|
+
def _parse_chat_chat(client, chat: raw.types.Chat) -> "Chat":
|
|
134
|
+
peer_id = -chat.id
|
|
135
|
+
active_usernames = getattr(chat, "usernames", [])
|
|
136
|
+
usernames = None
|
|
137
|
+
if len(active_usernames) >= 1:
|
|
138
|
+
usernames = []
|
|
139
|
+
for username in active_usernames:
|
|
140
|
+
usernames.append(types.Username._parse(username))
|
|
141
|
+
|
|
142
|
+
return Chat(
|
|
143
|
+
id=peer_id,
|
|
144
|
+
type=enums.ChatType.GROUP,
|
|
145
|
+
title=chat.title,
|
|
146
|
+
is_creator=getattr(chat, "creator", None),
|
|
147
|
+
photo=types.ChatPhoto._parse(client, getattr(chat, "photo", None), peer_id, 0),
|
|
148
|
+
permissions=types.ChatPermissions._parse(getattr(chat, "default_banned_rights", None)),
|
|
149
|
+
members_count=getattr(chat, "participants_count", None),
|
|
150
|
+
dc_id=getattr(getattr(chat, "photo", None), "dc_id", None),
|
|
151
|
+
has_protected_content=getattr(chat, "noforwards", None),
|
|
152
|
+
usernames=usernames,
|
|
153
|
+
client=client
|
|
154
|
+
)
|
|
155
|
+
|
|
156
|
+
@staticmethod
|
|
157
|
+
def _parse_channel_chat(client, channel: raw.types.Channel) -> "Chat":
|
|
158
|
+
peer_id = utils.get_channel_id(channel.id)
|
|
159
|
+
restriction_reason = getattr(channel, "restriction_reason", [])
|
|
160
|
+
user_name = getattr(channel, "username", None)
|
|
161
|
+
active_usernames = getattr(channel, "usernames", [])
|
|
162
|
+
usernames = None
|
|
163
|
+
if len(active_usernames) >= 1:
|
|
164
|
+
usernames = []
|
|
165
|
+
for username in active_usernames:
|
|
166
|
+
if username.editable:
|
|
167
|
+
user_name = username.username
|
|
168
|
+
else:
|
|
169
|
+
usernames.append(types.Username._parse(username))
|
|
170
|
+
if user_name is None and usernames is not None and len(usernames) > 0:
|
|
171
|
+
user_name = usernames[0].username
|
|
172
|
+
usernames.pop(0)
|
|
173
|
+
|
|
174
|
+
return Chat(
|
|
175
|
+
id=peer_id,
|
|
176
|
+
type=enums.ChatType.SUPERGROUP if getattr(channel, "megagroup", None) else enums.ChatType.CHANNEL,
|
|
177
|
+
is_verified=getattr(channel, "verified", None),
|
|
178
|
+
is_restricted=getattr(channel, "restricted", None),
|
|
179
|
+
is_creator=getattr(channel, "creator", None),
|
|
180
|
+
is_scam=getattr(channel, "scam", None),
|
|
181
|
+
is_fake=getattr(channel, "fake", None),
|
|
182
|
+
is_forum=getattr(channel, "forum", None),
|
|
183
|
+
is_join_request=getattr(channel, "join_request", None),
|
|
184
|
+
is_join_to_send=getattr(channel, "join_to_send", None),
|
|
185
|
+
is_slowmode_enabled=getattr(channel, "slowmode_enabled", None),
|
|
186
|
+
title=channel.title,
|
|
187
|
+
username=user_name,
|
|
188
|
+
usernames=usernames,
|
|
189
|
+
photo=types.ChatPhoto._parse(client, getattr(channel, "photo", None), peer_id,
|
|
190
|
+
getattr(channel, "access_hash", 0)),
|
|
191
|
+
restrictions=types.List([types.Restriction._parse(r) for r in restriction_reason]) or None,
|
|
192
|
+
permissions=types.ChatPermissions._parse(getattr(channel, "default_banned_rights", None)),
|
|
193
|
+
members_count=getattr(channel, "participants_count", None),
|
|
194
|
+
dc_id=getattr(getattr(channel, "photo", None), "dc_id", None),
|
|
195
|
+
has_protected_content=getattr(channel, "noforwards", None),
|
|
196
|
+
reply_color=types.ChatColor._parse(getattr(channel, "color", None)),
|
|
197
|
+
client=client
|
|
198
|
+
)
|
|
199
|
+
|
|
200
|
+
@staticmethod
|
|
201
|
+
def _parse(
|
|
202
|
+
client,
|
|
203
|
+
message: Union[raw.types.Message, raw.types.MessageService],
|
|
204
|
+
users: dict,
|
|
205
|
+
chats: dict,
|
|
206
|
+
is_chat: bool
|
|
207
|
+
) -> "Chat":
|
|
208
|
+
from_id = utils.get_raw_peer_id(message.from_id)
|
|
209
|
+
peer_id = utils.get_raw_peer_id(message.peer_id)
|
|
210
|
+
chat_id = (peer_id or from_id) if is_chat else (from_id or peer_id)
|
|
211
|
+
|
|
212
|
+
if isinstance(message.peer_id, raw.types.PeerUser):
|
|
213
|
+
return Chat._parse_user_chat(client, users[chat_id])
|
|
214
|
+
|
|
215
|
+
if isinstance(message.peer_id, raw.types.PeerChat):
|
|
216
|
+
return Chat._parse_chat_chat(client, chats[chat_id])
|
|
217
|
+
|
|
218
|
+
return Chat._parse_channel_chat(client, chats[chat_id])
|
|
219
|
+
|
|
220
|
+
@staticmethod
|
|
221
|
+
def _parse_dialog(client, peer, users: dict, chats: dict):
|
|
222
|
+
if isinstance(peer, raw.types.PeerUser):
|
|
223
|
+
return Chat._parse_user_chat(client, users[peer.user_id])
|
|
224
|
+
elif isinstance(peer, raw.types.PeerChat):
|
|
225
|
+
return Chat._parse_chat_chat(client, chats[peer.chat_id])
|
|
226
|
+
else:
|
|
227
|
+
return Chat._parse_channel_chat(client, chats[peer.channel_id])
|
|
228
|
+
|
|
229
|
+
@staticmethod
|
|
230
|
+
async def _parse_full(client, chat_full: Union[raw.types.messages.ChatFull, raw.types.users.UserFull]) -> "Chat":
|
|
231
|
+
users = {u.id: u for u in chat_full.users}
|
|
232
|
+
chats = {c.id: c for c in chat_full.chats}
|
|
233
|
+
|
|
234
|
+
if isinstance(chat_full, raw.types.users.UserFull):
|
|
235
|
+
full_user = chat_full.full_user
|
|
236
|
+
|
|
237
|
+
parsed_chat = Chat._parse_user_chat(client, users[full_user.id])
|
|
238
|
+
parsed_chat.bio = full_user.about
|
|
239
|
+
parsed_chat.folder_id = getattr(full_user, "folder_id", None)
|
|
240
|
+
birthday = getattr(full_user, "birthday", None)
|
|
241
|
+
parsed_chat.birthday = types.Birthday._parse(birthday) if birthday is not None else None
|
|
242
|
+
personal_chat_id = getattr(full_user, "personal_channel_id", None)
|
|
243
|
+
if personal_chat_id is not None:
|
|
244
|
+
personal_chat = await client.invoke(
|
|
245
|
+
raw.functions.channels.GetChannels(
|
|
246
|
+
id=[await client.resolve_peer(utils.get_channel_id(personal_chat_id))]
|
|
247
|
+
)
|
|
248
|
+
)
|
|
249
|
+
parsed_chat.personal_chat = Chat._parse_chat(client, personal_chat.chats[0])
|
|
250
|
+
|
|
251
|
+
if full_user.pinned_msg_id:
|
|
252
|
+
parsed_chat.pinned_message = await client.get_messages(
|
|
253
|
+
parsed_chat.id,
|
|
254
|
+
message_ids=full_user.pinned_msg_id
|
|
255
|
+
)
|
|
256
|
+
|
|
257
|
+
if getattr(full_user, "stories"):
|
|
258
|
+
peer_stories: raw.types.PeerStories = full_user.stories
|
|
259
|
+
parsed_chat.stories = types.List(
|
|
260
|
+
[
|
|
261
|
+
await types.Story._parse(
|
|
262
|
+
client, story, peer_stories.peer
|
|
263
|
+
)
|
|
264
|
+
for story in peer_stories.stories
|
|
265
|
+
]
|
|
266
|
+
) or None
|
|
267
|
+
|
|
268
|
+
if getattr(full_user, "wallpaper") and isinstance(full_user.wallpaper, raw.types.WallPaper):
|
|
269
|
+
parsed_chat.wallpaper = types.Document._parse(client, full_user.wallpaper.document, "wallpaper.jpg")
|
|
270
|
+
else:
|
|
271
|
+
full_chat = chat_full.full_chat
|
|
272
|
+
chat_raw = chats[full_chat.id]
|
|
273
|
+
|
|
274
|
+
if isinstance(full_chat, raw.types.ChatFull):
|
|
275
|
+
parsed_chat = Chat._parse_chat_chat(client, chat_raw)
|
|
276
|
+
parsed_chat.description = full_chat.about or None
|
|
277
|
+
|
|
278
|
+
if isinstance(full_chat.participants, raw.types.ChatParticipants):
|
|
279
|
+
parsed_chat.members_count = len(full_chat.participants.participants)
|
|
280
|
+
else:
|
|
281
|
+
parsed_chat = Chat._parse_channel_chat(client, chat_raw)
|
|
282
|
+
parsed_chat.members_count = full_chat.participants_count
|
|
283
|
+
parsed_chat.slow_mode_delay = getattr(full_chat, "slowmode_seconds", None)
|
|
284
|
+
parsed_chat.description = full_chat.about or None
|
|
285
|
+
parsed_chat.can_set_sticker_set = full_chat.can_set_stickers
|
|
286
|
+
parsed_chat.sticker_set_name = getattr(full_chat.stickerset, "short_name", None)
|
|
287
|
+
parsed_chat.is_participants_hidden = full_chat.participants_hidden
|
|
288
|
+
parsed_chat.is_antispam = full_chat.antispam
|
|
289
|
+
parsed_chat.folder_id = getattr(full_chat, "folder_id", None)
|
|
290
|
+
|
|
291
|
+
linked_chat_raw = chats.get(full_chat.linked_chat_id, None)
|
|
292
|
+
|
|
293
|
+
if linked_chat_raw:
|
|
294
|
+
parsed_chat.linked_chat = Chat._parse_channel_chat(client, linked_chat_raw)
|
|
295
|
+
|
|
296
|
+
default_send_as = full_chat.default_send_as
|
|
297
|
+
|
|
298
|
+
if default_send_as:
|
|
299
|
+
if isinstance(default_send_as, raw.types.PeerUser):
|
|
300
|
+
send_as_raw = users[default_send_as.user_id]
|
|
301
|
+
else:
|
|
302
|
+
send_as_raw = chats[default_send_as.channel_id]
|
|
303
|
+
|
|
304
|
+
parsed_chat.send_as_chat = Chat._parse_chat(client, send_as_raw)
|
|
305
|
+
|
|
306
|
+
if getattr(full_chat, "stories"):
|
|
307
|
+
peer_stories: raw.types.PeerStories = full_chat.stories
|
|
308
|
+
parsed_chat.stories = types.List(
|
|
309
|
+
[
|
|
310
|
+
await types.Story._parse(
|
|
311
|
+
client, story, peer_stories.peer
|
|
312
|
+
)
|
|
313
|
+
for story in peer_stories.stories
|
|
314
|
+
]
|
|
315
|
+
) or None
|
|
316
|
+
|
|
317
|
+
if getattr(full_chat, "wallpaper") and isinstance(full_chat.wallpaper, raw.types.WallPaper):
|
|
318
|
+
parsed_chat.wallpaper = types.Document._parse(client, full_chat.wallpaper.document, "wallpaper.jpg")
|
|
319
|
+
|
|
320
|
+
if full_chat.pinned_msg_id:
|
|
321
|
+
parsed_chat.pinned_message = await client.get_messages(
|
|
322
|
+
parsed_chat.id,
|
|
323
|
+
message_ids=full_chat.pinned_msg_id
|
|
324
|
+
)
|
|
325
|
+
|
|
326
|
+
if isinstance(full_chat.exported_invite, raw.types.ChatInviteExported):
|
|
327
|
+
parsed_chat.invite_link = full_chat.exported_invite.link
|
|
328
|
+
|
|
329
|
+
parsed_chat.available_reactions = types.ChatReactions._parse(
|
|
330
|
+
client,
|
|
331
|
+
full_chat.available_reactions
|
|
332
|
+
)
|
|
333
|
+
parsed_chat.max_reaction_count = getattr(full_chat, "reactions_limit", 11)
|
|
334
|
+
|
|
335
|
+
return parsed_chat
|
|
336
|
+
|
|
337
|
+
@staticmethod
|
|
338
|
+
def _parse_chat(client, chat: Union[raw.types.Chat, raw.types.User, raw.types.Channel]) -> "Chat":
|
|
339
|
+
if isinstance(chat, (raw.types.Chat, raw.types.ChatForbidden)):
|
|
340
|
+
return Chat._parse_chat_chat(client, chat)
|
|
341
|
+
elif isinstance(chat, raw.types.User):
|
|
342
|
+
return Chat._parse_user_chat(client, chat)
|
|
343
|
+
else:
|
|
344
|
+
return Chat._parse_channel_chat(client, chat)
|
|
345
|
+
|
|
346
|
+
def listen(self, *args, **kwargs):
|
|
347
|
+
return self._client.listen(*args, chat_id=self.id, **kwargs)
|
|
348
|
+
|
|
349
|
+
def ask(self, text, *args, **kwargs):
|
|
350
|
+
return self._client.ask(self.id, text, *args, **kwargs)
|
|
351
|
+
|
|
352
|
+
def stop_listening(self, *args, **kwargs):
|
|
353
|
+
return self._client.stop_listening(*args, chat_id=self.id, **kwargs)
|
|
354
|
+
|
|
355
|
+
async def archive(self):
|
|
356
|
+
return await self._client.archive_chats(self.id)
|
|
357
|
+
|
|
358
|
+
async def unarchive(self):
|
|
359
|
+
return await self._client.unarchive_chats(self.id)
|
|
360
|
+
|
|
361
|
+
async def set_title(self, title: str) -> bool:
|
|
362
|
+
return await self._client.set_chat_title(
|
|
363
|
+
chat_id=self.id,
|
|
364
|
+
title=title
|
|
365
|
+
)
|
|
366
|
+
|
|
367
|
+
async def set_description(self, description: str) -> bool:
|
|
368
|
+
return await self._client.set_chat_description(
|
|
369
|
+
chat_id=self.id,
|
|
370
|
+
description=description
|
|
371
|
+
)
|
|
372
|
+
|
|
373
|
+
async def set_photo(
|
|
374
|
+
self,
|
|
375
|
+
*,
|
|
376
|
+
photo: Union[str, BinaryIO] = None,
|
|
377
|
+
video: Union[str, BinaryIO] = None,
|
|
378
|
+
video_start_ts: float = None,
|
|
379
|
+
) -> bool:
|
|
380
|
+
return await self._client.set_chat_photo(
|
|
381
|
+
chat_id=self.id,
|
|
382
|
+
photo=photo,
|
|
383
|
+
video=video,
|
|
384
|
+
video_start_ts=video_start_ts
|
|
385
|
+
)
|
|
386
|
+
|
|
387
|
+
async def ban_member(
|
|
388
|
+
self,
|
|
389
|
+
user_id: Union[int, str],
|
|
390
|
+
until_date: datetime = utils.zero_datetime(),
|
|
391
|
+
revoke_messages: bool = None
|
|
392
|
+
) -> Union["types.Message", bool]:
|
|
393
|
+
return await self._client.ban_chat_member(
|
|
394
|
+
chat_id=self.id,
|
|
395
|
+
user_id=user_id,
|
|
396
|
+
until_date=until_date,
|
|
397
|
+
revoke_messages=revoke_messages
|
|
398
|
+
)
|
|
399
|
+
|
|
400
|
+
async def unban_member(
|
|
401
|
+
self,
|
|
402
|
+
user_id: Union[int, str]
|
|
403
|
+
) -> bool:
|
|
404
|
+
return await self._client.unban_chat_member(
|
|
405
|
+
chat_id=self.id,
|
|
406
|
+
user_id=user_id,
|
|
407
|
+
)
|
|
408
|
+
|
|
409
|
+
async def restrict_member(
|
|
410
|
+
self,
|
|
411
|
+
user_id: Union[int, str],
|
|
412
|
+
permissions: "types.ChatPermissions",
|
|
413
|
+
until_date: datetime = utils.zero_datetime(),
|
|
414
|
+
) -> "types.Chat":
|
|
415
|
+
return await self._client.restrict_chat_member(
|
|
416
|
+
chat_id=self.id,
|
|
417
|
+
user_id=user_id,
|
|
418
|
+
permissions=permissions,
|
|
419
|
+
until_date=until_date,
|
|
420
|
+
)
|
|
421
|
+
|
|
422
|
+
async def promote_member(
|
|
423
|
+
self,
|
|
424
|
+
user_id: Union[int, str],
|
|
425
|
+
privileges: "types.ChatPrivileges" = None,
|
|
426
|
+
title: Optional[str] = None,
|
|
427
|
+
) -> bool:
|
|
428
|
+
return await self._client.promote_chat_member(
|
|
429
|
+
chat_id=self.id,
|
|
430
|
+
user_id=user_id,
|
|
431
|
+
privileges=privileges,
|
|
432
|
+
title=title
|
|
433
|
+
)
|
|
434
|
+
|
|
435
|
+
async def join(self):
|
|
436
|
+
return await self._client.join_chat(self.username or self.id)
|
|
437
|
+
|
|
438
|
+
async def leave(self):
|
|
439
|
+
return await self._client.leave_chat(self.id)
|
|
440
|
+
|
|
441
|
+
async def export_invite_link(self):
|
|
442
|
+
return await self._client.export_chat_invite_link(self.id)
|
|
443
|
+
|
|
444
|
+
async def get_member(
|
|
445
|
+
self,
|
|
446
|
+
user_id: Union[int, str],
|
|
447
|
+
) -> "types.ChatMember":
|
|
448
|
+
return await self._client.get_chat_member(
|
|
449
|
+
self.id,
|
|
450
|
+
user_id=user_id
|
|
451
|
+
)
|
|
452
|
+
|
|
453
|
+
def get_members(
|
|
454
|
+
self,
|
|
455
|
+
query: str = "",
|
|
456
|
+
limit: int = 0,
|
|
457
|
+
filter: "enums.ChatMembersFilter" = enums.ChatMembersFilter.SEARCH
|
|
458
|
+
) -> Optional[AsyncGenerator["types.ChatMember", None]]:
|
|
459
|
+
return self._client.get_chat_members(
|
|
460
|
+
self.id,
|
|
461
|
+
query=query,
|
|
462
|
+
limit=limit,
|
|
463
|
+
filter=filter
|
|
464
|
+
)
|
|
465
|
+
|
|
466
|
+
async def add_members(
|
|
467
|
+
self,
|
|
468
|
+
user_ids: Union[Union[int, str], List[Union[int, str]]],
|
|
469
|
+
forward_limit: int = 100
|
|
470
|
+
) -> bool:
|
|
471
|
+
return await self._client.add_chat_members(
|
|
472
|
+
self.id,
|
|
473
|
+
user_ids=user_ids,
|
|
474
|
+
forward_limit=forward_limit
|
|
475
|
+
)
|
|
476
|
+
|
|
477
|
+
async def mark_unread(self, ) -> bool:
|
|
478
|
+
return await self._client.mark_chat_unread(self.id)
|
|
479
|
+
|
|
480
|
+
async def set_protected_content(self, enabled: bool) -> bool:
|
|
481
|
+
return await self._client.set_chat_protected_content(
|
|
482
|
+
self.id,
|
|
483
|
+
enabled=enabled
|
|
484
|
+
)
|
|
485
|
+
|
|
486
|
+
async def unpin_all_messages(self) -> bool:
|
|
487
|
+
return await self._client.unpin_all_chat_messages(self.id)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
from typing import Dict
|
|
2
|
+
|
|
3
|
+
import pyrogram
|
|
4
|
+
from pyrogram import raw, types
|
|
5
|
+
from ..object import Object
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ChatAdminWithInviteLinks(Object):
|
|
9
|
+
def __init__(
|
|
10
|
+
self, *,
|
|
11
|
+
admin: "types.User",
|
|
12
|
+
chat_invite_links_count: int,
|
|
13
|
+
revoked_chat_invite_links_count: int = None
|
|
14
|
+
):
|
|
15
|
+
super().__init__()
|
|
16
|
+
|
|
17
|
+
self.admin = admin
|
|
18
|
+
self.chat_invite_links_count = chat_invite_links_count
|
|
19
|
+
self.revoked_chat_invite_links_count = revoked_chat_invite_links_count
|
|
20
|
+
|
|
21
|
+
@staticmethod
|
|
22
|
+
def _parse(
|
|
23
|
+
client: "pyrogram.Client",
|
|
24
|
+
admin: "raw.types.ChatAdminWithInvites",
|
|
25
|
+
users: Dict[int, "raw.types.User"] = None
|
|
26
|
+
) -> "ChatAdminWithInviteLinks":
|
|
27
|
+
return ChatAdminWithInviteLinks(
|
|
28
|
+
admin=types.User._parse(client, users[admin.admin_id]),
|
|
29
|
+
chat_invite_links_count=admin.invites_count,
|
|
30
|
+
revoked_chat_invite_links_count=admin.revoked_invites_count
|
|
31
|
+
)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
from typing import Optional, Union
|
|
2
|
+
|
|
3
|
+
from pyrogram import raw, enums
|
|
4
|
+
from ..object import Object
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ChatColor(Object):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
*,
|
|
11
|
+
color: Union["enums.ReplyColor", "enums.ProfileColor"] = None,
|
|
12
|
+
background_emoji_id: int = None
|
|
13
|
+
):
|
|
14
|
+
self.color = color
|
|
15
|
+
self.background_emoji_id = background_emoji_id
|
|
16
|
+
|
|
17
|
+
@staticmethod
|
|
18
|
+
def _parse(color: "raw.types.PeerColor" = None) -> Optional["ChatColor"]:
|
|
19
|
+
if not color:
|
|
20
|
+
return None
|
|
21
|
+
|
|
22
|
+
return ChatColor(
|
|
23
|
+
color=enums.ReplyColor(color.color) if getattr(color, "color", None) else None,
|
|
24
|
+
background_emoji_id=getattr(color, "background_emoji_id", None)
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
@staticmethod
|
|
28
|
+
def _parse_profile_color(color: "raw.types.PeerColor" = None) -> Optional["ChatColor"]:
|
|
29
|
+
if not color:
|
|
30
|
+
return None
|
|
31
|
+
|
|
32
|
+
return ChatColor(
|
|
33
|
+
color=enums.ProfileColor(color.color) if getattr(color, "color", None) else None,
|
|
34
|
+
background_emoji_id=getattr(color, "background_emoji_id", None)
|
|
35
|
+
)
|