pyrogrammod 2.2.1__py3-none-any.whl → 2.4.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.
Potentially problematic release.
This version of pyrogrammod might be problematic. Click here for more details.
- pyrogram/__init__.py +1 -1
- pyrogram/client.py +221 -103
- pyrogram/dispatcher.py +40 -7
- pyrogram/enums/__init__.py +18 -14
- pyrogram/enums/chat_action.py +9 -0
- pyrogram/enums/message_entity_type.py +12 -0
- pyrogram/enums/message_service_type.py +12 -0
- pyrogram/enums/rich_block_type.py +139 -0
- pyrogram/enums/rich_text_type.py +112 -0
- pyrogram/errors/exceptions/__init__.py +3 -3
- pyrogram/errors/exceptions/all.py +307 -225
- pyrogram/errors/exceptions/bad_request_400.py +438 -11
- pyrogram/errors/exceptions/flood_420.py +7 -0
- pyrogram/errors/exceptions/forbidden_403.py +50 -1
- pyrogram/errors/exceptions/internal_server_error_500.py +36 -8
- pyrogram/errors/exceptions/not_acceptable_406.py +75 -12
- pyrogram/handlers/__init__.py +1 -0
- pyrogram/handlers/guard_bot_query_handler.py +50 -0
- pyrogram/methods/__init__.py +4 -0
- pyrogram/methods/advanced/invoke.py +4 -1
- pyrogram/methods/advanced/save_file.py +118 -59
- pyrogram/methods/auth/initialize.py +3 -0
- pyrogram/methods/bots/__init__.py +15 -1
- pyrogram/methods/bots/answer_callback_query.py +1 -1
- pyrogram/methods/bots/answer_chat_join_request_query.py +95 -0
- pyrogram/methods/bots/answer_guard_bot_query.py +97 -0
- pyrogram/methods/bots/confirm_bot_connection.py +59 -0
- pyrogram/methods/bots/edit_bot_access_settings.py +78 -0
- pyrogram/methods/bots/get_bot_access_settings.py +56 -0
- pyrogram/methods/bots/send_chat_join_request_web_app.py +56 -0
- pyrogram/methods/bots/send_streaming_text.py +162 -0
- pyrogram/methods/chats/__init__.py +5 -1
- pyrogram/methods/chats/get_chat.py +1 -1
- pyrogram/methods/chats/join_chat.py +3 -3
- pyrogram/methods/chats/promote_chat_member.py +3 -1
- pyrogram/methods/chats/set_chat_guard_bot.py +83 -0
- pyrogram/methods/chats/set_chat_permissions.py +23 -11
- pyrogram/methods/chats/toggle_direct_messages.py +62 -0
- pyrogram/methods/communities/__init__.py +25 -0
- pyrogram/methods/communities/add_chat_to_community.py +103 -0
- pyrogram/methods/communities/approve_all_community_peer_links.py +46 -0
- pyrogram/methods/communities/approve_community_peer_link.py +53 -0
- pyrogram/methods/communities/ban_community_participant.py +53 -0
- pyrogram/methods/communities/create_community.py +54 -0
- pyrogram/methods/communities/get_community_participant_chats.py +41 -0
- pyrogram/methods/communities/get_community_peer_link_requests.py +45 -0
- pyrogram/methods/communities/get_joined_communities.py +22 -0
- pyrogram/methods/communities/toggle_community_collapsed.py +44 -0
- pyrogram/methods/communities/toggle_community_peer_link.py +65 -0
- pyrogram/methods/decorators/__init__.py +3 -1
- pyrogram/methods/decorators/on_guard_bot_query.py +78 -0
- pyrogram/methods/ephemeral/__init__.py +21 -0
- pyrogram/methods/ephemeral/delete_ephemeral_message.py +51 -0
- pyrogram/methods/ephemeral/edit_ephemeral_message_caption.py +70 -0
- pyrogram/methods/ephemeral/edit_ephemeral_message_media.py +59 -0
- pyrogram/methods/ephemeral/edit_ephemeral_message_reply_markup.py +54 -0
- pyrogram/methods/ephemeral/edit_ephemeral_message_text.py +70 -0
- pyrogram/methods/ephemeral/get_ephemeral_callback_answer.py +45 -0
- pyrogram/methods/ephemeral/report_ephemeral_message.py +50 -0
- pyrogram/methods/ephemeral/send_ephemeral_message.py +61 -0
- pyrogram/methods/messages/__init__.py +29 -1
- pyrogram/methods/messages/compose_rich_message_with_ai.py +51 -0
- pyrogram/methods/messages/delete_monoforum_history.py +62 -0
- pyrogram/methods/messages/delete_web_browser_exceptions.py +42 -0
- pyrogram/methods/messages/download_media.py +4 -1
- pyrogram/methods/messages/edit_message_text.py +30 -3
- pyrogram/methods/messages/forward_messages.py +7 -2
- pyrogram/methods/messages/get_monoforum_dialogs.py +61 -0
- pyrogram/methods/messages/get_monoforum_history.py +132 -0
- pyrogram/methods/messages/get_poll_stats.py +61 -0
- pyrogram/methods/messages/get_web_browser_settings.py +43 -0
- pyrogram/methods/messages/read_monoforum_history.py +62 -0
- pyrogram/methods/messages/request_chat_join_web_view.py +56 -0
- pyrogram/methods/messages/send_animation.py +5 -0
- pyrogram/methods/messages/send_audio.py +5 -0
- pyrogram/methods/messages/send_cached_media.py +5 -0
- pyrogram/methods/messages/send_contact.py +5 -0
- pyrogram/methods/messages/send_dice.py +5 -0
- pyrogram/methods/messages/send_document.py +5 -0
- pyrogram/methods/messages/send_location.py +5 -0
- pyrogram/methods/messages/send_media_group.py +6 -1
- pyrogram/methods/messages/send_message.py +31 -2
- pyrogram/methods/messages/send_photo.py +5 -0
- pyrogram/methods/messages/send_poll.py +5 -0
- pyrogram/methods/messages/send_reaction.py +6 -4
- pyrogram/methods/messages/send_rich_message.py +108 -0
- pyrogram/methods/messages/send_rich_message_draft.py +86 -0
- pyrogram/methods/messages/send_sticker.py +5 -0
- pyrogram/methods/messages/send_venue.py +5 -0
- pyrogram/methods/messages/send_video.py +5 -0
- pyrogram/methods/messages/send_video_note.py +5 -0
- pyrogram/methods/messages/send_voice.py +5 -0
- pyrogram/methods/messages/toggle_web_browser_exception.py +68 -0
- pyrogram/methods/messages/translate_rich_message.py +50 -0
- pyrogram/methods/messages/update_web_browser_settings.py +56 -0
- pyrogram/methods/utilities/start.py +3 -0
- pyrogram/methods/utilities/stop.py +5 -1
- pyrogram/raw/all.py +476 -188
- pyrogram/raw/base/__init__.py +41 -4
- pyrogram/raw/base/access_point_rule.py +19 -1
- pyrogram/raw/base/account/__init__.py +5 -0
- pyrogram/raw/base/account/authorization_form.py +29 -1
- pyrogram/raw/base/account/authorizations.py +29 -1
- pyrogram/raw/base/account/auto_download_settings.py +29 -1
- pyrogram/raw/base/account/auto_save_settings.py +29 -1
- pyrogram/raw/base/account/business_chat_links.py +29 -1
- pyrogram/raw/base/account/chat_themes.py +57 -0
- pyrogram/raw/base/account/connected_bots.py +29 -1
- pyrogram/raw/base/account/content_settings.py +29 -1
- pyrogram/raw/base/account/email_verified.py +30 -1
- pyrogram/raw/base/account/emoji_statuses.py +33 -1
- pyrogram/raw/base/account/paid_messages_revenue.py +29 -1
- pyrogram/raw/base/account/passkey_registration_options.py +56 -0
- pyrogram/raw/base/account/passkeys.py +56 -0
- pyrogram/raw/base/account/password.py +29 -1
- pyrogram/raw/base/account/password_input_settings.py +19 -1
- pyrogram/raw/base/account/password_settings.py +29 -1
- pyrogram/raw/base/account/privacy_rules.py +30 -1
- pyrogram/raw/base/account/reset_password_result.py +31 -1
- pyrogram/raw/base/account/resolved_business_chat_links.py +29 -1
- pyrogram/raw/base/account/saved_music_ids.py +57 -0
- pyrogram/raw/base/account/saved_ringtone.py +30 -1
- pyrogram/raw/base/account/saved_ringtones.py +30 -1
- pyrogram/raw/base/account/sent_email_code.py +29 -1
- pyrogram/raw/base/account/takeout.py +29 -1
- pyrogram/raw/base/account/themes.py +31 -1
- pyrogram/raw/base/account/tmp_password.py +29 -1
- pyrogram/raw/base/account/wall_papers.py +30 -1
- pyrogram/raw/base/account/web_authorizations.py +29 -1
- pyrogram/raw/base/account/web_browser_settings.py +59 -0
- pyrogram/raw/base/account_days_ttl.py +29 -1
- pyrogram/raw/base/ai_compose_tone.py +58 -0
- pyrogram/raw/base/ai_compose_tone_example.py +56 -0
- pyrogram/raw/base/{messages/message_empty.py → aicompose/__init__.py} +1 -4
- pyrogram/raw/base/aicompose/tones.py +58 -0
- pyrogram/raw/base/attach_menu_bot.py +19 -1
- pyrogram/raw/base/attach_menu_bot_icon.py +19 -1
- pyrogram/raw/base/attach_menu_bot_icon_color.py +19 -1
- pyrogram/raw/base/attach_menu_bots.py +30 -1
- pyrogram/raw/base/attach_menu_bots_bot.py +29 -1
- pyrogram/raw/base/attach_menu_peer_type.py +23 -1
- pyrogram/raw/base/auction_bid_level.py +46 -0
- pyrogram/raw/base/auth/__init__.py +1 -0
- pyrogram/raw/base/auth/authorization.py +37 -1
- pyrogram/raw/base/auth/code_type.py +23 -1
- pyrogram/raw/base/auth/exported_authorization.py +29 -1
- pyrogram/raw/base/auth/logged_out.py +29 -1
- pyrogram/raw/base/auth/login_token.py +32 -1
- pyrogram/raw/base/auth/passkey_login_options.py +56 -0
- pyrogram/raw/base/auth/password_recovery.py +29 -1
- pyrogram/raw/base/auth/sent_code.py +37 -1
- pyrogram/raw/base/auth/sent_code_type.py +29 -1
- pyrogram/raw/base/authorization.py +29 -1
- pyrogram/raw/base/auto_download_settings.py +19 -1
- pyrogram/raw/base/auto_save_exception.py +19 -1
- pyrogram/raw/base/auto_save_settings.py +19 -1
- pyrogram/raw/base/available_effect.py +19 -1
- pyrogram/raw/base/available_reaction.py +19 -1
- pyrogram/raw/base/bad_msg_notification.py +20 -1
- pyrogram/raw/base/bank_card_open_url.py +19 -1
- pyrogram/raw/base/base_theme.py +23 -1
- pyrogram/raw/base/bind_auth_key_inner.py +19 -1
- pyrogram/raw/base/birthday.py +19 -1
- pyrogram/raw/base/boost.py +19 -1
- pyrogram/raw/base/bot_app.py +20 -1
- pyrogram/raw/base/bot_app_settings.py +19 -1
- pyrogram/raw/base/bot_business_connection.py +19 -1
- pyrogram/raw/base/bot_command.py +29 -1
- pyrogram/raw/base/bot_command_scope.py +25 -1
- pyrogram/raw/base/bot_info.py +19 -1
- pyrogram/raw/base/bot_inline_message.py +26 -1
- pyrogram/raw/base/bot_inline_result.py +20 -1
- pyrogram/raw/base/bot_menu_button.py +31 -1
- pyrogram/raw/base/bot_preview_media.py +31 -1
- pyrogram/raw/base/bot_verification.py +19 -1
- pyrogram/raw/base/bot_verifier_settings.py +19 -1
- pyrogram/raw/base/bots/__init__.py +3 -0
- pyrogram/raw/base/bots/access_settings.py +56 -0
- pyrogram/raw/base/bots/bot_info.py +29 -1
- pyrogram/raw/base/bots/exported_bot_token.py +56 -0
- pyrogram/raw/base/bots/popular_app_bots.py +29 -1
- pyrogram/raw/base/bots/preview_info.py +29 -1
- pyrogram/raw/base/bots/requested_button.py +56 -0
- pyrogram/raw/base/business_away_message.py +19 -1
- pyrogram/raw/base/business_away_message_schedule.py +21 -1
- pyrogram/raw/base/business_bot_recipients.py +19 -1
- pyrogram/raw/base/business_bot_rights.py +19 -1
- pyrogram/raw/base/business_chat_link.py +30 -1
- pyrogram/raw/base/business_greeting_message.py +19 -1
- pyrogram/raw/base/business_intro.py +19 -1
- pyrogram/raw/base/business_location.py +19 -1
- pyrogram/raw/base/business_recipients.py +19 -1
- pyrogram/raw/base/business_weekly_open.py +19 -1
- pyrogram/raw/base/business_work_hours.py +19 -1
- pyrogram/raw/base/cdn_config.py +29 -1
- pyrogram/raw/base/cdn_public_key.py +19 -1
- pyrogram/raw/base/channel_admin_log_event.py +19 -1
- pyrogram/raw/base/channel_admin_log_event_action.py +70 -1
- pyrogram/raw/base/channel_admin_log_events_filter.py +19 -1
- pyrogram/raw/base/channel_location.py +20 -1
- pyrogram/raw/base/channel_messages_filter.py +20 -1
- pyrogram/raw/base/channel_participant.py +24 -1
- pyrogram/raw/base/channel_participants_filter.py +26 -1
- pyrogram/raw/base/channels/admin_log_results.py +29 -1
- pyrogram/raw/base/channels/channel_participant.py +29 -1
- pyrogram/raw/base/channels/channel_participants.py +30 -1
- pyrogram/raw/base/channels/send_as_peers.py +29 -1
- pyrogram/raw/base/channels/sponsored_message_report_result.py +31 -1
- pyrogram/raw/base/chat.py +25 -1
- pyrogram/raw/base/chat_admin_rights.py +19 -1
- pyrogram/raw/base/chat_admin_with_invites.py +19 -1
- pyrogram/raw/base/chat_banned_rights.py +19 -1
- pyrogram/raw/base/chat_full.py +21 -1
- pyrogram/raw/base/chat_invite.py +31 -1
- pyrogram/raw/base/chat_invite_importer.py +19 -1
- pyrogram/raw/base/chat_onlines.py +29 -1
- pyrogram/raw/base/chat_participant.py +21 -1
- pyrogram/raw/base/chat_participants.py +20 -1
- pyrogram/raw/base/chat_photo.py +20 -1
- pyrogram/raw/base/chat_reactions.py +21 -1
- pyrogram/raw/base/chat_theme.py +47 -0
- pyrogram/raw/base/chatlists/chatlist_invite.py +30 -1
- pyrogram/raw/base/chatlists/chatlist_updates.py +29 -1
- pyrogram/raw/base/chatlists/exported_chatlist_invite.py +29 -1
- pyrogram/raw/base/chatlists/exported_invites.py +29 -1
- pyrogram/raw/base/client_dh_inner_data.py +19 -1
- pyrogram/raw/base/code_settings.py +19 -1
- pyrogram/raw/base/{messages/web_view_result.py → communities/__init__.py} +2 -4
- pyrogram/raw/base/communities/participant_joined_chats.py +56 -0
- pyrogram/raw/base/communities/peer_link_requests.py +56 -0
- pyrogram/raw/base/community_peer.py +46 -0
- pyrogram/raw/base/community_peer_request.py +46 -0
- pyrogram/raw/base/config.py +29 -1
- pyrogram/raw/base/connected_bot.py +19 -1
- pyrogram/raw/base/connected_bot_star_ref.py +19 -1
- pyrogram/raw/base/contact.py +19 -1
- pyrogram/raw/base/contact_birthday.py +19 -1
- pyrogram/raw/base/contact_status.py +29 -1
- pyrogram/raw/base/contacts/blocked.py +30 -1
- pyrogram/raw/base/contacts/contact_birthdays.py +29 -1
- pyrogram/raw/base/contacts/contacts.py +30 -1
- pyrogram/raw/base/contacts/found.py +29 -1
- pyrogram/raw/base/contacts/imported_contacts.py +29 -1
- pyrogram/raw/base/contacts/resolved_peer.py +30 -1
- pyrogram/raw/base/contacts/sponsored_peers.py +30 -1
- pyrogram/raw/base/contacts/top_peers.py +31 -1
- pyrogram/raw/base/data_json.py +31 -1
- pyrogram/raw/base/dc_option.py +19 -1
- pyrogram/raw/base/default_history_ttl.py +29 -1
- pyrogram/raw/base/destroy_auth_key_res.py +31 -1
- pyrogram/raw/base/destroy_session_res.py +30 -1
- pyrogram/raw/base/dialog.py +21 -1
- pyrogram/raw/base/dialog_filter.py +21 -1
- pyrogram/raw/base/dialog_filter_suggested.py +29 -1
- pyrogram/raw/base/dialog_peer.py +31 -1
- pyrogram/raw/base/disallowed_gifts_settings.py +19 -1
- pyrogram/raw/base/document.py +33 -1
- pyrogram/raw/base/document_attribute.py +26 -1
- pyrogram/raw/base/draft_message.py +20 -1
- pyrogram/raw/base/email_verification.py +21 -1
- pyrogram/raw/base/email_verify_purpose.py +21 -1
- pyrogram/raw/base/emoji_group.py +21 -1
- pyrogram/raw/base/emoji_keyword.py +20 -1
- pyrogram/raw/base/emoji_keywords_difference.py +30 -1
- pyrogram/raw/base/emoji_language.py +29 -1
- pyrogram/raw/base/emoji_list.py +34 -1
- pyrogram/raw/base/emoji_status.py +22 -1
- pyrogram/raw/base/emoji_url.py +29 -1
- pyrogram/raw/base/encrypted_chat.py +34 -1
- pyrogram/raw/base/encrypted_file.py +30 -1
- pyrogram/raw/base/encrypted_message.py +20 -1
- pyrogram/raw/base/ephemeral_message.py +46 -0
- pyrogram/raw/base/exported_chat_invite.py +30 -1
- pyrogram/raw/base/exported_chatlist_invite.py +29 -1
- pyrogram/raw/base/exported_contact_token.py +29 -1
- pyrogram/raw/base/exported_message_link.py +29 -1
- pyrogram/raw/base/exported_story_link.py +29 -1
- pyrogram/raw/base/fact_check.py +29 -1
- pyrogram/raw/base/file_hash.py +31 -1
- pyrogram/raw/base/folder.py +19 -1
- pyrogram/raw/base/folder_peer.py +19 -1
- pyrogram/raw/base/forum_topic.py +20 -1
- pyrogram/raw/base/found_story.py +19 -1
- pyrogram/raw/base/fragment/collectible_info.py +29 -1
- pyrogram/raw/base/game.py +19 -1
- pyrogram/raw/base/geo_point.py +20 -1
- pyrogram/raw/base/geo_point_address.py +19 -1
- pyrogram/raw/base/global_privacy_settings.py +30 -1
- pyrogram/raw/base/group_call.py +20 -1
- pyrogram/raw/base/group_call_donor.py +46 -0
- pyrogram/raw/base/group_call_message.py +46 -0
- pyrogram/raw/base/group_call_participant.py +19 -1
- pyrogram/raw/base/group_call_participant_video.py +19 -1
- pyrogram/raw/base/group_call_participant_video_source_group.py +19 -1
- pyrogram/raw/base/group_call_stream_channel.py +19 -1
- pyrogram/raw/base/help/app_config.py +30 -1
- pyrogram/raw/base/help/app_update.py +30 -1
- pyrogram/raw/base/help/config_simple.py +19 -1
- pyrogram/raw/base/help/countries_list.py +30 -1
- pyrogram/raw/base/help/country.py +19 -1
- pyrogram/raw/base/help/country_code.py +19 -1
- pyrogram/raw/base/help/deep_link_info.py +30 -1
- pyrogram/raw/base/help/invite_text.py +29 -1
- pyrogram/raw/base/help/passport_config.py +30 -1
- pyrogram/raw/base/help/peer_color_option.py +19 -1
- pyrogram/raw/base/help/peer_color_set.py +20 -1
- pyrogram/raw/base/help/peer_colors.py +31 -1
- pyrogram/raw/base/help/premium_promo.py +29 -1
- pyrogram/raw/base/help/promo_data.py +30 -1
- pyrogram/raw/base/help/recent_me_urls.py +29 -1
- pyrogram/raw/base/help/support.py +29 -1
- pyrogram/raw/base/help/support_name.py +29 -1
- pyrogram/raw/base/help/terms_of_service.py +19 -1
- pyrogram/raw/base/help/terms_of_service_update.py +30 -1
- pyrogram/raw/base/help/timezones_list.py +30 -1
- pyrogram/raw/base/help/user_info.py +31 -1
- pyrogram/raw/base/high_score.py +19 -1
- pyrogram/raw/base/http_wait.py +19 -1
- pyrogram/raw/base/imported_contact.py +19 -1
- pyrogram/raw/base/inline_bot_switch_pm.py +19 -1
- pyrogram/raw/base/inline_bot_web_view.py +19 -1
- pyrogram/raw/base/inline_query_peer_type.py +24 -1
- pyrogram/raw/base/input_ai_compose_tone.py +49 -0
- pyrogram/raw/base/input_app_event.py +19 -1
- pyrogram/raw/base/input_bot_app.py +20 -1
- pyrogram/raw/base/input_bot_inline_message.py +27 -1
- pyrogram/raw/base/input_bot_inline_message_id.py +30 -1
- pyrogram/raw/base/input_bot_inline_result.py +22 -1
- pyrogram/raw/base/input_business_away_message.py +19 -1
- pyrogram/raw/base/input_business_bot_recipients.py +19 -1
- pyrogram/raw/base/input_business_chat_link.py +19 -1
- pyrogram/raw/base/input_business_greeting_message.py +19 -1
- pyrogram/raw/base/input_business_intro.py +19 -1
- pyrogram/raw/base/input_business_recipients.py +19 -1
- pyrogram/raw/base/input_channel.py +21 -1
- pyrogram/raw/base/input_chat_photo.py +21 -1
- pyrogram/raw/base/input_chat_theme.py +48 -0
- pyrogram/raw/base/input_chatlist.py +19 -1
- pyrogram/raw/base/input_check_password_srp.py +20 -1
- pyrogram/raw/base/input_client_proxy.py +19 -1
- pyrogram/raw/base/input_collectible.py +20 -1
- pyrogram/raw/base/input_contact.py +19 -1
- pyrogram/raw/base/input_dialog_peer.py +21 -1
- pyrogram/raw/base/input_document.py +20 -1
- pyrogram/raw/base/input_encrypted_chat.py +19 -1
- pyrogram/raw/base/input_encrypted_file.py +22 -1
- pyrogram/raw/base/input_file.py +21 -1
- pyrogram/raw/base/input_file_location.py +28 -1
- pyrogram/raw/base/input_folder_peer.py +19 -1
- pyrogram/raw/base/input_game.py +20 -1
- pyrogram/raw/base/input_geo_point.py +20 -1
- pyrogram/raw/base/input_group_call.py +21 -1
- pyrogram/raw/base/input_invoice.py +33 -1
- pyrogram/raw/base/input_media.py +38 -1
- pyrogram/raw/base/input_message.py +22 -1
- pyrogram/raw/base/input_message_read_metric.py +46 -0
- pyrogram/raw/base/input_notify_peer.py +24 -1
- pyrogram/raw/base/input_passkey_credential.py +47 -0
- pyrogram/raw/base/input_passkey_response.py +47 -0
- pyrogram/raw/base/input_payment_credentials.py +22 -1
- pyrogram/raw/base/input_peer.py +25 -1
- pyrogram/raw/base/input_peer_notify_settings.py +19 -1
- pyrogram/raw/base/input_phone_call.py +19 -1
- pyrogram/raw/base/input_photo.py +20 -1
- pyrogram/raw/base/input_privacy_key.py +32 -1
- pyrogram/raw/base/input_privacy_rule.py +30 -1
- pyrogram/raw/base/input_quick_reply_shortcut.py +20 -1
- pyrogram/raw/base/input_reply_to.py +22 -1
- pyrogram/raw/base/input_rich_file.py +47 -0
- pyrogram/raw/base/input_rich_message.py +48 -0
- pyrogram/raw/base/input_saved_star_gift.py +21 -1
- pyrogram/raw/base/input_secure_file.py +20 -1
- pyrogram/raw/base/input_secure_value.py +19 -1
- pyrogram/raw/base/input_single_media.py +19 -1
- pyrogram/raw/base/input_star_gift_auction.py +47 -0
- pyrogram/raw/base/input_stars_transaction.py +19 -1
- pyrogram/raw/base/input_sticker_set.py +30 -1
- pyrogram/raw/base/input_sticker_set_item.py +19 -1
- pyrogram/raw/base/input_stickered_media.py +20 -1
- pyrogram/raw/base/input_store_payment_purpose.py +26 -1
- pyrogram/raw/base/input_theme.py +20 -1
- pyrogram/raw/base/input_theme_settings.py +19 -1
- pyrogram/raw/base/input_user.py +22 -1
- pyrogram/raw/base/input_wall_paper.py +21 -1
- pyrogram/raw/base/input_web_document.py +19 -1
- pyrogram/raw/base/input_web_file_location.py +21 -1
- pyrogram/raw/base/invoice.py +19 -1
- pyrogram/raw/base/ip_port.py +20 -1
- pyrogram/raw/base/join_chat_bot_result.py +49 -0
- pyrogram/raw/base/json_object_value.py +19 -1
- pyrogram/raw/base/json_value.py +24 -1
- pyrogram/raw/base/keyboard_button.py +46 -1
- pyrogram/raw/base/keyboard_button_row.py +19 -1
- pyrogram/raw/base/keyboard_button_style.py +46 -0
- pyrogram/raw/base/labeled_price.py +19 -1
- pyrogram/raw/base/lang_pack_difference.py +30 -1
- pyrogram/raw/base/lang_pack_language.py +30 -1
- pyrogram/raw/base/lang_pack_string.py +31 -1
- pyrogram/raw/base/mask_coords.py +19 -1
- pyrogram/raw/base/media_area.py +27 -1
- pyrogram/raw/base/media_area_coordinates.py +19 -1
- pyrogram/raw/base/message.py +21 -1
- pyrogram/raw/base/message_action.py +86 -1
- pyrogram/raw/base/message_entity.py +43 -1
- pyrogram/raw/base/message_extended_media.py +20 -1
- pyrogram/raw/base/message_fwd_header.py +19 -1
- pyrogram/raw/base/message_media.py +48 -1
- pyrogram/raw/base/message_peer_reaction.py +19 -1
- pyrogram/raw/base/message_peer_vote.py +21 -1
- pyrogram/raw/base/message_range.py +29 -1
- pyrogram/raw/base/message_reactions.py +19 -1
- pyrogram/raw/base/message_reactor.py +19 -1
- pyrogram/raw/base/message_replies.py +19 -1
- pyrogram/raw/base/message_reply_header.py +20 -1
- pyrogram/raw/base/message_report_option.py +19 -1
- pyrogram/raw/base/message_views.py +19 -1
- pyrogram/raw/base/messages/__init__.py +6 -2
- pyrogram/raw/base/messages/affected_found_messages.py +29 -1
- pyrogram/raw/base/messages/affected_history.py +36 -1
- pyrogram/raw/base/messages/affected_messages.py +32 -1
- pyrogram/raw/base/messages/all_stickers.py +32 -1
- pyrogram/raw/base/messages/archived_stickers.py +29 -1
- pyrogram/raw/base/messages/available_effects.py +30 -1
- pyrogram/raw/base/messages/available_reactions.py +30 -1
- pyrogram/raw/base/messages/bot_app.py +29 -1
- pyrogram/raw/base/messages/bot_callback_answer.py +30 -1
- pyrogram/raw/base/messages/bot_prepared_inline_message.py +29 -1
- pyrogram/raw/base/messages/bot_results.py +29 -1
- pyrogram/raw/base/messages/chat_admins_with_invites.py +29 -1
- pyrogram/raw/base/messages/chat_full.py +30 -1
- pyrogram/raw/base/messages/chat_invite_importers.py +29 -1
- pyrogram/raw/base/messages/chat_invite_join_result.py +58 -0
- pyrogram/raw/base/messages/chats.py +38 -1
- pyrogram/raw/base/messages/checked_history_import_peer.py +29 -1
- pyrogram/raw/base/messages/composed_message_with_ai.py +56 -0
- pyrogram/raw/base/messages/composed_rich_message_with_ai.py +56 -0
- pyrogram/raw/base/messages/dh_config.py +30 -1
- pyrogram/raw/base/messages/dialog_filters.py +29 -1
- pyrogram/raw/base/messages/dialogs.py +31 -1
- pyrogram/raw/base/messages/discussion_message.py +29 -1
- pyrogram/raw/base/messages/emoji_game_info.py +57 -0
- pyrogram/raw/base/messages/emoji_game_outcome.py +46 -0
- pyrogram/raw/base/messages/emoji_groups.py +33 -1
- pyrogram/raw/base/messages/exported_chat_invite.py +31 -1
- pyrogram/raw/base/messages/exported_chat_invites.py +29 -1
- pyrogram/raw/base/messages/faved_stickers.py +30 -1
- pyrogram/raw/base/messages/featured_stickers.py +32 -1
- pyrogram/raw/base/messages/forum_topics.py +30 -1
- pyrogram/raw/base/messages/found_sticker_sets.py +31 -1
- pyrogram/raw/base/messages/found_stickers.py +30 -1
- pyrogram/raw/base/messages/high_scores.py +30 -1
- pyrogram/raw/base/messages/history_import.py +29 -1
- pyrogram/raw/base/messages/history_import_parsed.py +29 -1
- pyrogram/raw/base/messages/inactive_chats.py +29 -1
- pyrogram/raw/base/messages/invited_users.py +31 -1
- pyrogram/raw/base/messages/message_edit_data.py +29 -1
- pyrogram/raw/base/messages/message_reactions_list.py +29 -1
- pyrogram/raw/base/messages/message_views.py +29 -1
- pyrogram/raw/base/messages/messages.py +49 -1
- pyrogram/raw/base/messages/my_stickers.py +29 -1
- pyrogram/raw/base/messages/peer_dialogs.py +30 -1
- pyrogram/raw/base/messages/peer_settings.py +29 -1
- pyrogram/raw/base/messages/prepared_inline_message.py +29 -1
- pyrogram/raw/base/messages/quick_replies.py +30 -1
- pyrogram/raw/base/messages/reactions.py +32 -1
- pyrogram/raw/base/messages/recent_stickers.py +30 -1
- pyrogram/raw/base/messages/saved_dialogs.py +33 -1
- pyrogram/raw/base/messages/saved_gifs.py +30 -1
- pyrogram/raw/base/messages/saved_reaction_tags.py +30 -1
- pyrogram/raw/base/messages/search_counter.py +29 -1
- pyrogram/raw/base/messages/search_results_calendar.py +29 -1
- pyrogram/raw/base/messages/search_results_positions.py +29 -1
- pyrogram/raw/base/messages/sent_encrypted_message.py +32 -1
- pyrogram/raw/base/messages/sponsored_messages.py +30 -1
- pyrogram/raw/base/messages/sticker_set.py +38 -1
- pyrogram/raw/base/messages/sticker_set_install_result.py +30 -1
- pyrogram/raw/base/messages/stickers.py +30 -1
- pyrogram/raw/base/messages/transcribed_audio.py +29 -1
- pyrogram/raw/base/messages/translated_rich_message.py +56 -0
- pyrogram/raw/base/messages/translated_text.py +29 -1
- pyrogram/raw/base/messages/votes_list.py +29 -1
- pyrogram/raw/base/messages/web_page.py +29 -1
- pyrogram/raw/base/messages/web_page_preview.py +29 -1
- pyrogram/raw/base/messages_filter.py +36 -1
- pyrogram/raw/base/missing_invitee.py +19 -1
- pyrogram/raw/base/msg_detailed_info.py +20 -1
- pyrogram/raw/base/msg_resend_req.py +20 -1
- pyrogram/raw/base/msgs_ack.py +19 -1
- pyrogram/raw/base/msgs_all_info.py +19 -1
- pyrogram/raw/base/msgs_state_info.py +19 -1
- pyrogram/raw/base/msgs_state_req.py +19 -1
- pyrogram/raw/base/my_boost.py +19 -1
- pyrogram/raw/base/nearest_dc.py +29 -1
- pyrogram/raw/base/new_session.py +19 -1
- pyrogram/raw/base/notification_sound.py +22 -1
- pyrogram/raw/base/notify_peer.py +24 -1
- pyrogram/raw/base/outbox_read_date.py +29 -1
- pyrogram/raw/base/page.py +19 -1
- pyrogram/raw/base/page_block.py +57 -1
- pyrogram/raw/base/page_caption.py +19 -1
- pyrogram/raw/base/page_list_item.py +20 -1
- pyrogram/raw/base/page_list_ordered_item.py +20 -1
- pyrogram/raw/base/page_related_article.py +19 -1
- pyrogram/raw/base/page_table_cell.py +19 -1
- pyrogram/raw/base/page_table_row.py +19 -1
- pyrogram/raw/base/paid_reaction_privacy.py +21 -1
- pyrogram/raw/base/passkey.py +56 -0
- pyrogram/raw/base/password_kdf_algo.py +20 -1
- pyrogram/raw/base/payment_charge.py +19 -1
- pyrogram/raw/base/payment_form_method.py +19 -1
- pyrogram/raw/base/payment_requested_info.py +19 -1
- pyrogram/raw/base/payment_saved_credentials.py +19 -1
- pyrogram/raw/base/payments/__init__.py +7 -0
- pyrogram/raw/base/payments/bank_card_data.py +29 -1
- pyrogram/raw/base/payments/check_can_send_gift_result.py +57 -0
- pyrogram/raw/base/payments/checked_gift_code.py +29 -1
- pyrogram/raw/base/payments/connected_star_ref_bots.py +32 -1
- pyrogram/raw/base/payments/exported_invoice.py +29 -1
- pyrogram/raw/base/payments/giveaway_info.py +30 -1
- pyrogram/raw/base/payments/payment_form.py +31 -1
- pyrogram/raw/base/payments/payment_receipt.py +30 -1
- pyrogram/raw/base/payments/payment_result.py +31 -1
- pyrogram/raw/base/payments/resale_star_gifts.py +29 -1
- pyrogram/raw/base/payments/saved_info.py +29 -1
- pyrogram/raw/base/payments/saved_star_gifts.py +31 -1
- pyrogram/raw/base/payments/star_gift_active_auctions.py +57 -0
- pyrogram/raw/base/payments/star_gift_auction_acquired_gifts.py +56 -0
- pyrogram/raw/base/payments/star_gift_auction_state.py +56 -0
- pyrogram/raw/base/payments/star_gift_collections.py +57 -0
- pyrogram/raw/base/payments/star_gift_upgrade_attributes.py +56 -0
- pyrogram/raw/base/payments/star_gift_upgrade_preview.py +29 -1
- pyrogram/raw/base/payments/star_gift_withdrawal_url.py +29 -1
- pyrogram/raw/base/payments/star_gifts.py +30 -1
- pyrogram/raw/base/payments/stars_revenue_ads_account_url.py +29 -1
- pyrogram/raw/base/payments/stars_revenue_stats.py +29 -1
- pyrogram/raw/base/payments/stars_revenue_withdrawal_url.py +29 -1
- pyrogram/raw/base/payments/stars_status.py +32 -1
- pyrogram/raw/base/payments/suggested_star_ref_bots.py +29 -1
- pyrogram/raw/base/payments/unique_star_gift.py +29 -1
- pyrogram/raw/base/payments/unique_star_gift_value_info.py +56 -0
- pyrogram/raw/base/payments/validated_requested_info.py +29 -1
- pyrogram/raw/base/peer.py +31 -1
- pyrogram/raw/base/peer_blocked.py +19 -1
- pyrogram/raw/base/peer_color.py +21 -1
- pyrogram/raw/base/peer_located.py +20 -1
- pyrogram/raw/base/peer_notify_settings.py +29 -1
- pyrogram/raw/base/peer_settings.py +19 -1
- pyrogram/raw/base/peer_stories.py +19 -1
- pyrogram/raw/base/pending_suggestion.py +19 -1
- pyrogram/raw/base/phone/__init__.py +1 -0
- pyrogram/raw/base/phone/exported_group_call_invite.py +29 -1
- pyrogram/raw/base/phone/group_call.py +29 -1
- pyrogram/raw/base/phone/group_call_stars.py +56 -0
- pyrogram/raw/base/phone/group_call_stream_channels.py +29 -1
- pyrogram/raw/base/phone/group_call_stream_rtmp_url.py +29 -1
- pyrogram/raw/base/phone/group_participants.py +29 -1
- pyrogram/raw/base/phone/join_as_peers.py +29 -1
- pyrogram/raw/base/phone/phone_call.py +31 -1
- pyrogram/raw/base/phone_call.py +24 -1
- pyrogram/raw/base/phone_call_discard_reason.py +23 -1
- pyrogram/raw/base/phone_call_protocol.py +19 -1
- pyrogram/raw/base/phone_connection.py +20 -1
- pyrogram/raw/base/photo.py +20 -1
- pyrogram/raw/base/photo_size.py +24 -1
- pyrogram/raw/base/photos/photo.py +31 -1
- pyrogram/raw/base/photos/photos.py +30 -1
- pyrogram/raw/base/poll.py +19 -1
- pyrogram/raw/base/poll_answer.py +20 -1
- pyrogram/raw/base/poll_answer_voters.py +19 -1
- pyrogram/raw/base/poll_results.py +19 -1
- pyrogram/raw/base/pong.py +30 -1
- pyrogram/raw/base/popular_contact.py +19 -1
- pyrogram/raw/base/post_address.py +19 -1
- pyrogram/raw/base/post_interaction_counters.py +20 -1
- pyrogram/raw/base/pq_inner_data.py +22 -1
- pyrogram/raw/base/premium/boosts_list.py +30 -1
- pyrogram/raw/base/premium/boosts_status.py +29 -1
- pyrogram/raw/base/premium/my_boosts.py +30 -1
- pyrogram/raw/base/premium_gift_code_option.py +29 -1
- pyrogram/raw/base/premium_subscription_option.py +19 -1
- pyrogram/raw/base/prepaid_giveaway.py +20 -1
- pyrogram/raw/base/privacy_key.py +32 -1
- pyrogram/raw/base/privacy_rule.py +30 -1
- pyrogram/raw/base/profile_tab.py +53 -0
- pyrogram/raw/base/public_forward.py +20 -1
- pyrogram/raw/base/quick_reply.py +19 -1
- pyrogram/raw/base/reaction.py +22 -1
- pyrogram/raw/base/reaction_count.py +19 -1
- pyrogram/raw/base/reaction_notifications_from.py +20 -1
- pyrogram/raw/base/reactions_notify_settings.py +30 -1
- pyrogram/raw/base/read_participant_date.py +29 -1
- pyrogram/raw/base/received_notify_message.py +29 -1
- pyrogram/raw/base/recent_me_url.py +23 -1
- pyrogram/raw/base/recent_story.py +56 -0
- pyrogram/raw/base/reply_markup.py +22 -1
- pyrogram/raw/base/report_reason.py +28 -1
- pyrogram/raw/base/report_result.py +33 -1
- pyrogram/raw/base/request_peer_type.py +22 -1
- pyrogram/raw/base/requested_peer.py +21 -1
- pyrogram/raw/base/requirement_to_contact.py +31 -1
- pyrogram/raw/base/res_pq.py +30 -1
- pyrogram/raw/base/restriction_reason.py +19 -1
- pyrogram/raw/base/rich_message.py +46 -0
- pyrogram/raw/base/rich_text.py +48 -1
- pyrogram/raw/base/rpc_drop_answer.py +31 -1
- pyrogram/raw/base/rpc_error.py +19 -1
- pyrogram/raw/base/rpc_result.py +19 -1
- pyrogram/raw/base/saved_contact.py +29 -1
- pyrogram/raw/base/saved_dialog.py +20 -1
- pyrogram/raw/base/saved_reaction_tag.py +19 -1
- pyrogram/raw/base/saved_star_gift.py +19 -1
- pyrogram/raw/base/search_posts_flood.py +56 -0
- pyrogram/raw/base/search_results_calendar_period.py +19 -1
- pyrogram/raw/base/search_results_position.py +19 -1
- pyrogram/raw/base/secure_credentials_encrypted.py +19 -1
- pyrogram/raw/base/secure_data.py +19 -1
- pyrogram/raw/base/secure_file.py +20 -1
- pyrogram/raw/base/secure_password_kdf_algo.py +21 -1
- pyrogram/raw/base/secure_plain_data.py +20 -1
- pyrogram/raw/base/secure_required_type.py +20 -1
- pyrogram/raw/base/secure_secret_settings.py +19 -1
- pyrogram/raw/base/secure_value.py +31 -1
- pyrogram/raw/base/secure_value_error.py +27 -1
- pyrogram/raw/base/secure_value_hash.py +19 -1
- pyrogram/raw/base/secure_value_type.py +31 -1
- pyrogram/raw/base/send_as_peer.py +19 -1
- pyrogram/raw/base/send_message_action.py +39 -1
- pyrogram/raw/base/server_dh_inner_data.py +19 -1
- pyrogram/raw/base/server_dh_params.py +30 -1
- pyrogram/raw/base/set_client_dh_params_answer.py +31 -1
- pyrogram/raw/base/shipping_option.py +19 -1
- pyrogram/raw/base/sms_job.py +29 -1
- pyrogram/raw/base/smsjobs/eligibility_to_join.py +29 -1
- pyrogram/raw/base/smsjobs/status.py +29 -1
- pyrogram/raw/base/sponsored_message.py +19 -1
- pyrogram/raw/base/sponsored_message_report_option.py +19 -1
- pyrogram/raw/base/sponsored_peer.py +19 -1
- pyrogram/raw/base/star_gift.py +20 -1
- pyrogram/raw/base/star_gift_active_auction_state.py +46 -0
- pyrogram/raw/base/star_gift_attribute.py +22 -1
- pyrogram/raw/base/star_gift_attribute_counter.py +19 -1
- pyrogram/raw/base/star_gift_attribute_id.py +21 -1
- pyrogram/raw/base/star_gift_attribute_rarity.py +50 -0
- pyrogram/raw/base/star_gift_auction_acquired_gift.py +46 -0
- pyrogram/raw/base/star_gift_auction_round.py +47 -0
- pyrogram/raw/base/star_gift_auction_state.py +48 -0
- pyrogram/raw/base/star_gift_auction_user_state.py +46 -0
- pyrogram/raw/base/star_gift_background.py +46 -0
- pyrogram/raw/base/star_gift_collection.py +57 -0
- pyrogram/raw/base/star_gift_upgrade_price.py +46 -0
- pyrogram/raw/base/star_ref_program.py +29 -1
- pyrogram/raw/base/stars_amount.py +20 -1
- pyrogram/raw/base/stars_gift_option.py +29 -1
- pyrogram/raw/base/stars_giveaway_option.py +29 -1
- pyrogram/raw/base/stars_giveaway_winners_option.py +19 -1
- pyrogram/raw/base/stars_rating.py +46 -0
- pyrogram/raw/base/stars_revenue_status.py +19 -1
- pyrogram/raw/base/stars_subscription.py +19 -1
- pyrogram/raw/base/stars_subscription_pricing.py +19 -1
- pyrogram/raw/base/stars_topup_option.py +29 -1
- pyrogram/raw/base/stars_transaction.py +19 -1
- pyrogram/raw/base/stars_transaction_peer.py +26 -1
- pyrogram/raw/base/stats/__init__.py +1 -3
- pyrogram/raw/base/stats/broadcast_stats.py +29 -1
- pyrogram/raw/base/stats/megagroup_stats.py +29 -1
- pyrogram/raw/base/stats/message_stats.py +29 -1
- pyrogram/raw/base/stats/poll_stats.py +56 -0
- pyrogram/raw/base/stats/public_forwards.py +30 -1
- pyrogram/raw/base/stats/story_stats.py +29 -1
- pyrogram/raw/base/stats_abs_value_and_prev.py +19 -1
- pyrogram/raw/base/stats_date_range_days.py +19 -1
- pyrogram/raw/base/stats_graph.py +31 -1
- pyrogram/raw/base/stats_group_top_admin.py +19 -1
- pyrogram/raw/base/stats_group_top_inviter.py +19 -1
- pyrogram/raw/base/stats_group_top_poster.py +19 -1
- pyrogram/raw/base/stats_percent_value.py +19 -1
- pyrogram/raw/base/stats_url.py +19 -1
- pyrogram/raw/base/sticker_keyword.py +19 -1
- pyrogram/raw/base/sticker_pack.py +19 -1
- pyrogram/raw/base/sticker_set.py +19 -1
- pyrogram/raw/base/sticker_set_covered.py +32 -1
- pyrogram/raw/base/stickers/suggested_short_name.py +29 -1
- pyrogram/raw/base/storage/file_type.py +28 -1
- pyrogram/raw/base/stories/__init__.py +1 -0
- pyrogram/raw/base/stories/albums.py +57 -0
- pyrogram/raw/base/stories/all_stories.py +30 -1
- pyrogram/raw/base/stories/can_send_story_count.py +29 -1
- pyrogram/raw/base/stories/found_stories.py +29 -1
- pyrogram/raw/base/stories/peer_stories.py +29 -1
- pyrogram/raw/base/stories/stories.py +32 -1
- pyrogram/raw/base/stories/story_reactions_list.py +29 -1
- pyrogram/raw/base/stories/story_views.py +29 -1
- pyrogram/raw/base/stories/story_views_list.py +29 -1
- pyrogram/raw/base/stories_stealth_mode.py +19 -1
- pyrogram/raw/base/story_album.py +57 -0
- pyrogram/raw/base/story_fwd_header.py +19 -1
- pyrogram/raw/base/story_item.py +21 -1
- pyrogram/raw/base/story_reaction.py +21 -1
- pyrogram/raw/base/story_view.py +21 -1
- pyrogram/raw/base/story_views.py +19 -1
- pyrogram/raw/base/suggested_post.py +46 -0
- pyrogram/raw/base/text_with_entities.py +29 -1
- pyrogram/raw/base/theme.py +31 -1
- pyrogram/raw/base/theme_settings.py +19 -1
- pyrogram/raw/base/timezone.py +19 -1
- pyrogram/raw/base/todo_completion.py +46 -0
- pyrogram/raw/base/todo_item.py +46 -0
- pyrogram/raw/base/todo_list.py +46 -0
- pyrogram/raw/base/top_peer.py +19 -1
- pyrogram/raw/base/top_peer_category.py +28 -1
- pyrogram/raw/base/top_peer_category_peers.py +19 -1
- pyrogram/raw/base/update.py +183 -1
- pyrogram/raw/base/updates/channel_difference.py +31 -1
- pyrogram/raw/base/updates/difference.py +32 -1
- pyrogram/raw/base/updates/state.py +29 -1
- pyrogram/raw/base/updates_t.py +168 -1
- pyrogram/raw/base/upload/cdn_file.py +30 -1
- pyrogram/raw/base/upload/file.py +30 -1
- pyrogram/raw/base/upload/web_file.py +29 -1
- pyrogram/raw/base/url_auth_result.py +32 -1
- pyrogram/raw/base/user.py +38 -1
- pyrogram/raw/base/user_full.py +19 -1
- pyrogram/raw/base/user_profile_photo.py +20 -1
- pyrogram/raw/base/user_status.py +24 -1
- pyrogram/raw/base/username.py +19 -1
- pyrogram/raw/base/users/__init__.py +1 -0
- pyrogram/raw/base/users/saved_music.py +58 -0
- pyrogram/raw/base/users/user_full.py +29 -1
- pyrogram/raw/base/users/users.py +30 -1
- pyrogram/raw/base/video_size.py +21 -1
- pyrogram/raw/base/wall_paper.py +32 -1
- pyrogram/raw/base/wall_paper_settings.py +19 -1
- pyrogram/raw/base/web_authorization.py +19 -1
- pyrogram/raw/base/web_document.py +20 -1
- pyrogram/raw/base/web_domain_exception.py +46 -0
- pyrogram/raw/base/web_page.py +22 -1
- pyrogram/raw/base/web_page_attribute.py +25 -1
- pyrogram/raw/base/web_view_message_sent.py +29 -1
- pyrogram/raw/base/web_view_result.py +33 -1
- pyrogram/raw/core/tl_object.py +5 -3
- pyrogram/raw/functions/__init__.py +1 -1
- pyrogram/raw/functions/account/__init__.py +14 -1
- pyrogram/raw/functions/account/accept_authorization.py +13 -10
- pyrogram/raw/functions/account/cancel_password_email.py +8 -5
- pyrogram/raw/functions/account/change_authorization_settings.py +12 -9
- pyrogram/raw/functions/account/change_phone.py +11 -8
- pyrogram/raw/functions/account/check_username.py +9 -6
- pyrogram/raw/functions/account/clear_recent_emoji_statuses.py +8 -5
- pyrogram/raw/functions/{contacts/import_card.py → account/confirm_bot_connection.py} +20 -17
- pyrogram/raw/functions/account/confirm_password_email.py +9 -6
- pyrogram/raw/functions/account/confirm_phone.py +10 -7
- pyrogram/raw/functions/account/create_business_chat_link.py +9 -6
- pyrogram/raw/functions/account/create_theme.py +12 -9
- pyrogram/raw/functions/account/decline_password_reset.py +8 -5
- pyrogram/raw/functions/account/delete_account.py +10 -7
- pyrogram/raw/functions/account/delete_auto_save_exceptions.py +8 -5
- pyrogram/raw/functions/account/delete_business_chat_link.py +9 -6
- pyrogram/raw/functions/account/delete_passkey.py +75 -0
- pyrogram/raw/functions/account/delete_secure_value.py +9 -6
- pyrogram/raw/functions/account/delete_web_browser_settings_exceptions.py +70 -0
- pyrogram/raw/functions/account/disable_peer_connected_bot.py +9 -6
- pyrogram/raw/functions/account/edit_business_chat_link.py +10 -7
- pyrogram/raw/functions/account/finish_takeout_session.py +9 -6
- pyrogram/raw/functions/account/get_account_ttl.py +8 -5
- pyrogram/raw/functions/account/get_all_secure_values.py +8 -5
- pyrogram/raw/functions/account/get_authorization_form.py +11 -8
- pyrogram/raw/functions/account/get_authorizations.py +8 -5
- pyrogram/raw/functions/account/get_auto_download_settings.py +8 -5
- pyrogram/raw/functions/account/get_auto_save_settings.py +8 -5
- pyrogram/raw/functions/account/get_bot_business_connection.py +12 -6
- pyrogram/raw/functions/account/get_business_chat_links.py +8 -5
- pyrogram/raw/functions/account/get_channel_default_emoji_statuses.py +9 -6
- pyrogram/raw/functions/account/get_channel_restricted_status_emojis.py +9 -6
- pyrogram/raw/functions/account/get_chat_themes.py +9 -6
- pyrogram/raw/functions/account/get_collectible_emoji_statuses.py +9 -6
- pyrogram/raw/functions/account/get_connected_bots.py +8 -5
- pyrogram/raw/functions/account/get_contact_sign_up_notification.py +8 -5
- pyrogram/raw/functions/account/get_content_settings.py +8 -5
- pyrogram/raw/functions/account/get_default_background_emojis.py +9 -6
- pyrogram/raw/functions/account/get_default_emoji_statuses.py +9 -6
- pyrogram/raw/functions/account/get_default_group_photo_emojis.py +9 -6
- pyrogram/raw/functions/account/get_default_profile_photo_emojis.py +9 -6
- pyrogram/raw/functions/account/get_global_privacy_settings.py +8 -5
- pyrogram/raw/functions/account/get_multi_wall_papers.py +9 -6
- pyrogram/raw/functions/account/get_notify_exceptions.py +11 -8
- pyrogram/raw/functions/account/get_notify_settings.py +9 -6
- pyrogram/raw/functions/account/get_paid_messages_revenue.py +28 -13
- pyrogram/raw/functions/account/get_passkeys.py +70 -0
- pyrogram/raw/functions/account/get_password.py +8 -5
- pyrogram/raw/functions/account/get_password_settings.py +9 -6
- pyrogram/raw/functions/account/get_privacy.py +9 -6
- pyrogram/raw/functions/account/get_reactions_notify_settings.py +8 -5
- pyrogram/raw/functions/account/get_recent_emoji_statuses.py +9 -6
- pyrogram/raw/functions/account/get_saved_music_ids.py +75 -0
- pyrogram/raw/functions/account/get_saved_ringtones.py +9 -6
- pyrogram/raw/functions/account/get_secure_value.py +9 -6
- pyrogram/raw/functions/account/get_theme.py +10 -7
- pyrogram/raw/functions/account/get_themes.py +10 -7
- pyrogram/raw/functions/account/get_tmp_password.py +10 -7
- pyrogram/raw/functions/account/get_unique_gift_chat_themes.py +91 -0
- pyrogram/raw/functions/account/get_wall_paper.py +9 -6
- pyrogram/raw/functions/account/get_wall_papers.py +9 -6
- pyrogram/raw/functions/account/get_web_authorizations.py +8 -5
- pyrogram/raw/functions/{messages/get_all_chats.py → account/get_web_browser_settings.py} +20 -17
- pyrogram/raw/functions/account/init_passkey_registration.py +70 -0
- pyrogram/raw/functions/account/init_takeout_session.py +15 -12
- pyrogram/raw/functions/account/install_theme.py +12 -9
- pyrogram/raw/functions/account/install_wall_paper.py +10 -7
- pyrogram/raw/functions/account/invalidate_sign_in_codes.py +9 -6
- pyrogram/raw/functions/account/register_device.py +14 -11
- pyrogram/raw/functions/account/register_passkey.py +75 -0
- pyrogram/raw/functions/account/reorder_usernames.py +9 -6
- pyrogram/raw/functions/account/report_peer.py +11 -8
- pyrogram/raw/functions/account/report_profile_photo.py +12 -9
- pyrogram/raw/functions/account/resend_password_email.py +8 -5
- pyrogram/raw/functions/account/reset_authorization.py +9 -6
- pyrogram/raw/functions/account/reset_notify_settings.py +8 -5
- pyrogram/raw/functions/account/reset_password.py +8 -5
- pyrogram/raw/functions/account/reset_wall_papers.py +8 -5
- pyrogram/raw/functions/account/reset_web_authorization.py +9 -6
- pyrogram/raw/functions/account/reset_web_authorizations.py +8 -5
- pyrogram/raw/functions/account/resolve_business_chat_link.py +9 -6
- pyrogram/raw/functions/account/save_auto_download_settings.py +11 -8
- pyrogram/raw/functions/account/save_auto_save_settings.py +13 -10
- pyrogram/raw/functions/account/save_music.py +93 -0
- pyrogram/raw/functions/account/save_ringtone.py +10 -7
- pyrogram/raw/functions/account/save_secure_value.py +10 -7
- pyrogram/raw/functions/account/save_theme.py +10 -7
- pyrogram/raw/functions/account/save_wall_paper.py +11 -8
- pyrogram/raw/functions/account/send_change_phone_code.py +10 -7
- pyrogram/raw/functions/account/send_confirm_phone_code.py +10 -7
- pyrogram/raw/functions/account/send_verify_email_code.py +10 -7
- pyrogram/raw/functions/account/send_verify_phone_code.py +10 -7
- pyrogram/raw/functions/account/set_account_ttl.py +9 -6
- pyrogram/raw/functions/account/set_authorization_ttl.py +9 -6
- pyrogram/raw/functions/account/set_contact_sign_up_notification.py +9 -6
- pyrogram/raw/functions/account/set_content_settings.py +9 -6
- pyrogram/raw/functions/account/set_global_privacy_settings.py +9 -6
- pyrogram/raw/functions/account/set_main_profile_tab.py +75 -0
- pyrogram/raw/functions/account/set_privacy.py +10 -7
- pyrogram/raw/functions/account/set_reactions_notify_settings.py +9 -6
- pyrogram/raw/functions/account/toggle_connected_bot_paused.py +10 -7
- pyrogram/raw/functions/account/toggle_no_paid_messages_exception.py +99 -0
- pyrogram/raw/functions/account/toggle_sponsored_messages.py +9 -6
- pyrogram/raw/functions/account/toggle_username.py +10 -7
- pyrogram/raw/functions/account/toggle_web_browser_settings_exception.py +92 -0
- pyrogram/raw/functions/account/unregister_device.py +11 -8
- pyrogram/raw/functions/account/update_birthday.py +9 -6
- pyrogram/raw/functions/account/update_business_away_message.py +9 -6
- pyrogram/raw/functions/account/update_business_greeting_message.py +9 -6
- pyrogram/raw/functions/account/update_business_intro.py +9 -6
- pyrogram/raw/functions/account/update_business_location.py +10 -7
- pyrogram/raw/functions/account/update_business_work_hours.py +10 -6
- pyrogram/raw/functions/account/update_color.py +20 -25
- pyrogram/raw/functions/account/update_connected_bot.py +12 -9
- pyrogram/raw/functions/account/update_device_locked.py +9 -6
- pyrogram/raw/functions/account/update_emoji_status.py +9 -6
- pyrogram/raw/functions/account/update_notify_settings.py +10 -7
- pyrogram/raw/functions/account/update_password_settings.py +10 -7
- pyrogram/raw/functions/account/update_personal_channel.py +9 -6
- pyrogram/raw/functions/account/update_profile.py +11 -8
- pyrogram/raw/functions/account/update_status.py +9 -6
- pyrogram/raw/functions/account/update_theme.py +14 -11
- pyrogram/raw/functions/account/update_username.py +9 -6
- pyrogram/raw/functions/account/update_web_browser_settings.py +81 -0
- pyrogram/raw/functions/account/upload_ringtone.py +11 -8
- pyrogram/raw/functions/account/upload_theme.py +12 -9
- pyrogram/raw/functions/account/upload_wall_paper.py +12 -9
- pyrogram/raw/functions/account/verify_email.py +10 -7
- pyrogram/raw/functions/account/verify_phone.py +11 -8
- pyrogram/raw/{base/broadcast_revenue_transaction.py → functions/aicompose/__init__.py} +7 -4
- pyrogram/raw/functions/aicompose/create_tone.py +99 -0
- pyrogram/raw/functions/aicompose/delete_tone.py +75 -0
- pyrogram/raw/functions/aicompose/get_tone.py +75 -0
- pyrogram/raw/functions/aicompose/get_tone_example.py +83 -0
- pyrogram/raw/functions/aicompose/get_tones.py +75 -0
- pyrogram/raw/functions/aicompose/save_tone.py +83 -0
- pyrogram/raw/functions/aicompose/update_tone.py +113 -0
- pyrogram/raw/functions/auth/__init__.py +3 -0
- pyrogram/raw/functions/auth/accept_login_token.py +9 -6
- pyrogram/raw/functions/auth/bind_temp_auth_key.py +12 -9
- pyrogram/raw/functions/auth/cancel_code.py +10 -7
- pyrogram/raw/functions/auth/check_paid_auth.py +91 -0
- pyrogram/raw/functions/auth/check_password.py +9 -6
- pyrogram/raw/functions/auth/check_recovery_password.py +9 -6
- pyrogram/raw/functions/auth/drop_temp_auth_keys.py +9 -6
- pyrogram/raw/functions/auth/export_authorization.py +9 -6
- pyrogram/raw/functions/auth/export_login_token.py +12 -8
- pyrogram/raw/functions/auth/finish_passkey_login.py +95 -0
- pyrogram/raw/functions/auth/import_authorization.py +10 -7
- pyrogram/raw/functions/auth/import_bot_authorization.py +12 -9
- pyrogram/raw/functions/auth/import_login_token.py +9 -6
- pyrogram/raw/functions/auth/import_web_token_authorization.py +11 -8
- pyrogram/raw/functions/auth/init_passkey_login.py +83 -0
- pyrogram/raw/functions/auth/log_out.py +8 -5
- pyrogram/raw/functions/auth/recover_password.py +10 -7
- pyrogram/raw/functions/auth/report_missing_code.py +11 -8
- pyrogram/raw/functions/auth/request_firebase_sms.py +13 -10
- pyrogram/raw/functions/auth/request_password_recovery.py +8 -5
- pyrogram/raw/functions/auth/resend_code.py +11 -8
- pyrogram/raw/functions/auth/reset_authorizations.py +8 -5
- pyrogram/raw/functions/auth/reset_login_email.py +10 -7
- pyrogram/raw/functions/auth/send_code.py +12 -9
- pyrogram/raw/functions/auth/sign_in.py +12 -9
- pyrogram/raw/functions/auth/sign_up.py +13 -10
- pyrogram/raw/functions/bots/__init__.py +8 -0
- pyrogram/raw/functions/bots/add_preview_media.py +11 -8
- pyrogram/raw/functions/bots/allow_send_message.py +9 -6
- pyrogram/raw/functions/bots/answer_webhook_json_query.py +10 -7
- pyrogram/raw/functions/bots/can_send_message.py +9 -6
- pyrogram/raw/functions/bots/check_download_file_params.py +11 -8
- pyrogram/raw/functions/bots/check_username.py +75 -0
- pyrogram/raw/functions/bots/create_bot.py +99 -0
- pyrogram/raw/functions/bots/delete_preview_media.py +11 -8
- pyrogram/raw/functions/bots/edit_access_settings.py +93 -0
- pyrogram/raw/functions/bots/edit_preview_media.py +12 -9
- pyrogram/raw/functions/bots/export_bot_token.py +83 -0
- pyrogram/raw/functions/bots/get_access_settings.py +75 -0
- pyrogram/raw/functions/bots/get_admined_bots.py +8 -5
- pyrogram/raw/functions/bots/get_bot_commands.py +10 -7
- pyrogram/raw/functions/bots/get_bot_info.py +10 -7
- pyrogram/raw/functions/bots/get_bot_menu_button.py +9 -6
- pyrogram/raw/functions/bots/get_bot_recommendations.py +9 -6
- pyrogram/raw/functions/bots/get_popular_app_bots.py +10 -7
- pyrogram/raw/functions/bots/get_preview_info.py +10 -7
- pyrogram/raw/functions/bots/get_preview_medias.py +9 -6
- pyrogram/raw/functions/bots/get_requested_web_view_button.py +83 -0
- pyrogram/raw/functions/bots/invoke_web_view_custom_method.py +11 -8
- pyrogram/raw/functions/bots/reorder_preview_medias.py +11 -8
- pyrogram/raw/functions/bots/reorder_usernames.py +10 -7
- pyrogram/raw/functions/{payments/request_recurring_payment.py → bots/request_web_view_button.py} +22 -27
- pyrogram/raw/functions/bots/reset_bot_commands.py +10 -7
- pyrogram/raw/functions/bots/send_custom_request.py +10 -7
- pyrogram/raw/functions/bots/set_bot_broadcast_default_admin_rights.py +9 -6
- pyrogram/raw/functions/bots/set_bot_commands.py +11 -8
- pyrogram/raw/functions/bots/set_bot_group_default_admin_rights.py +9 -6
- pyrogram/raw/functions/bots/set_bot_info.py +13 -10
- pyrogram/raw/functions/bots/set_bot_menu_button.py +10 -7
- pyrogram/raw/functions/bots/set_custom_verification.py +12 -9
- pyrogram/raw/functions/bots/set_join_chat_results.py +83 -0
- pyrogram/raw/functions/bots/toggle_user_emoji_status_permission.py +10 -7
- pyrogram/raw/functions/bots/toggle_username.py +11 -8
- pyrogram/raw/functions/bots/update_star_ref_program.py +11 -8
- pyrogram/raw/functions/bots/update_user_emoji_status.py +10 -7
- pyrogram/raw/functions/channels/__init__.py +3 -8
- pyrogram/raw/functions/channels/check_search_posts_flood.py +78 -0
- pyrogram/raw/functions/channels/check_username.py +10 -7
- pyrogram/raw/functions/channels/convert_to_gigagroup.py +9 -6
- pyrogram/raw/functions/channels/create_channel.py +17 -14
- pyrogram/raw/functions/channels/deactivate_all_usernames.py +9 -6
- pyrogram/raw/functions/channels/delete_channel.py +9 -6
- pyrogram/raw/functions/channels/delete_history.py +11 -8
- pyrogram/raw/functions/channels/delete_messages.py +10 -7
- pyrogram/raw/functions/channels/delete_participant_history.py +10 -7
- pyrogram/raw/functions/channels/edit_admin.py +25 -19
- pyrogram/raw/functions/channels/edit_banned.py +11 -8
- pyrogram/raw/functions/channels/edit_location.py +11 -8
- pyrogram/raw/functions/channels/edit_photo.py +10 -7
- pyrogram/raw/functions/channels/edit_title.py +10 -7
- pyrogram/raw/functions/channels/export_message_link.py +12 -9
- pyrogram/raw/functions/channels/get_admin_log.py +15 -12
- pyrogram/raw/functions/channels/get_admined_public_channels.py +19 -10
- pyrogram/raw/functions/channels/get_channel_recommendations.py +9 -6
- pyrogram/raw/functions/channels/get_channels.py +9 -6
- pyrogram/raw/functions/channels/get_full_channel.py +9 -6
- pyrogram/raw/functions/channels/get_groups_for_discussion.py +8 -5
- pyrogram/raw/functions/channels/get_inactive_channels.py +8 -5
- pyrogram/raw/functions/channels/get_left_channels.py +9 -6
- pyrogram/raw/functions/channels/get_message_author.py +83 -0
- pyrogram/raw/functions/channels/get_messages.py +10 -7
- pyrogram/raw/functions/channels/get_participant.py +10 -7
- pyrogram/raw/functions/channels/get_participants.py +13 -10
- pyrogram/raw/functions/channels/get_send_as.py +19 -10
- pyrogram/raw/functions/channels/invite_to_channel.py +10 -7
- pyrogram/raw/functions/channels/join_channel.py +12 -9
- pyrogram/raw/functions/channels/leave_channel.py +9 -6
- pyrogram/raw/functions/channels/read_history.py +10 -7
- pyrogram/raw/functions/channels/read_message_contents.py +10 -7
- pyrogram/raw/functions/channels/reorder_usernames.py +10 -7
- pyrogram/raw/functions/channels/report_anti_spam_false_positive.py +10 -7
- pyrogram/raw/functions/channels/report_spam.py +11 -8
- pyrogram/raw/functions/channels/restrict_sponsored_messages.py +10 -7
- pyrogram/raw/functions/channels/search_posts.py +46 -22
- pyrogram/raw/functions/channels/set_boosts_to_unblock_restrictions.py +10 -7
- pyrogram/raw/functions/channels/set_discussion_group.py +10 -7
- pyrogram/raw/functions/channels/set_emoji_stickers.py +10 -7
- pyrogram/raw/functions/channels/set_main_profile_tab.py +83 -0
- pyrogram/raw/functions/channels/set_stickers.py +10 -7
- pyrogram/raw/functions/channels/toggle_anti_spam.py +10 -7
- pyrogram/raw/functions/channels/toggle_autotranslation.py +10 -7
- pyrogram/raw/functions/channels/toggle_forum.py +23 -12
- pyrogram/raw/functions/channels/toggle_join_request.py +34 -13
- pyrogram/raw/functions/channels/toggle_join_to_send.py +10 -7
- pyrogram/raw/functions/channels/toggle_participants_hidden.py +10 -7
- pyrogram/raw/functions/channels/toggle_pre_history_hidden.py +10 -7
- pyrogram/raw/functions/channels/toggle_signatures.py +11 -8
- pyrogram/raw/functions/channels/toggle_slow_mode.py +10 -7
- pyrogram/raw/functions/channels/toggle_username.py +11 -8
- pyrogram/raw/functions/channels/toggle_view_forum_as_messages.py +10 -7
- pyrogram/raw/functions/channels/update_color.py +12 -9
- pyrogram/raw/functions/channels/update_emoji_status.py +10 -7
- pyrogram/raw/functions/channels/update_paid_messages_price.py +25 -14
- pyrogram/raw/functions/channels/update_username.py +10 -7
- pyrogram/raw/functions/chatlists/check_chatlist_invite.py +9 -6
- pyrogram/raw/functions/chatlists/delete_exported_invite.py +10 -7
- pyrogram/raw/functions/chatlists/edit_exported_invite.py +15 -18
- pyrogram/raw/functions/chatlists/export_chatlist_invite.py +11 -8
- pyrogram/raw/functions/chatlists/get_chatlist_updates.py +9 -6
- pyrogram/raw/functions/chatlists/get_exported_invites.py +9 -6
- pyrogram/raw/functions/chatlists/get_leave_chatlist_suggestions.py +9 -6
- pyrogram/raw/functions/chatlists/hide_chatlist_updates.py +9 -6
- pyrogram/raw/functions/chatlists/join_chatlist_invite.py +10 -7
- pyrogram/raw/functions/chatlists/join_chatlist_updates.py +10 -7
- pyrogram/raw/functions/chatlists/leave_chatlist.py +10 -7
- pyrogram/raw/functions/communities/__init__.py +33 -0
- pyrogram/raw/functions/communities/create.py +100 -0
- pyrogram/raw/functions/{messages/send_encrypted_multi_media.py → communities/get_joined_communities.py} +14 -11
- pyrogram/raw/functions/communities/get_participant_joined_chats.py +83 -0
- pyrogram/raw/functions/communities/get_peer_link_requests.py +91 -0
- pyrogram/raw/functions/{account/add_no_paid_messages_exception.py → communities/toggle_all_peer_link_request_approval.py} +23 -20
- pyrogram/raw/{types/update_transcribe_audio.py → functions/communities/toggle_community_collapsed_in_dialogs.py} +24 -29
- pyrogram/raw/functions/communities/toggle_participant_banned.py +91 -0
- pyrogram/raw/functions/communities/toggle_peer_link.py +103 -0
- pyrogram/raw/functions/communities/toggle_peer_link_request_approval.py +91 -0
- pyrogram/raw/functions/contacts/__init__.py +1 -1
- pyrogram/raw/functions/contacts/accept_contact.py +9 -6
- pyrogram/raw/functions/contacts/add_contact.py +28 -15
- pyrogram/raw/functions/contacts/block.py +10 -7
- pyrogram/raw/functions/contacts/block_from_replies.py +12 -9
- pyrogram/raw/functions/contacts/delete_by_phones.py +9 -6
- pyrogram/raw/functions/contacts/delete_contacts.py +9 -6
- pyrogram/raw/functions/contacts/edit_close_friends.py +9 -6
- pyrogram/raw/functions/contacts/export_contact_token.py +8 -5
- pyrogram/raw/functions/contacts/get_birthdays.py +8 -5
- pyrogram/raw/functions/contacts/get_blocked.py +11 -8
- pyrogram/raw/functions/contacts/get_contact_i_ds.py +10 -6
- pyrogram/raw/functions/contacts/get_contacts.py +9 -6
- pyrogram/raw/functions/contacts/get_located.py +11 -8
- pyrogram/raw/functions/contacts/get_saved.py +8 -5
- pyrogram/raw/functions/contacts/get_sponsored_peers.py +9 -6
- pyrogram/raw/functions/contacts/get_statuses.py +8 -5
- pyrogram/raw/functions/contacts/get_top_peers.py +29 -20
- pyrogram/raw/functions/contacts/import_contact_token.py +9 -6
- pyrogram/raw/functions/contacts/import_contacts.py +9 -6
- pyrogram/raw/functions/contacts/reset_saved.py +8 -5
- pyrogram/raw/functions/contacts/reset_top_peer_rating.py +10 -7
- pyrogram/raw/functions/contacts/resolve_phone.py +9 -6
- pyrogram/raw/functions/contacts/resolve_username.py +10 -7
- pyrogram/raw/functions/contacts/search.py +30 -13
- pyrogram/raw/functions/contacts/set_blocked.py +11 -8
- pyrogram/raw/functions/contacts/toggle_top_peers.py +9 -6
- pyrogram/raw/functions/contacts/unblock.py +10 -7
- pyrogram/raw/functions/contacts/update_contact_note.py +83 -0
- pyrogram/raw/functions/contest/save_developer_info.py +6 -4
- pyrogram/raw/functions/destroy_auth_key.py +6 -4
- pyrogram/raw/functions/destroy_session.py +6 -4
- pyrogram/raw/functions/ephemeral/__init__.py +29 -0
- pyrogram/raw/functions/{stats/get_broadcast_revenue_withdrawal_url.py → ephemeral/delete_message.py} +28 -17
- pyrogram/raw/functions/ephemeral/edit_message.py +131 -0
- pyrogram/raw/functions/ephemeral/get_callback_answer.py +94 -0
- pyrogram/raw/functions/ephemeral/report_message.py +99 -0
- pyrogram/raw/functions/ephemeral/send_message.py +160 -0
- pyrogram/raw/functions/folders/__init__.py +0 -1
- pyrogram/raw/functions/folders/edit_peer_folders.py +9 -6
- pyrogram/raw/functions/fragment/get_collectible_info.py +9 -6
- pyrogram/raw/functions/get_future_salts.py +6 -4
- pyrogram/raw/functions/help/accept_terms_of_service.py +9 -6
- pyrogram/raw/functions/help/dismiss_suggestion.py +10 -7
- pyrogram/raw/functions/help/edit_user_info.py +11 -8
- pyrogram/raw/functions/help/get_app_config.py +9 -6
- pyrogram/raw/functions/help/get_app_update.py +9 -6
- pyrogram/raw/functions/help/get_cdn_config.py +8 -5
- pyrogram/raw/functions/help/get_config.py +8 -5
- pyrogram/raw/functions/help/get_countries_list.py +10 -7
- pyrogram/raw/functions/help/get_deep_link_info.py +9 -6
- pyrogram/raw/functions/help/get_invite_text.py +8 -5
- pyrogram/raw/functions/help/get_nearest_dc.py +8 -5
- pyrogram/raw/functions/help/get_passport_config.py +9 -6
- pyrogram/raw/functions/help/get_peer_colors.py +9 -6
- pyrogram/raw/functions/help/get_peer_profile_colors.py +9 -6
- pyrogram/raw/functions/help/get_premium_promo.py +8 -5
- pyrogram/raw/functions/help/get_promo_data.py +8 -5
- pyrogram/raw/functions/help/get_recent_me_urls.py +9 -6
- pyrogram/raw/functions/help/get_support.py +8 -5
- pyrogram/raw/functions/help/get_support_name.py +8 -5
- pyrogram/raw/functions/help/get_terms_of_service_update.py +8 -5
- pyrogram/raw/functions/help/get_timezones_list.py +9 -6
- pyrogram/raw/functions/help/get_user_info.py +9 -6
- pyrogram/raw/functions/help/hide_promo_data.py +9 -6
- pyrogram/raw/functions/help/save_app_log.py +9 -6
- pyrogram/raw/functions/help/set_bot_updates_status.py +10 -7
- pyrogram/raw/functions/init_connection.py +18 -15
- pyrogram/raw/functions/invoke_after_msg.py +10 -7
- pyrogram/raw/functions/invoke_after_msgs.py +10 -7
- pyrogram/raw/functions/invoke_with_apns_secret.py +13 -10
- pyrogram/raw/functions/invoke_with_business_connection.py +10 -7
- pyrogram/raw/functions/invoke_with_google_play_integrity.py +11 -8
- pyrogram/raw/functions/invoke_with_layer.py +10 -7
- pyrogram/raw/functions/invoke_with_messages_range.py +10 -7
- pyrogram/raw/functions/invoke_with_re_captcha.py +10 -7
- pyrogram/raw/functions/invoke_with_takeout.py +10 -7
- pyrogram/raw/functions/invoke_without_updates.py +9 -6
- pyrogram/raw/functions/langpack/get_difference.py +11 -8
- pyrogram/raw/functions/langpack/get_lang_pack.py +10 -7
- pyrogram/raw/functions/langpack/get_language.py +10 -7
- pyrogram/raw/functions/langpack/get_languages.py +9 -6
- pyrogram/raw/functions/langpack/get_strings.py +11 -8
- pyrogram/raw/functions/messages/__init__.py +34 -6
- pyrogram/raw/functions/messages/accept_encryption.py +11 -8
- pyrogram/raw/functions/messages/accept_url_auth.py +33 -15
- pyrogram/raw/functions/messages/add_chat_user.py +11 -8
- pyrogram/raw/functions/messages/add_poll_answer.py +91 -0
- pyrogram/raw/functions/messages/append_todo_list.py +91 -0
- pyrogram/raw/functions/messages/check_chat_invite.py +9 -6
- pyrogram/raw/functions/messages/check_history_import.py +9 -6
- pyrogram/raw/functions/messages/check_history_import_peer.py +9 -6
- pyrogram/raw/functions/messages/check_quick_reply_shortcut.py +9 -6
- pyrogram/raw/functions/messages/check_url_auth_match_code.py +83 -0
- pyrogram/raw/functions/messages/clear_all_drafts.py +8 -5
- pyrogram/raw/functions/messages/clear_recent_reactions.py +8 -5
- pyrogram/raw/functions/messages/clear_recent_stickers.py +9 -6
- pyrogram/raw/functions/messages/click_sponsored_message.py +11 -8
- pyrogram/raw/functions/messages/compose_message_with_ai.py +108 -0
- pyrogram/raw/functions/messages/compose_rich_message_with_ai.py +110 -0
- pyrogram/raw/functions/messages/create_chat.py +11 -8
- pyrogram/raw/functions/{channels → messages}/create_forum_topic.py +30 -21
- pyrogram/raw/{types/stats/broadcast_revenue_withdrawal_url.py → functions/messages/decline_url_auth.py} +15 -21
- pyrogram/raw/functions/messages/delete_chat.py +9 -6
- pyrogram/raw/functions/messages/delete_chat_user.py +11 -8
- pyrogram/raw/functions/messages/delete_exported_chat_invite.py +10 -7
- pyrogram/raw/functions/messages/delete_fact_check.py +10 -7
- pyrogram/raw/functions/messages/delete_history.py +14 -11
- pyrogram/raw/functions/messages/delete_messages.py +10 -7
- pyrogram/raw/functions/messages/delete_participant_reaction.py +91 -0
- pyrogram/raw/functions/messages/delete_participant_reactions.py +83 -0
- pyrogram/raw/functions/messages/delete_phone_call_history.py +9 -6
- pyrogram/raw/functions/messages/delete_poll_answer.py +91 -0
- pyrogram/raw/functions/messages/delete_quick_reply_messages.py +10 -7
- pyrogram/raw/functions/messages/delete_quick_reply_shortcut.py +10 -6
- pyrogram/raw/functions/messages/delete_revoked_exported_chat_invites.py +10 -7
- pyrogram/raw/functions/messages/delete_saved_history.py +27 -14
- pyrogram/raw/functions/messages/delete_scheduled_messages.py +10 -7
- pyrogram/raw/functions/{channels → messages}/delete_topic_history.py +20 -17
- pyrogram/raw/functions/messages/discard_encryption.py +10 -7
- pyrogram/raw/functions/messages/edit_chat_about.py +10 -7
- pyrogram/raw/functions/messages/edit_chat_admin.py +11 -8
- pyrogram/raw/functions/{channels/edit_creator.py → messages/edit_chat_creator.py} +22 -19
- pyrogram/raw/functions/messages/edit_chat_default_banned_rights.py +10 -7
- pyrogram/raw/functions/messages/edit_chat_participant_rank.py +91 -0
- pyrogram/raw/functions/messages/edit_chat_photo.py +10 -7
- pyrogram/raw/functions/messages/edit_chat_title.py +10 -7
- pyrogram/raw/functions/messages/edit_exported_chat_invite.py +15 -12
- pyrogram/raw/functions/messages/edit_fact_check.py +11 -8
- pyrogram/raw/functions/{channels → messages}/edit_forum_topic.py +24 -21
- pyrogram/raw/functions/messages/edit_inline_bot_message.py +29 -16
- pyrogram/raw/functions/messages/edit_message.py +41 -19
- pyrogram/raw/functions/messages/edit_quick_reply_shortcut.py +11 -7
- pyrogram/raw/functions/messages/export_chat_invite.py +15 -12
- pyrogram/raw/functions/messages/fave_sticker.py +10 -7
- pyrogram/raw/functions/messages/forward_messages.py +68 -27
- pyrogram/raw/functions/messages/get_admins_with_invites.py +9 -6
- pyrogram/raw/functions/messages/get_all_drafts.py +9 -5
- pyrogram/raw/functions/messages/get_all_stickers.py +9 -6
- pyrogram/raw/functions/messages/get_archived_stickers.py +12 -9
- pyrogram/raw/functions/messages/get_attach_menu_bot.py +9 -6
- pyrogram/raw/functions/messages/get_attach_menu_bots.py +9 -6
- pyrogram/raw/functions/messages/get_attached_stickers.py +9 -6
- pyrogram/raw/functions/messages/get_available_effects.py +9 -6
- pyrogram/raw/functions/messages/get_available_reactions.py +9 -6
- pyrogram/raw/functions/messages/get_bot_app.py +10 -7
- pyrogram/raw/functions/messages/get_bot_callback_answer.py +13 -10
- pyrogram/raw/functions/messages/get_chat_invite_importers.py +16 -13
- pyrogram/raw/functions/messages/get_chats.py +9 -6
- pyrogram/raw/functions/messages/get_common_chats.py +11 -8
- pyrogram/raw/functions/messages/get_custom_emoji_documents.py +9 -6
- pyrogram/raw/functions/messages/get_default_history_ttl.py +8 -5
- pyrogram/raw/functions/messages/get_default_tag_reactions.py +9 -6
- pyrogram/raw/functions/messages/get_dh_config.py +10 -7
- pyrogram/raw/functions/messages/get_dialog_filters.py +8 -5
- pyrogram/raw/functions/messages/get_dialog_unread_marks.py +26 -14
- pyrogram/raw/functions/messages/get_dialogs.py +15 -12
- pyrogram/raw/functions/messages/get_discussion_message.py +10 -7
- pyrogram/raw/functions/messages/get_document_by_hash.py +11 -8
- pyrogram/raw/functions/messages/get_emoji_game_info.py +70 -0
- pyrogram/raw/functions/messages/get_emoji_groups.py +9 -6
- pyrogram/raw/functions/messages/get_emoji_keywords.py +9 -6
- pyrogram/raw/functions/messages/get_emoji_keywords_difference.py +10 -7
- pyrogram/raw/functions/messages/get_emoji_keywords_languages.py +9 -6
- pyrogram/raw/functions/messages/get_emoji_profile_photo_groups.py +9 -6
- pyrogram/raw/functions/messages/get_emoji_status_groups.py +9 -6
- pyrogram/raw/functions/messages/get_emoji_sticker_groups.py +9 -6
- pyrogram/raw/functions/messages/get_emoji_stickers.py +9 -6
- pyrogram/raw/functions/messages/get_emoji_url.py +9 -6
- pyrogram/raw/functions/messages/get_exported_chat_invite.py +10 -7
- pyrogram/raw/functions/messages/get_exported_chat_invites.py +14 -11
- pyrogram/raw/functions/messages/get_extended_media.py +10 -7
- pyrogram/raw/functions/messages/get_fact_check.py +10 -7
- pyrogram/raw/functions/messages/get_faved_stickers.py +9 -6
- pyrogram/raw/functions/messages/get_featured_emoji_stickers.py +9 -6
- pyrogram/raw/functions/messages/get_featured_stickers.py +9 -6
- pyrogram/raw/functions/{channels → messages}/get_forum_topics.py +24 -21
- pyrogram/raw/functions/{channels → messages}/get_forum_topics_by_id.py +20 -17
- pyrogram/raw/functions/messages/get_full_chat.py +9 -6
- pyrogram/raw/functions/messages/get_future_chat_creator_after_leave.py +75 -0
- pyrogram/raw/functions/messages/get_game_high_scores.py +11 -8
- pyrogram/raw/functions/messages/get_history.py +16 -13
- pyrogram/raw/functions/messages/get_inline_bot_results.py +13 -10
- pyrogram/raw/functions/messages/get_inline_game_high_scores.py +10 -7
- pyrogram/raw/functions/messages/get_mask_stickers.py +9 -6
- pyrogram/raw/functions/messages/get_message_edit_data.py +10 -7
- pyrogram/raw/functions/messages/get_message_reactions_list.py +13 -10
- pyrogram/raw/functions/messages/get_message_read_participants.py +10 -7
- pyrogram/raw/functions/messages/get_messages.py +9 -6
- pyrogram/raw/functions/messages/get_messages_reactions.py +10 -7
- pyrogram/raw/functions/messages/get_messages_views.py +11 -8
- pyrogram/raw/functions/messages/get_my_stickers.py +10 -7
- pyrogram/raw/functions/messages/get_old_featured_stickers.py +11 -8
- pyrogram/raw/functions/messages/get_onlines.py +9 -6
- pyrogram/raw/functions/messages/get_outbox_read_date.py +10 -7
- pyrogram/raw/functions/messages/get_paid_reaction_privacy.py +8 -5
- pyrogram/raw/functions/messages/get_peer_dialogs.py +9 -6
- pyrogram/raw/functions/messages/get_peer_settings.py +9 -6
- pyrogram/raw/functions/messages/get_personal_channel_history.py +107 -0
- pyrogram/raw/functions/messages/get_pinned_dialogs.py +9 -6
- pyrogram/raw/functions/messages/get_pinned_saved_dialogs.py +8 -5
- pyrogram/raw/functions/messages/get_poll_results.py +23 -12
- pyrogram/raw/functions/messages/get_poll_votes.py +13 -10
- pyrogram/raw/functions/messages/get_prepared_inline_message.py +10 -7
- pyrogram/raw/functions/messages/get_quick_replies.py +9 -6
- pyrogram/raw/functions/messages/get_quick_reply_messages.py +11 -8
- pyrogram/raw/functions/messages/get_recent_locations.py +11 -8
- pyrogram/raw/functions/messages/get_recent_reactions.py +10 -7
- pyrogram/raw/functions/messages/get_recent_stickers.py +10 -7
- pyrogram/raw/functions/messages/get_replies.py +17 -14
- pyrogram/raw/functions/messages/{forward_message.py → get_rich_message.py} +16 -21
- pyrogram/raw/functions/messages/get_saved_dialogs.py +29 -16
- pyrogram/raw/functions/messages/get_saved_dialogs_by_id.py +87 -0
- pyrogram/raw/functions/messages/get_saved_gifs.py +9 -6
- pyrogram/raw/functions/messages/get_saved_history.py +35 -20
- pyrogram/raw/functions/messages/get_saved_reaction_tags.py +10 -7
- pyrogram/raw/functions/messages/get_scheduled_history.py +10 -7
- pyrogram/raw/functions/messages/get_scheduled_messages.py +10 -7
- pyrogram/raw/functions/messages/get_search_counters.py +12 -9
- pyrogram/raw/functions/messages/get_search_results_calendar.py +13 -10
- pyrogram/raw/functions/messages/get_search_results_positions.py +13 -10
- pyrogram/raw/functions/messages/get_split_ranges.py +8 -5
- pyrogram/raw/functions/messages/get_sponsored_messages.py +27 -13
- pyrogram/raw/functions/messages/get_sticker_set.py +10 -7
- pyrogram/raw/functions/messages/get_stickers.py +10 -7
- pyrogram/raw/functions/messages/get_suggested_dialog_filters.py +8 -5
- pyrogram/raw/functions/messages/get_top_reactions.py +10 -7
- pyrogram/raw/functions/messages/get_unread_mentions.py +15 -12
- pyrogram/raw/functions/messages/get_unread_poll_votes.py +126 -0
- pyrogram/raw/functions/messages/get_unread_reactions.py +30 -17
- pyrogram/raw/functions/messages/get_web_page.py +10 -7
- pyrogram/raw/functions/messages/get_web_page_preview.py +10 -7
- pyrogram/raw/functions/messages/hide_all_chat_join_requests.py +11 -8
- pyrogram/raw/functions/messages/hide_chat_join_request.py +11 -8
- pyrogram/raw/functions/messages/hide_peer_settings_bar.py +9 -6
- pyrogram/raw/functions/messages/import_chat_invite.py +12 -9
- pyrogram/raw/functions/messages/init_history_import.py +11 -8
- pyrogram/raw/functions/messages/install_sticker_set.py +10 -7
- pyrogram/raw/functions/messages/mark_dialog_unread.py +25 -12
- pyrogram/raw/functions/messages/migrate_chat.py +9 -6
- pyrogram/raw/functions/messages/prolong_web_view.py +14 -11
- pyrogram/raw/functions/messages/rate_transcribed_audio.py +12 -9
- pyrogram/raw/functions/messages/read_discussion.py +11 -8
- pyrogram/raw/functions/messages/read_encrypted_history.py +10 -7
- pyrogram/raw/functions/messages/read_featured_stickers.py +9 -6
- pyrogram/raw/functions/messages/read_history.py +10 -7
- pyrogram/raw/functions/messages/read_mentions.py +10 -7
- pyrogram/raw/functions/messages/read_message_contents.py +9 -6
- pyrogram/raw/functions/messages/read_poll_votes.py +86 -0
- pyrogram/raw/functions/messages/read_reactions.py +25 -12
- pyrogram/raw/functions/messages/read_saved_history.py +91 -0
- pyrogram/raw/functions/messages/received_messages.py +9 -6
- pyrogram/raw/functions/messages/received_queue.py +10 -6
- pyrogram/raw/functions/messages/reorder_pinned_dialogs.py +11 -8
- pyrogram/raw/functions/{channels → messages}/reorder_pinned_forum_topics.py +21 -18
- pyrogram/raw/functions/messages/reorder_pinned_saved_dialogs.py +10 -7
- pyrogram/raw/functions/messages/reorder_quick_replies.py +9 -6
- pyrogram/raw/functions/messages/reorder_sticker_sets.py +11 -8
- pyrogram/raw/functions/messages/report.py +12 -9
- pyrogram/raw/functions/messages/report_encrypted_spam.py +9 -6
- pyrogram/raw/functions/messages/report_messages_delivery.py +11 -8
- pyrogram/raw/functions/messages/report_music_listen.py +83 -0
- pyrogram/raw/functions/messages/report_reaction.py +11 -8
- pyrogram/raw/functions/messages/report_read_metrics.py +83 -0
- pyrogram/raw/functions/messages/report_spam.py +9 -6
- pyrogram/raw/functions/messages/report_sponsored_message.py +10 -7
- pyrogram/raw/functions/messages/request_app_web_view.py +16 -13
- pyrogram/raw/functions/messages/request_chat_join_web_view.py +95 -0
- pyrogram/raw/functions/messages/request_encryption.py +11 -8
- pyrogram/raw/functions/messages/request_main_web_view.py +15 -12
- pyrogram/raw/functions/messages/request_simple_web_view.py +17 -14
- pyrogram/raw/functions/messages/request_url_auth.py +26 -14
- pyrogram/raw/functions/messages/request_web_view.py +20 -17
- pyrogram/raw/functions/messages/save_default_send_as.py +10 -7
- pyrogram/raw/functions/messages/save_draft.py +40 -17
- pyrogram/raw/functions/messages/save_gif.py +10 -7
- pyrogram/raw/functions/messages/save_prepared_inline_message.py +11 -8
- pyrogram/raw/functions/messages/save_recent_sticker.py +11 -8
- pyrogram/raw/functions/messages/search.py +23 -20
- pyrogram/raw/functions/messages/search_custom_emoji.py +10 -7
- pyrogram/raw/functions/messages/search_emoji_sticker_sets.py +11 -8
- pyrogram/raw/functions/messages/search_global.py +34 -21
- pyrogram/raw/functions/messages/search_sent_media.py +12 -8
- pyrogram/raw/functions/messages/search_sticker_sets.py +11 -8
- pyrogram/raw/functions/messages/search_stickers.py +15 -12
- pyrogram/raw/functions/messages/send_bot_requested_peer.py +37 -22
- pyrogram/raw/functions/messages/send_encrypted.py +12 -9
- pyrogram/raw/functions/messages/send_encrypted_file.py +13 -10
- pyrogram/raw/functions/messages/send_encrypted_service.py +11 -8
- pyrogram/raw/functions/messages/send_inline_bot_result.py +21 -18
- pyrogram/raw/functions/messages/send_media.py +51 -29
- pyrogram/raw/functions/messages/send_message.py +60 -28
- pyrogram/raw/functions/messages/send_multi_media.py +23 -20
- pyrogram/raw/functions/messages/send_paid_reaction.py +13 -10
- pyrogram/raw/functions/messages/send_quick_reply_messages.py +12 -9
- pyrogram/raw/functions/messages/send_reaction.py +13 -10
- pyrogram/raw/functions/messages/send_scheduled_messages.py +10 -7
- pyrogram/raw/functions/messages/send_screenshot_notification.py +11 -8
- pyrogram/raw/functions/messages/send_vote.py +11 -8
- pyrogram/raw/functions/messages/send_web_view_data.py +12 -9
- pyrogram/raw/functions/messages/send_web_view_result_message.py +10 -7
- pyrogram/raw/functions/messages/set_bot_callback_answer.py +13 -10
- pyrogram/raw/functions/messages/set_bot_guest_chat_result.py +83 -0
- pyrogram/raw/functions/messages/set_bot_precheckout_results.py +13 -8
- pyrogram/raw/functions/messages/set_bot_shipping_results.py +11 -8
- pyrogram/raw/functions/messages/set_chat_available_reactions.py +12 -9
- pyrogram/raw/functions/messages/set_chat_theme.py +19 -16
- pyrogram/raw/functions/messages/set_chat_wall_paper.py +14 -11
- pyrogram/raw/functions/messages/set_default_history_ttl.py +9 -6
- pyrogram/raw/functions/messages/set_default_reaction.py +9 -6
- pyrogram/raw/functions/messages/set_encrypted_typing.py +10 -7
- pyrogram/raw/functions/messages/set_game_score.py +14 -11
- pyrogram/raw/functions/messages/set_history_ttl.py +10 -7
- pyrogram/raw/functions/messages/set_inline_bot_results.py +16 -13
- pyrogram/raw/functions/messages/set_inline_game_score.py +13 -10
- pyrogram/raw/functions/messages/set_typing.py +11 -8
- pyrogram/raw/functions/messages/start_bot.py +12 -9
- pyrogram/raw/functions/messages/start_history_import.py +11 -7
- pyrogram/raw/functions/messages/summarize_text.py +103 -0
- pyrogram/raw/functions/messages/toggle_bot_in_attach_menu.py +11 -8
- pyrogram/raw/functions/messages/toggle_dialog_filter_tags.py +9 -6
- pyrogram/raw/functions/messages/toggle_dialog_pin.py +10 -7
- pyrogram/raw/functions/messages/toggle_no_forwards.py +28 -14
- pyrogram/raw/functions/messages/toggle_paid_reaction_privacy.py +11 -8
- pyrogram/raw/functions/messages/toggle_peer_translations.py +10 -7
- pyrogram/raw/functions/messages/toggle_saved_dialog_pin.py +10 -7
- pyrogram/raw/functions/messages/toggle_sticker_sets.py +12 -9
- pyrogram/raw/functions/messages/toggle_suggested_post_approval.py +109 -0
- pyrogram/raw/functions/messages/toggle_todo_completed.py +99 -0
- pyrogram/raw/functions/messages/transcribe_audio.py +10 -7
- pyrogram/raw/functions/messages/translate_rich_message.py +116 -0
- pyrogram/raw/functions/messages/translate_text.py +26 -14
- pyrogram/raw/functions/messages/uninstall_sticker_set.py +9 -6
- pyrogram/raw/functions/messages/unpin_all_messages.py +25 -12
- pyrogram/raw/functions/messages/update_dialog_filter.py +10 -7
- pyrogram/raw/functions/messages/update_dialog_filters_order.py +9 -6
- pyrogram/raw/functions/{channels → messages}/update_pinned_forum_topic.py +21 -18
- pyrogram/raw/functions/messages/update_pinned_message.py +13 -10
- pyrogram/raw/functions/messages/update_saved_reaction_tag.py +10 -7
- pyrogram/raw/functions/messages/upload_encrypted_file.py +10 -7
- pyrogram/raw/functions/messages/upload_imported_media.py +12 -9
- pyrogram/raw/functions/messages/upload_media.py +11 -8
- pyrogram/raw/functions/messages/view_sponsored_message.py +9 -6
- pyrogram/raw/functions/payments/__init__.py +15 -1
- pyrogram/raw/functions/payments/apply_gift_code.py +9 -6
- pyrogram/raw/functions/payments/assign_app_store_transaction.py +10 -7
- pyrogram/raw/functions/payments/assign_play_market_transaction.py +10 -7
- pyrogram/raw/functions/payments/bot_cancel_stars_subscription.py +11 -8
- pyrogram/raw/functions/payments/can_purchase_store.py +9 -6
- pyrogram/raw/functions/payments/change_stars_subscription.py +11 -8
- pyrogram/raw/functions/payments/check_can_send_gift.py +75 -0
- pyrogram/raw/functions/payments/check_gift_code.py +9 -6
- pyrogram/raw/functions/payments/clear_saved_info.py +10 -7
- pyrogram/raw/functions/payments/connect_star_ref_bot.py +10 -7
- pyrogram/raw/functions/payments/convert_star_gift.py +9 -6
- pyrogram/raw/functions/payments/craft_star_gift.py +75 -0
- pyrogram/raw/functions/payments/create_star_gift_collection.py +91 -0
- pyrogram/raw/functions/payments/delete_star_gift_collection.py +83 -0
- pyrogram/raw/functions/payments/edit_connected_star_ref_bot.py +11 -8
- pyrogram/raw/functions/payments/export_invoice.py +9 -6
- pyrogram/raw/functions/payments/fulfill_stars_subscription.py +10 -7
- pyrogram/raw/functions/payments/get_bank_card_data.py +9 -6
- pyrogram/raw/functions/payments/get_connected_star_ref_bot.py +10 -7
- pyrogram/raw/functions/payments/get_connected_star_ref_bots.py +12 -9
- pyrogram/raw/functions/payments/get_craft_star_gifts.py +91 -0
- pyrogram/raw/functions/payments/get_giveaway_info.py +10 -7
- pyrogram/raw/functions/payments/get_payment_form.py +10 -7
- pyrogram/raw/functions/payments/get_payment_receipt.py +10 -7
- pyrogram/raw/functions/payments/get_premium_gift_code_options.py +9 -6
- pyrogram/raw/functions/payments/get_resale_star_gifts.py +30 -15
- pyrogram/raw/functions/payments/get_saved_info.py +8 -5
- pyrogram/raw/functions/payments/get_saved_star_gift.py +9 -6
- pyrogram/raw/functions/payments/get_saved_star_gifts.py +54 -24
- pyrogram/raw/functions/payments/get_star_gift_active_auctions.py +75 -0
- pyrogram/raw/functions/payments/get_star_gift_auction_acquired_gifts.py +75 -0
- pyrogram/raw/functions/payments/get_star_gift_auction_state.py +83 -0
- pyrogram/raw/functions/payments/get_star_gift_collections.py +83 -0
- pyrogram/raw/functions/payments/get_star_gift_upgrade_attributes.py +75 -0
- pyrogram/raw/functions/payments/get_star_gift_upgrade_preview.py +9 -6
- pyrogram/raw/functions/payments/get_star_gift_withdrawal_url.py +10 -7
- pyrogram/raw/functions/payments/get_star_gifts.py +9 -6
- pyrogram/raw/functions/payments/get_stars_gift_options.py +9 -6
- pyrogram/raw/functions/payments/get_stars_giveaway_options.py +8 -5
- pyrogram/raw/functions/payments/get_stars_revenue_ads_account_url.py +9 -6
- pyrogram/raw/functions/payments/get_stars_revenue_stats.py +19 -10
- pyrogram/raw/functions/payments/get_stars_revenue_withdrawal_url.py +33 -21
- pyrogram/raw/functions/payments/get_stars_status.py +24 -13
- pyrogram/raw/functions/payments/get_stars_subscriptions.py +11 -8
- pyrogram/raw/functions/payments/get_stars_topup_options.py +8 -5
- pyrogram/raw/functions/payments/get_stars_transactions.py +24 -15
- pyrogram/raw/functions/payments/get_stars_transactions_by_id.py +25 -14
- pyrogram/raw/functions/payments/get_suggested_star_ref_bots.py +13 -10
- pyrogram/raw/functions/payments/get_unique_star_gift.py +9 -6
- pyrogram/raw/functions/payments/get_unique_star_gift_value_info.py +75 -0
- pyrogram/raw/functions/payments/launch_prepaid_giveaway.py +11 -8
- pyrogram/raw/functions/payments/refund_stars_charge.py +10 -7
- pyrogram/raw/functions/payments/reorder_star_gift_collections.py +83 -0
- pyrogram/raw/functions/payments/resolve_star_gift_offer.py +83 -0
- pyrogram/raw/functions/payments/save_star_gift.py +10 -7
- pyrogram/raw/functions/payments/send_payment_form.py +14 -11
- pyrogram/raw/functions/payments/send_star_gift_offer.py +118 -0
- pyrogram/raw/functions/payments/send_stars_form.py +10 -7
- pyrogram/raw/functions/payments/toggle_chat_star_gift_notifications.py +10 -7
- pyrogram/raw/functions/payments/toggle_star_gifts_pinned_to_top.py +10 -7
- pyrogram/raw/functions/payments/transfer_star_gift.py +10 -7
- pyrogram/raw/functions/payments/update_star_gift_collection.py +124 -0
- pyrogram/raw/functions/payments/update_star_gift_price.py +19 -16
- pyrogram/raw/functions/payments/upgrade_star_gift.py +10 -7
- pyrogram/raw/functions/payments/validate_requested_info.py +11 -8
- pyrogram/raw/functions/phone/__init__.py +6 -0
- pyrogram/raw/functions/phone/accept_call.py +11 -8
- pyrogram/raw/functions/phone/check_group_call.py +10 -7
- pyrogram/raw/functions/phone/confirm_call.py +12 -9
- pyrogram/raw/functions/phone/create_conference_call.py +15 -12
- pyrogram/raw/functions/phone/create_group_call.py +13 -10
- pyrogram/raw/functions/phone/decline_conference_call_invite.py +9 -6
- pyrogram/raw/functions/phone/delete_conference_call_participants.py +13 -10
- pyrogram/raw/functions/phone/delete_group_call_messages.py +91 -0
- pyrogram/raw/functions/phone/delete_group_call_participant_messages.py +91 -0
- pyrogram/raw/functions/phone/discard_call.py +13 -10
- pyrogram/raw/functions/phone/discard_group_call.py +9 -6
- pyrogram/raw/functions/phone/edit_group_call_participant.py +16 -13
- pyrogram/raw/functions/phone/edit_group_call_title.py +10 -7
- pyrogram/raw/functions/phone/export_group_call_invite.py +10 -7
- pyrogram/raw/functions/phone/get_call_config.py +8 -5
- pyrogram/raw/functions/phone/get_group_call.py +10 -7
- pyrogram/raw/functions/phone/get_group_call_chain_blocks.py +12 -9
- pyrogram/raw/functions/phone/get_group_call_join_as.py +9 -6
- pyrogram/raw/functions/phone/get_group_call_stars.py +75 -0
- pyrogram/raw/functions/phone/get_group_call_stream_channels.py +10 -6
- pyrogram/raw/functions/phone/get_group_call_stream_rtmp_url.py +25 -14
- pyrogram/raw/functions/phone/get_group_participants.py +13 -10
- pyrogram/raw/functions/phone/invite_conference_call_participant.py +11 -8
- pyrogram/raw/functions/phone/invite_to_group_call.py +10 -7
- pyrogram/raw/functions/phone/join_group_call.py +16 -13
- pyrogram/raw/functions/phone/join_group_call_presentation.py +10 -7
- pyrogram/raw/functions/phone/leave_group_call.py +10 -7
- pyrogram/raw/functions/phone/leave_group_call_presentation.py +9 -6
- pyrogram/raw/functions/phone/received_call.py +9 -6
- pyrogram/raw/functions/phone/request_call.py +13 -10
- pyrogram/raw/functions/phone/save_call_debug.py +10 -7
- pyrogram/raw/functions/phone/save_call_log.py +10 -7
- pyrogram/raw/functions/phone/save_default_group_call_join_as.py +10 -7
- pyrogram/raw/functions/phone/save_default_send_as.py +83 -0
- pyrogram/raw/functions/phone/send_conference_call_broadcast.py +10 -7
- pyrogram/raw/functions/phone/send_group_call_encrypted_message.py +83 -0
- pyrogram/raw/functions/phone/send_group_call_message.py +112 -0
- pyrogram/raw/functions/phone/send_signaling_data.py +10 -7
- pyrogram/raw/functions/phone/set_call_rating.py +12 -9
- pyrogram/raw/functions/phone/start_scheduled_group_call.py +9 -6
- pyrogram/raw/functions/phone/toggle_group_call_record.py +13 -10
- pyrogram/raw/functions/phone/toggle_group_call_settings.py +34 -13
- pyrogram/raw/functions/phone/toggle_group_call_start_subscription.py +10 -7
- pyrogram/raw/functions/photos/delete_photos.py +9 -6
- pyrogram/raw/functions/photos/get_user_photos.py +12 -9
- pyrogram/raw/functions/photos/update_profile_photo.py +11 -8
- pyrogram/raw/functions/photos/upload_contact_profile_photo.py +15 -12
- pyrogram/raw/functions/photos/upload_profile_photo.py +14 -11
- pyrogram/raw/functions/ping.py +6 -4
- pyrogram/raw/functions/ping_delay_disconnect.py +6 -4
- pyrogram/raw/functions/premium/apply_boost.py +10 -7
- pyrogram/raw/functions/premium/get_boosts_list.py +12 -9
- pyrogram/raw/functions/premium/get_boosts_status.py +9 -6
- pyrogram/raw/functions/premium/get_my_boosts.py +8 -5
- pyrogram/raw/functions/premium/get_user_boosts.py +10 -7
- pyrogram/raw/functions/req_dh_params.py +6 -4
- pyrogram/raw/functions/req_pq.py +6 -4
- pyrogram/raw/functions/req_pq_multi.py +6 -4
- pyrogram/raw/functions/rpc_drop_answer.py +6 -4
- pyrogram/raw/functions/set_client_dh_params.py +6 -4
- pyrogram/raw/functions/smsjobs/finish_job.py +10 -7
- pyrogram/raw/functions/smsjobs/get_sms_job.py +9 -6
- pyrogram/raw/functions/smsjobs/get_status.py +8 -5
- pyrogram/raw/functions/smsjobs/is_eligible_to_join.py +8 -5
- pyrogram/raw/functions/smsjobs/join.py +8 -5
- pyrogram/raw/functions/smsjobs/leave.py +8 -5
- pyrogram/raw/functions/smsjobs/update_settings.py +9 -6
- pyrogram/raw/functions/stats/__init__.py +1 -3
- pyrogram/raw/functions/stats/get_broadcast_stats.py +10 -7
- pyrogram/raw/functions/stats/get_megagroup_stats.py +10 -7
- pyrogram/raw/functions/stats/get_message_public_forwards.py +13 -9
- pyrogram/raw/functions/stats/get_message_stats.py +11 -8
- pyrogram/raw/functions/{messages/get_stats_url.py → stats/get_poll_stats.py} +23 -20
- pyrogram/raw/functions/stats/get_story_public_forwards.py +12 -9
- pyrogram/raw/functions/stats/get_story_stats.py +11 -8
- pyrogram/raw/functions/stats/load_async_graph.py +10 -7
- pyrogram/raw/functions/stickers/add_sticker_to_set.py +10 -7
- pyrogram/raw/functions/stickers/change_sticker.py +12 -9
- pyrogram/raw/functions/stickers/change_sticker_position.py +10 -7
- pyrogram/raw/functions/stickers/check_short_name.py +9 -6
- pyrogram/raw/functions/stickers/create_sticker_set.py +17 -14
- pyrogram/raw/functions/stickers/delete_sticker_set.py +9 -6
- pyrogram/raw/functions/stickers/remove_sticker_from_set.py +9 -6
- pyrogram/raw/functions/stickers/rename_sticker_set.py +10 -7
- pyrogram/raw/functions/stickers/replace_sticker.py +10 -7
- pyrogram/raw/functions/stickers/set_sticker_set_thumb.py +11 -8
- pyrogram/raw/functions/stickers/suggest_short_name.py +9 -6
- pyrogram/raw/functions/stories/__init__.py +7 -0
- pyrogram/raw/functions/stories/activate_stealth_mode.py +10 -7
- pyrogram/raw/functions/stories/can_send_story.py +9 -6
- pyrogram/raw/functions/stories/create_album.py +91 -0
- pyrogram/raw/functions/{stats/get_broadcast_revenue_stats.py → stories/delete_album.py} +26 -23
- pyrogram/raw/functions/stories/delete_stories.py +10 -7
- pyrogram/raw/functions/stories/edit_story.py +30 -17
- pyrogram/raw/functions/stories/export_story_link.py +10 -7
- pyrogram/raw/functions/{stats/get_broadcast_revenue_transactions.py → stories/get_album_stories.py} +27 -16
- pyrogram/raw/functions/stories/get_albums.py +83 -0
- pyrogram/raw/functions/stories/get_all_read_peer_stories.py +8 -5
- pyrogram/raw/functions/stories/get_all_stories.py +11 -8
- pyrogram/raw/functions/stories/get_chats_to_send.py +8 -5
- pyrogram/raw/functions/stories/get_peer_max_i_ds.py +12 -9
- pyrogram/raw/functions/stories/get_peer_stories.py +9 -6
- pyrogram/raw/functions/stories/get_pinned_stories.py +11 -8
- pyrogram/raw/functions/stories/get_stories_archive.py +11 -8
- pyrogram/raw/functions/stories/get_stories_by_id.py +10 -7
- pyrogram/raw/functions/stories/get_stories_views.py +10 -7
- pyrogram/raw/functions/stories/get_story_reactions_list.py +14 -11
- pyrogram/raw/functions/stories/get_story_views_list.py +16 -13
- pyrogram/raw/functions/stories/increment_story_views.py +10 -7
- pyrogram/raw/functions/stories/read_stories.py +10 -7
- pyrogram/raw/functions/stories/reorder_albums.py +83 -0
- pyrogram/raw/functions/stories/report.py +12 -9
- pyrogram/raw/functions/stories/search_posts.py +13 -10
- pyrogram/raw/functions/stories/send_reaction.py +12 -9
- pyrogram/raw/functions/stories/send_story.py +46 -23
- pyrogram/raw/functions/stories/start_live.py +148 -0
- pyrogram/raw/functions/stories/toggle_all_stories_hidden.py +9 -6
- pyrogram/raw/functions/stories/toggle_peer_stories_hidden.py +10 -7
- pyrogram/raw/functions/stories/toggle_pinned.py +11 -8
- pyrogram/raw/functions/stories/toggle_pinned_to_top.py +10 -7
- pyrogram/raw/functions/stories/update_album.py +124 -0
- pyrogram/raw/functions/updates/get_channel_difference.py +13 -10
- pyrogram/raw/functions/updates/get_difference.py +14 -11
- pyrogram/raw/functions/updates/get_state.py +8 -5
- pyrogram/raw/functions/upload/get_cdn_file.py +11 -8
- pyrogram/raw/functions/upload/get_cdn_file_hashes.py +10 -7
- pyrogram/raw/functions/upload/get_file.py +13 -10
- pyrogram/raw/functions/upload/get_file_hashes.py +10 -7
- pyrogram/raw/functions/upload/get_web_file.py +11 -8
- pyrogram/raw/functions/upload/reupload_cdn_file.py +10 -7
- pyrogram/raw/functions/upload/save_big_file_part.py +12 -9
- pyrogram/raw/functions/upload/save_file_part.py +11 -8
- pyrogram/raw/functions/users/__init__.py +3 -0
- pyrogram/raw/functions/users/get_full_user.py +9 -6
- pyrogram/raw/functions/users/get_requirements_to_contact.py +9 -6
- pyrogram/raw/functions/users/get_saved_music.py +99 -0
- pyrogram/raw/functions/users/get_saved_music_by_id.py +83 -0
- pyrogram/raw/functions/users/get_users.py +9 -6
- pyrogram/raw/functions/users/set_secure_value_errors.py +10 -7
- pyrogram/raw/functions/users/suggest_birthday.py +83 -0
- pyrogram/raw/types/__init__.py +179 -21
- pyrogram/raw/types/access_point_rule.py +6 -4
- pyrogram/raw/types/account/__init__.py +8 -0
- pyrogram/raw/types/account/authorization_form.py +12 -10
- pyrogram/raw/types/account/authorizations.py +9 -7
- pyrogram/raw/types/account/auto_download_settings.py +10 -8
- pyrogram/raw/types/account/auto_save_settings.py +13 -11
- pyrogram/raw/types/account/business_chat_links.py +10 -8
- pyrogram/raw/types/account/chat_themes.py +118 -0
- pyrogram/raw/types/account/chat_themes_not_modified.py +78 -0
- pyrogram/raw/types/account/connected_bots.py +9 -7
- pyrogram/raw/types/account/content_settings.py +9 -7
- pyrogram/raw/types/account/email_verified.py +8 -6
- pyrogram/raw/types/account/email_verified_login.py +9 -7
- pyrogram/raw/types/account/emoji_statuses.py +9 -7
- pyrogram/raw/types/account/emoji_statuses_not_modified.py +7 -5
- pyrogram/raw/types/account/paid_messages_revenue.py +8 -6
- pyrogram/raw/types/account/passkey_registration_options.py +83 -0
- pyrogram/raw/types/account/passkeys.py +83 -0
- pyrogram/raw/types/account/password.py +20 -18
- pyrogram/raw/types/account/password_input_settings.py +12 -10
- pyrogram/raw/types/account/password_settings.py +9 -7
- pyrogram/raw/types/account/privacy_rules.py +10 -8
- pyrogram/raw/types/account/reset_password_failed_wait.py +8 -6
- pyrogram/raw/types/account/reset_password_ok.py +7 -5
- pyrogram/raw/types/account/reset_password_requested_wait.py +8 -6
- pyrogram/raw/types/account/resolved_business_chat_links.py +12 -10
- pyrogram/raw/types/account/saved_music_ids.py +83 -0
- pyrogram/raw/types/account/saved_music_ids_not_modified.py +78 -0
- pyrogram/raw/types/account/saved_ringtone.py +7 -5
- pyrogram/raw/types/account/saved_ringtone_converted.py +8 -6
- pyrogram/raw/types/account/saved_ringtones.py +9 -7
- pyrogram/raw/types/account/saved_ringtones_not_modified.py +7 -5
- pyrogram/raw/types/account/sent_email_code.py +9 -7
- pyrogram/raw/types/account/takeout.py +8 -6
- pyrogram/raw/types/account/themes.py +9 -7
- pyrogram/raw/types/account/themes_not_modified.py +7 -5
- pyrogram/raw/types/account/tmp_password.py +9 -7
- pyrogram/raw/types/account/wall_papers.py +9 -7
- pyrogram/raw/types/account/wall_papers_not_modified.py +7 -5
- pyrogram/raw/types/account/web_authorizations.py +9 -7
- pyrogram/raw/types/account/web_browser_settings.py +115 -0
- pyrogram/raw/types/account/web_browser_settings_not_modified.py +80 -0
- pyrogram/raw/types/account_days_ttl.py +8 -6
- pyrogram/raw/types/ai_compose_tone.py +162 -0
- pyrogram/raw/types/ai_compose_tone_default.py +100 -0
- pyrogram/raw/types/ai_compose_tone_example.py +91 -0
- pyrogram/raw/{base/premium_gift_option.py → types/aicompose/__init__.py} +2 -4
- pyrogram/raw/types/aicompose/tones.py +100 -0
- pyrogram/raw/types/aicompose/tones_not_modified.py +79 -0
- pyrogram/raw/types/attach_menu_bot.py +17 -15
- pyrogram/raw/types/attach_menu_bot_icon.py +10 -8
- pyrogram/raw/types/attach_menu_bot_icon_color.py +9 -7
- pyrogram/raw/types/attach_menu_bots.py +10 -8
- pyrogram/raw/types/attach_menu_bots_bot.py +9 -7
- pyrogram/raw/types/attach_menu_bots_not_modified.py +7 -5
- pyrogram/raw/types/attach_menu_peer_type_bot_pm.py +7 -5
- pyrogram/raw/types/attach_menu_peer_type_broadcast.py +7 -5
- pyrogram/raw/types/attach_menu_peer_type_chat.py +7 -5
- pyrogram/raw/types/attach_menu_peer_type_pm.py +7 -5
- pyrogram/raw/types/attach_menu_peer_type_same_bot_pm.py +7 -5
- pyrogram/raw/types/{broadcast_revenue_transaction_refund.py → auction_bid_level.py} +25 -23
- pyrogram/raw/types/auth/__init__.py +1 -0
- pyrogram/raw/types/auth/authorization.py +14 -11
- pyrogram/raw/types/auth/authorization_sign_up_required.py +10 -7
- pyrogram/raw/types/auth/code_type_call.py +7 -5
- pyrogram/raw/types/auth/code_type_flash_call.py +7 -5
- pyrogram/raw/types/auth/code_type_fragment_sms.py +7 -5
- pyrogram/raw/types/auth/code_type_missed_call.py +7 -5
- pyrogram/raw/types/auth/code_type_sms.py +7 -5
- pyrogram/raw/types/auth/exported_authorization.py +9 -7
- pyrogram/raw/types/auth/logged_out.py +8 -6
- pyrogram/raw/types/auth/login_token.py +9 -7
- pyrogram/raw/types/auth/login_token_migrate_to.py +9 -7
- pyrogram/raw/types/auth/login_token_success.py +8 -6
- pyrogram/raw/types/auth/passkey_login_options.py +83 -0
- pyrogram/raw/types/auth/password_recovery.py +8 -6
- pyrogram/raw/types/auth/sent_code.py +13 -10
- pyrogram/raw/types/auth/sent_code_payment_required.py +56 -13
- pyrogram/raw/types/auth/sent_code_success.py +10 -7
- pyrogram/raw/types/auth/sent_code_type_app.py +8 -6
- pyrogram/raw/types/auth/sent_code_type_call.py +8 -6
- pyrogram/raw/types/auth/sent_code_type_email_code.py +13 -11
- pyrogram/raw/types/auth/sent_code_type_firebase_sms.py +13 -11
- pyrogram/raw/types/auth/sent_code_type_flash_call.py +8 -6
- pyrogram/raw/types/auth/sent_code_type_fragment_sms.py +9 -7
- pyrogram/raw/types/auth/sent_code_type_missed_call.py +9 -7
- pyrogram/raw/types/auth/sent_code_type_set_up_email_required.py +9 -7
- pyrogram/raw/types/auth/sent_code_type_sms.py +8 -6
- pyrogram/raw/types/auth/sent_code_type_sms_phrase.py +8 -6
- pyrogram/raw/types/auth/sent_code_type_sms_word.py +8 -6
- pyrogram/raw/types/authorization.py +25 -23
- pyrogram/raw/types/auto_download_settings.py +18 -16
- pyrogram/raw/types/auto_save_exception.py +9 -7
- pyrogram/raw/types/auto_save_settings.py +10 -8
- pyrogram/raw/types/available_effect.py +13 -11
- pyrogram/raw/types/available_reaction.py +18 -16
- pyrogram/raw/types/bad_msg_notification.py +6 -4
- pyrogram/raw/types/bad_server_salt.py +6 -4
- pyrogram/raw/types/bank_card_open_url.py +9 -7
- pyrogram/raw/types/base_theme_arctic.py +7 -5
- pyrogram/raw/types/base_theme_classic.py +7 -5
- pyrogram/raw/types/base_theme_day.py +7 -5
- pyrogram/raw/types/base_theme_night.py +7 -5
- pyrogram/raw/types/base_theme_tinted.py +7 -5
- pyrogram/raw/types/bind_auth_key_inner.py +6 -4
- pyrogram/raw/types/birthday.py +10 -8
- pyrogram/raw/types/boost.py +18 -16
- pyrogram/raw/types/bot_app.py +15 -13
- pyrogram/raw/types/bot_app_not_modified.py +7 -5
- pyrogram/raw/types/bot_app_settings.py +12 -10
- pyrogram/raw/types/bot_business_connection.py +13 -11
- pyrogram/raw/types/bot_command.py +23 -13
- pyrogram/raw/types/bot_command_scope_chat_admins.py +7 -5
- pyrogram/raw/types/bot_command_scope_chats.py +7 -5
- pyrogram/raw/types/bot_command_scope_default.py +7 -5
- pyrogram/raw/types/bot_command_scope_peer.py +8 -6
- pyrogram/raw/types/bot_command_scope_peer_admins.py +8 -6
- pyrogram/raw/types/bot_command_scope_peer_user.py +9 -7
- pyrogram/raw/types/bot_command_scope_users.py +7 -5
- pyrogram/raw/types/bot_info.py +17 -15
- pyrogram/raw/types/bot_inline_media_result.py +14 -12
- pyrogram/raw/types/bot_inline_message_media_auto.py +11 -9
- pyrogram/raw/types/bot_inline_message_media_contact.py +12 -10
- pyrogram/raw/types/bot_inline_message_media_geo.py +12 -10
- pyrogram/raw/types/bot_inline_message_media_invoice.py +15 -13
- pyrogram/raw/types/bot_inline_message_media_venue.py +14 -12
- pyrogram/raw/types/bot_inline_message_media_web_page.py +16 -14
- pyrogram/raw/types/bot_inline_message_rich_message.py +86 -0
- pyrogram/raw/types/bot_inline_message_text.py +12 -10
- pyrogram/raw/types/bot_inline_result.py +15 -13
- pyrogram/raw/types/bot_menu_button.py +9 -7
- pyrogram/raw/types/bot_menu_button_commands.py +7 -5
- pyrogram/raw/types/bot_menu_button_default.py +7 -5
- pyrogram/raw/types/bot_preview_media.py +9 -7
- pyrogram/raw/types/bot_verification.py +10 -8
- pyrogram/raw/types/bot_verifier_settings.py +11 -9
- pyrogram/raw/types/bots/__init__.py +3 -0
- pyrogram/raw/types/bots/access_settings.py +93 -0
- pyrogram/raw/types/bots/bot_info.py +10 -8
- pyrogram/raw/types/bots/exported_bot_token.py +83 -0
- pyrogram/raw/types/bots/popular_app_bots.py +9 -7
- pyrogram/raw/types/bots/preview_info.py +9 -7
- pyrogram/raw/types/bots/requested_button.py +83 -0
- pyrogram/raw/types/business_away_message.py +11 -9
- pyrogram/raw/types/business_away_message_schedule_always.py +7 -5
- pyrogram/raw/types/business_away_message_schedule_custom.py +9 -7
- pyrogram/raw/types/business_away_message_schedule_outside_work_hours.py +7 -5
- pyrogram/raw/types/business_bot_recipients.py +14 -12
- pyrogram/raw/types/business_bot_rights.py +21 -19
- pyrogram/raw/types/business_chat_link.py +12 -10
- pyrogram/raw/types/business_greeting_message.py +10 -8
- pyrogram/raw/types/business_intro.py +10 -8
- pyrogram/raw/types/business_location.py +9 -7
- pyrogram/raw/types/business_recipients.py +13 -11
- pyrogram/raw/types/business_weekly_open.py +9 -7
- pyrogram/raw/types/business_work_hours.py +10 -8
- pyrogram/raw/types/cdn_config.py +8 -6
- pyrogram/raw/types/cdn_public_key.py +9 -7
- pyrogram/raw/types/channel.py +97 -58
- pyrogram/raw/types/channel_admin_log_event.py +11 -9
- pyrogram/raw/types/channel_admin_log_event_action_change_about.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_available_reactions.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_emoji_status.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_emoji_sticker_set.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_history_ttl.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_linked_chat.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_location.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_peer_color.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_photo.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_profile_peer_color.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_sticker_set.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_title.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_username.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_usernames.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_change_wallpaper.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_create_topic.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_default_banned_rights.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_delete_message.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_delete_topic.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_discard_group_call.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_edit_message.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_edit_topic.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_exported_invite_delete.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_exported_invite_edit.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_exported_invite_revoke.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_participant_edit_rank.py +90 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_invite.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_participant_join.py +7 -5
- pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_invite.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_request.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_participant_leave.py +7 -5
- pyrogram/raw/types/channel_admin_log_event_action_participant_mute.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_participant_sub_extend.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_admin.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_ban.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_participant_unmute.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_participant_volume.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_pin_topic.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_send_message.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_start_group_call.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_stop_poll.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_toggle_anti_spam.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_toggle_autotranslation.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_toggle_forum.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_toggle_group_call_setting.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_toggle_invites.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_toggle_no_forwards.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_toggle_pre_history_hidden.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_toggle_signature_profiles.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_toggle_signatures.py +8 -6
- pyrogram/raw/types/channel_admin_log_event_action_toggle_slow_mode.py +9 -7
- pyrogram/raw/types/channel_admin_log_event_action_update_pinned.py +8 -6
- pyrogram/raw/types/channel_admin_log_events_filter.py +35 -27
- pyrogram/raw/types/channel_forbidden.py +22 -14
- pyrogram/raw/types/channel_full.py +103 -73
- pyrogram/raw/types/channel_location.py +9 -7
- pyrogram/raw/types/channel_location_empty.py +7 -5
- pyrogram/raw/types/channel_messages_filter.py +9 -7
- pyrogram/raw/types/channel_messages_filter_empty.py +7 -5
- pyrogram/raw/types/channel_participant.py +24 -13
- pyrogram/raw/types/channel_participant_admin.py +14 -12
- pyrogram/raw/types/channel_participant_banned.py +26 -15
- pyrogram/raw/types/channel_participant_creator.py +10 -8
- pyrogram/raw/types/channel_participant_left.py +8 -6
- pyrogram/raw/types/channel_participant_self.py +26 -15
- pyrogram/raw/types/channel_participants_admins.py +7 -5
- pyrogram/raw/types/channel_participants_banned.py +8 -6
- pyrogram/raw/types/channel_participants_bots.py +7 -5
- pyrogram/raw/types/channel_participants_contacts.py +8 -6
- pyrogram/raw/types/channel_participants_kicked.py +8 -6
- pyrogram/raw/types/channel_participants_mentions.py +10 -7
- pyrogram/raw/types/channel_participants_recent.py +7 -5
- pyrogram/raw/types/channel_participants_search.py +8 -6
- pyrogram/raw/types/channels/admin_log_results.py +10 -8
- pyrogram/raw/types/channels/channel_participant.py +10 -8
- pyrogram/raw/types/channels/channel_participants.py +11 -9
- pyrogram/raw/types/channels/channel_participants_not_modified.py +7 -5
- pyrogram/raw/types/channels/send_as_peers.py +10 -8
- pyrogram/raw/types/channels/sponsored_message_report_result_ads_hidden.py +7 -5
- pyrogram/raw/types/channels/sponsored_message_report_result_choose_option.py +9 -7
- pyrogram/raw/types/channels/sponsored_message_report_result_reported.py +7 -5
- pyrogram/raw/types/chat.py +25 -29
- pyrogram/raw/types/chat_admin_rights.py +42 -22
- pyrogram/raw/types/chat_admin_with_invites.py +10 -8
- pyrogram/raw/types/chat_banned_rights.py +48 -28
- pyrogram/raw/types/chat_empty.py +8 -6
- pyrogram/raw/types/chat_forbidden.py +9 -7
- pyrogram/raw/types/chat_full.py +27 -25
- pyrogram/raw/types/chat_invite.py +25 -23
- pyrogram/raw/types/chat_invite_already.py +8 -6
- pyrogram/raw/types/chat_invite_exported.py +21 -19
- pyrogram/raw/types/chat_invite_importer.py +13 -11
- pyrogram/raw/types/chat_invite_peek.py +9 -7
- pyrogram/raw/types/chat_invite_public_join_requests.py +7 -5
- pyrogram/raw/types/chat_onlines.py +8 -6
- pyrogram/raw/types/chat_participant.py +28 -15
- pyrogram/raw/types/chat_participant_admin.py +28 -15
- pyrogram/raw/types/chat_participant_creator.py +26 -13
- pyrogram/raw/types/chat_participants.py +10 -8
- pyrogram/raw/types/chat_participants_forbidden.py +9 -7
- pyrogram/raw/types/chat_photo.py +11 -9
- pyrogram/raw/types/chat_photo_empty.py +7 -5
- pyrogram/raw/types/chat_reactions_all.py +8 -6
- pyrogram/raw/types/chat_reactions_none.py +7 -5
- pyrogram/raw/types/chat_reactions_some.py +8 -6
- pyrogram/raw/types/chat_theme.py +74 -0
- pyrogram/raw/types/chat_theme_unique_gift.py +82 -0
- pyrogram/raw/types/chatlists/chatlist_invite.py +13 -11
- pyrogram/raw/types/chatlists/chatlist_invite_already.py +12 -10
- pyrogram/raw/types/chatlists/chatlist_updates.py +10 -8
- pyrogram/raw/types/chatlists/exported_chatlist_invite.py +9 -7
- pyrogram/raw/types/chatlists/exported_invites.py +10 -8
- pyrogram/raw/types/client_dh_inner_data.py +6 -4
- pyrogram/raw/types/code_settings.py +16 -14
- pyrogram/raw/{base/broadcast_revenue_balances.py → types/communities/__init__.py} +2 -4
- pyrogram/raw/types/{stats/broadcast_revenue_stats.py → communities/participant_joined_chats.py} +31 -29
- pyrogram/raw/types/communities/peer_link_requests.py +118 -0
- pyrogram/raw/types/community.py +157 -0
- pyrogram/raw/types/community_forbidden.py +93 -0
- pyrogram/raw/types/community_full.py +127 -0
- pyrogram/raw/types/community_peer.py +91 -0
- pyrogram/raw/types/community_peer_request.py +98 -0
- pyrogram/raw/types/config.py +54 -52
- pyrogram/raw/types/connected_bot.py +41 -13
- pyrogram/raw/types/connected_bot_star_ref.py +15 -13
- pyrogram/raw/types/contact.py +9 -7
- pyrogram/raw/types/contact_birthday.py +9 -7
- pyrogram/raw/types/contact_status.py +9 -7
- pyrogram/raw/types/contacts/blocked.py +10 -8
- pyrogram/raw/types/contacts/blocked_slice.py +11 -9
- pyrogram/raw/types/contacts/contact_birthdays.py +9 -7
- pyrogram/raw/types/contacts/contacts.py +10 -8
- pyrogram/raw/types/contacts/contacts_not_modified.py +7 -5
- pyrogram/raw/types/contacts/found.py +11 -9
- pyrogram/raw/types/contacts/imported_contacts.py +11 -9
- pyrogram/raw/types/contacts/resolved_peer.py +10 -8
- pyrogram/raw/types/contacts/sponsored_peers.py +10 -8
- pyrogram/raw/types/contacts/sponsored_peers_empty.py +7 -5
- pyrogram/raw/types/contacts/top_peers.py +10 -8
- pyrogram/raw/types/contacts/top_peers_disabled.py +7 -5
- pyrogram/raw/types/contacts/top_peers_not_modified.py +7 -5
- pyrogram/raw/types/data_json.py +8 -6
- pyrogram/raw/types/dc_option.py +17 -15
- pyrogram/raw/types/default_history_ttl.py +8 -6
- pyrogram/raw/types/destroy_auth_key_fail.py +6 -4
- pyrogram/raw/types/destroy_auth_key_none.py +6 -4
- pyrogram/raw/types/destroy_auth_key_ok.py +6 -4
- pyrogram/raw/types/destroy_session_none.py +6 -4
- pyrogram/raw/types/destroy_session_ok.py +6 -4
- pyrogram/raw/types/dh_gen_fail.py +6 -4
- pyrogram/raw/types/dh_gen_ok.py +6 -4
- pyrogram/raw/types/dh_gen_retry.py +6 -4
- pyrogram/raw/types/dialog.py +35 -25
- pyrogram/raw/types/dialog_community.py +90 -0
- pyrogram/raw/types/dialog_filter.py +23 -21
- pyrogram/raw/types/dialog_filter_chatlist.py +15 -13
- pyrogram/raw/types/dialog_filter_default.py +7 -5
- pyrogram/raw/types/dialog_filter_suggested.py +9 -7
- pyrogram/raw/types/dialog_folder.py +15 -13
- pyrogram/raw/types/dialog_peer.py +8 -6
- pyrogram/raw/types/dialog_peer_community.py +83 -0
- pyrogram/raw/types/dialog_peer_folder.py +8 -6
- pyrogram/raw/types/disallowed_gifts_settings.py +20 -12
- pyrogram/raw/types/document.py +17 -15
- pyrogram/raw/types/document_attribute_animated.py +7 -5
- pyrogram/raw/types/document_attribute_audio.py +12 -10
- pyrogram/raw/types/document_attribute_custom_emoji.py +11 -9
- pyrogram/raw/types/document_attribute_filename.py +8 -6
- pyrogram/raw/types/document_attribute_has_stickers.py +7 -5
- pyrogram/raw/types/document_attribute_image_size.py +9 -7
- pyrogram/raw/types/document_attribute_sticker.py +11 -9
- pyrogram/raw/types/document_attribute_video.py +16 -14
- pyrogram/raw/types/document_empty.py +8 -6
- pyrogram/raw/types/draft_message.py +39 -17
- pyrogram/raw/types/draft_message_empty.py +8 -6
- pyrogram/raw/types/email_verification_apple.py +8 -6
- pyrogram/raw/types/email_verification_code.py +8 -6
- pyrogram/raw/types/email_verification_google.py +8 -6
- pyrogram/raw/types/email_verify_purpose_login_change.py +7 -5
- pyrogram/raw/types/email_verify_purpose_login_setup.py +9 -7
- pyrogram/raw/types/email_verify_purpose_passport.py +7 -5
- pyrogram/raw/types/emoji_group.py +10 -8
- pyrogram/raw/types/emoji_group_greeting.py +10 -8
- pyrogram/raw/types/emoji_group_premium.py +9 -7
- pyrogram/raw/types/emoji_keyword.py +9 -7
- pyrogram/raw/types/emoji_keyword_deleted.py +9 -7
- pyrogram/raw/types/emoji_keywords_difference.py +11 -9
- pyrogram/raw/types/emoji_language.py +8 -6
- pyrogram/raw/types/emoji_list.py +9 -7
- pyrogram/raw/types/emoji_list_not_modified.py +7 -5
- pyrogram/raw/types/emoji_status.py +9 -7
- pyrogram/raw/types/emoji_status_collectible.py +17 -15
- pyrogram/raw/types/emoji_status_empty.py +7 -5
- pyrogram/raw/types/emoji_url.py +8 -6
- pyrogram/raw/types/encrypted_chat.py +14 -12
- pyrogram/raw/types/encrypted_chat_discarded.py +9 -7
- pyrogram/raw/types/encrypted_chat_empty.py +8 -6
- pyrogram/raw/types/encrypted_chat_requested.py +14 -12
- pyrogram/raw/types/encrypted_chat_waiting.py +12 -10
- pyrogram/raw/types/encrypted_file.py +12 -10
- pyrogram/raw/types/encrypted_file_empty.py +7 -5
- pyrogram/raw/types/encrypted_message.py +12 -10
- pyrogram/raw/types/encrypted_message_service.py +11 -9
- pyrogram/raw/types/ephemeral_message.py +171 -0
- pyrogram/raw/types/exported_chatlist_invite.py +14 -17
- pyrogram/raw/types/exported_contact_token.py +9 -7
- pyrogram/raw/types/exported_message_link.py +9 -7
- pyrogram/raw/types/exported_story_link.py +8 -6
- pyrogram/raw/types/fact_check.py +11 -9
- pyrogram/raw/types/file_hash.py +10 -8
- pyrogram/raw/types/folder.py +13 -11
- pyrogram/raw/types/folder_peer.py +9 -7
- pyrogram/raw/types/forum_topic.py +53 -29
- pyrogram/raw/types/forum_topic_deleted.py +8 -6
- pyrogram/raw/types/found_story.py +9 -7
- pyrogram/raw/types/fragment/collectible_info.py +13 -11
- pyrogram/raw/types/game.py +14 -12
- pyrogram/raw/types/geo_point.py +11 -9
- pyrogram/raw/types/geo_point_address.py +11 -9
- pyrogram/raw/types/geo_point_empty.py +7 -5
- pyrogram/raw/types/global_privacy_settings.py +15 -13
- pyrogram/raw/types/group_call.py +70 -31
- pyrogram/raw/types/group_call_discarded.py +10 -8
- pyrogram/raw/types/group_call_donor.py +98 -0
- pyrogram/raw/types/group_call_message.py +115 -0
- pyrogram/raw/types/group_call_participant.py +39 -28
- pyrogram/raw/types/group_call_participant_video.py +11 -9
- pyrogram/raw/types/group_call_participant_video_source_group.py +9 -7
- pyrogram/raw/types/group_call_stream_channel.py +10 -8
- pyrogram/raw/types/help/app_config.py +9 -7
- pyrogram/raw/types/help/app_config_not_modified.py +7 -5
- pyrogram/raw/types/help/app_update.py +15 -13
- pyrogram/raw/types/help/config_simple.py +6 -4
- pyrogram/raw/types/help/countries_list.py +9 -7
- pyrogram/raw/types/help/countries_list_not_modified.py +7 -5
- pyrogram/raw/types/help/country.py +12 -10
- pyrogram/raw/types/help/country_code.py +10 -8
- pyrogram/raw/types/help/deep_link_info.py +10 -8
- pyrogram/raw/types/help/deep_link_info_empty.py +7 -5
- pyrogram/raw/types/help/invite_text.py +8 -6
- pyrogram/raw/types/help/no_app_update.py +7 -5
- pyrogram/raw/types/help/passport_config.py +9 -7
- pyrogram/raw/types/help/passport_config_not_modified.py +7 -5
- pyrogram/raw/types/help/peer_color_option.py +13 -11
- pyrogram/raw/types/help/peer_color_profile_set.py +10 -8
- pyrogram/raw/types/help/peer_color_set.py +8 -6
- pyrogram/raw/types/help/peer_colors.py +9 -7
- pyrogram/raw/types/help/peer_colors_not_modified.py +7 -5
- pyrogram/raw/types/help/premium_promo.py +13 -11
- pyrogram/raw/types/help/promo_data.py +17 -15
- pyrogram/raw/types/help/promo_data_empty.py +8 -6
- pyrogram/raw/types/help/recent_me_urls.py +10 -8
- pyrogram/raw/types/help/support.py +9 -7
- pyrogram/raw/types/help/support_name.py +8 -6
- pyrogram/raw/types/help/terms_of_service.py +12 -10
- pyrogram/raw/types/help/terms_of_service_update.py +9 -7
- pyrogram/raw/types/help/terms_of_service_update_empty.py +8 -6
- pyrogram/raw/types/help/timezones_list.py +9 -7
- pyrogram/raw/types/help/timezones_list_not_modified.py +7 -5
- pyrogram/raw/types/help/user_info.py +11 -9
- pyrogram/raw/types/help/user_info_empty.py +7 -5
- pyrogram/raw/types/high_score.py +10 -8
- pyrogram/raw/types/http_wait.py +6 -4
- pyrogram/raw/types/imported_contact.py +9 -7
- pyrogram/raw/types/inline_bot_switch_pm.py +9 -7
- pyrogram/raw/types/inline_bot_web_view.py +9 -7
- pyrogram/raw/types/inline_query_peer_type_bot_pm.py +7 -5
- pyrogram/raw/types/inline_query_peer_type_broadcast.py +7 -5
- pyrogram/raw/types/inline_query_peer_type_chat.py +7 -5
- pyrogram/raw/types/inline_query_peer_type_megagroup.py +7 -5
- pyrogram/raw/types/inline_query_peer_type_pm.py +7 -5
- pyrogram/raw/types/inline_query_peer_type_same_bot_pm.py +7 -5
- pyrogram/raw/types/input_ai_compose_tone_default.py +74 -0
- pyrogram/raw/types/input_ai_compose_tone_id.py +82 -0
- pyrogram/raw/types/input_ai_compose_tone_single_use.py +74 -0
- pyrogram/raw/types/input_ai_compose_tone_slug.py +74 -0
- pyrogram/raw/types/input_app_event.py +11 -9
- pyrogram/raw/types/input_bot_app_id.py +9 -7
- pyrogram/raw/types/input_bot_app_short_name.py +9 -7
- pyrogram/raw/types/input_bot_inline_message_game.py +8 -6
- pyrogram/raw/types/input_bot_inline_message_id.py +19 -8
- pyrogram/raw/types/input_bot_inline_message_id64.py +20 -9
- pyrogram/raw/types/input_bot_inline_message_media_auto.py +11 -9
- pyrogram/raw/types/input_bot_inline_message_media_contact.py +12 -10
- pyrogram/raw/types/input_bot_inline_message_media_geo.py +12 -10
- pyrogram/raw/types/input_bot_inline_message_media_invoice.py +15 -13
- pyrogram/raw/types/input_bot_inline_message_media_venue.py +14 -12
- pyrogram/raw/types/input_bot_inline_message_media_web_page.py +15 -13
- pyrogram/raw/types/input_bot_inline_message_rich_message.py +86 -0
- pyrogram/raw/types/input_bot_inline_message_text.py +12 -10
- pyrogram/raw/types/input_bot_inline_result.py +15 -13
- pyrogram/raw/types/input_bot_inline_result_document.py +13 -11
- pyrogram/raw/types/input_bot_inline_result_game.py +10 -8
- pyrogram/raw/types/input_bot_inline_result_photo.py +11 -9
- pyrogram/raw/types/input_business_away_message.py +11 -9
- pyrogram/raw/types/input_business_bot_recipients.py +14 -12
- pyrogram/raw/types/input_business_chat_link.py +10 -8
- pyrogram/raw/types/input_business_greeting_message.py +10 -8
- pyrogram/raw/types/input_business_intro.py +10 -8
- pyrogram/raw/types/input_business_recipients.py +13 -11
- pyrogram/raw/types/input_channel.py +9 -7
- pyrogram/raw/types/input_channel_empty.py +7 -5
- pyrogram/raw/types/input_channel_from_message.py +10 -8
- pyrogram/raw/types/input_chat_photo.py +8 -6
- pyrogram/raw/types/input_chat_photo_empty.py +7 -5
- pyrogram/raw/types/input_chat_theme.py +74 -0
- pyrogram/raw/types/{message_action_phone_number_request.py → input_chat_theme_empty.py} +13 -11
- pyrogram/raw/types/input_chat_theme_unique_gift.py +74 -0
- pyrogram/raw/types/input_chat_uploaded_photo.py +11 -9
- pyrogram/raw/types/input_chatlist_dialog_filter.py +8 -6
- pyrogram/raw/types/input_check_password_empty.py +7 -5
- pyrogram/raw/types/input_check_password_srp.py +10 -8
- pyrogram/raw/types/input_client_proxy.py +9 -7
- pyrogram/raw/types/input_collectible_phone.py +8 -6
- pyrogram/raw/types/input_collectible_username.py +8 -6
- pyrogram/raw/types/input_dialog_peer.py +8 -6
- pyrogram/raw/types/input_dialog_peer_community.py +74 -0
- pyrogram/raw/types/input_dialog_peer_folder.py +8 -6
- pyrogram/raw/types/input_document.py +10 -8
- pyrogram/raw/types/input_document_empty.py +7 -5
- pyrogram/raw/types/input_document_file_location.py +11 -9
- pyrogram/raw/types/input_emoji_status_collectible.py +9 -7
- pyrogram/raw/types/input_encrypted_chat.py +9 -7
- pyrogram/raw/types/input_encrypted_file.py +9 -7
- pyrogram/raw/types/input_encrypted_file_big_uploaded.py +10 -8
- pyrogram/raw/types/input_encrypted_file_empty.py +7 -5
- pyrogram/raw/types/input_encrypted_file_location.py +9 -7
- pyrogram/raw/types/input_encrypted_file_uploaded.py +11 -9
- pyrogram/raw/types/input_file.py +11 -9
- pyrogram/raw/types/input_file_big.py +10 -8
- pyrogram/raw/types/input_file_location.py +11 -9
- pyrogram/raw/types/input_file_story_document.py +8 -6
- pyrogram/raw/types/input_folder_peer.py +9 -7
- pyrogram/raw/types/input_game_id.py +9 -7
- pyrogram/raw/types/input_game_short_name.py +9 -7
- pyrogram/raw/types/input_geo_point.py +10 -8
- pyrogram/raw/types/input_geo_point_empty.py +7 -5
- pyrogram/raw/types/input_group_call.py +9 -7
- pyrogram/raw/types/input_group_call_invite_message.py +8 -6
- pyrogram/raw/types/input_group_call_slug.py +8 -6
- pyrogram/raw/types/input_group_call_stream.py +12 -10
- pyrogram/raw/types/input_invoice_business_bot_transfer_stars.py +9 -7
- pyrogram/raw/types/input_invoice_chat_invite_subscription.py +8 -6
- pyrogram/raw/types/input_invoice_message.py +9 -7
- pyrogram/raw/types/input_invoice_premium_auth_code.py +74 -0
- pyrogram/raw/types/input_invoice_premium_gift_code.py +9 -7
- pyrogram/raw/types/input_invoice_premium_gift_stars.py +10 -8
- pyrogram/raw/types/input_invoice_slug.py +8 -6
- pyrogram/raw/types/input_invoice_star_gift.py +12 -10
- pyrogram/raw/types/input_invoice_star_gift_auction_bid.py +116 -0
- pyrogram/raw/types/input_invoice_star_gift_drop_original_details.py +74 -0
- pyrogram/raw/types/input_invoice_star_gift_prepaid_upgrade.py +82 -0
- pyrogram/raw/types/input_invoice_star_gift_resale.py +24 -14
- pyrogram/raw/types/input_invoice_star_gift_transfer.py +9 -7
- pyrogram/raw/types/input_invoice_star_gift_upgrade.py +9 -7
- pyrogram/raw/types/input_invoice_stars.py +8 -6
- pyrogram/raw/types/input_keyboard_button_request_peer.py +38 -17
- pyrogram/raw/types/input_keyboard_button_url_auth.py +36 -15
- pyrogram/raw/types/input_keyboard_button_user_profile.py +37 -14
- pyrogram/raw/types/input_media_area_channel_post.py +10 -8
- pyrogram/raw/types/input_media_area_venue.py +10 -8
- pyrogram/raw/types/input_media_contact.py +11 -9
- pyrogram/raw/types/input_media_dice.py +8 -6
- pyrogram/raw/types/input_media_document.py +13 -11
- pyrogram/raw/types/input_media_document_external.py +12 -10
- pyrogram/raw/types/input_media_empty.py +7 -5
- pyrogram/raw/types/input_media_game.py +8 -6
- pyrogram/raw/types/input_media_geo_live.py +12 -10
- pyrogram/raw/types/input_media_geo_point.py +8 -6
- pyrogram/raw/types/input_media_invoice.py +16 -14
- pyrogram/raw/types/input_media_paid_media.py +10 -8
- pyrogram/raw/types/input_media_photo.py +31 -13
- pyrogram/raw/types/input_media_photo_external.py +10 -8
- pyrogram/raw/types/input_media_poll.py +40 -18
- pyrogram/raw/types/input_media_stake_dice.py +90 -0
- pyrogram/raw/types/input_media_story.py +9 -7
- pyrogram/raw/types/input_media_todo.py +74 -0
- pyrogram/raw/types/input_media_uploaded_document.py +18 -16
- pyrogram/raw/types/input_media_uploaded_photo.py +32 -14
- pyrogram/raw/types/input_media_venue.py +13 -11
- pyrogram/raw/types/input_media_web_page.py +11 -9
- pyrogram/raw/types/input_message_callback_query.py +9 -7
- pyrogram/raw/types/input_message_entity_mention_name.py +10 -8
- pyrogram/raw/types/input_message_id.py +8 -6
- pyrogram/raw/types/input_message_pinned.py +7 -5
- pyrogram/raw/types/input_message_read_metric.py +114 -0
- pyrogram/raw/types/input_message_reply_to.py +8 -6
- pyrogram/raw/types/input_messages_filter_chat_photos.py +7 -5
- pyrogram/raw/types/input_messages_filter_contacts.py +7 -5
- pyrogram/raw/types/input_messages_filter_document.py +7 -5
- pyrogram/raw/types/input_messages_filter_empty.py +7 -5
- pyrogram/raw/types/input_messages_filter_geo.py +7 -5
- pyrogram/raw/types/input_messages_filter_gif.py +7 -5
- pyrogram/raw/types/input_messages_filter_music.py +7 -5
- pyrogram/raw/types/input_messages_filter_my_mentions.py +7 -5
- pyrogram/raw/types/input_messages_filter_phone_calls.py +8 -6
- pyrogram/raw/types/input_messages_filter_photo_video.py +7 -5
- pyrogram/raw/types/input_messages_filter_photos.py +7 -5
- pyrogram/raw/types/input_messages_filter_pinned.py +7 -5
- pyrogram/raw/types/{input_messages_filter_photo_video_documents.py → input_messages_filter_poll.py} +12 -10
- pyrogram/raw/types/input_messages_filter_round_video.py +7 -5
- pyrogram/raw/types/input_messages_filter_round_voice.py +7 -5
- pyrogram/raw/types/input_messages_filter_url.py +7 -5
- pyrogram/raw/types/input_messages_filter_video.py +7 -5
- pyrogram/raw/types/input_messages_filter_voice.py +7 -5
- pyrogram/raw/types/input_notify_broadcasts.py +7 -5
- pyrogram/raw/types/input_notify_chats.py +7 -5
- pyrogram/raw/types/input_notify_community.py +74 -0
- pyrogram/raw/types/input_notify_forum_topic.py +9 -7
- pyrogram/raw/types/input_notify_peer.py +8 -6
- pyrogram/raw/types/input_notify_users.py +7 -5
- pyrogram/raw/types/input_page_block_map.py +106 -0
- pyrogram/raw/types/input_passkey_credential_firebase_pnv.py +74 -0
- pyrogram/raw/types/input_passkey_credential_public_key.py +90 -0
- pyrogram/raw/types/input_passkey_response_login.py +98 -0
- pyrogram/raw/types/input_passkey_response_register.py +82 -0
- pyrogram/raw/types/input_payment_credentials.py +9 -7
- pyrogram/raw/types/input_payment_credentials_apple_pay.py +8 -6
- pyrogram/raw/types/input_payment_credentials_google_pay.py +8 -6
- pyrogram/raw/types/input_payment_credentials_saved.py +9 -7
- pyrogram/raw/types/input_peer_channel.py +9 -7
- pyrogram/raw/types/input_peer_channel_from_message.py +10 -8
- pyrogram/raw/types/input_peer_chat.py +8 -6
- pyrogram/raw/types/input_peer_color_collectible.py +74 -0
- pyrogram/raw/types/input_peer_empty.py +7 -5
- pyrogram/raw/types/input_peer_notify_settings.py +14 -12
- pyrogram/raw/types/input_peer_photo_file_location.py +10 -8
- pyrogram/raw/types/input_peer_self.py +7 -5
- pyrogram/raw/types/input_peer_user.py +9 -7
- pyrogram/raw/types/input_peer_user_from_message.py +10 -8
- pyrogram/raw/types/input_phone_call.py +9 -7
- pyrogram/raw/types/input_phone_contact.py +30 -16
- pyrogram/raw/types/input_photo.py +10 -8
- pyrogram/raw/types/input_photo_empty.py +7 -5
- pyrogram/raw/types/input_photo_file_location.py +11 -9
- pyrogram/raw/types/input_photo_legacy_file_location.py +13 -11
- pyrogram/raw/types/input_poll_answer.py +86 -0
- pyrogram/raw/types/input_privacy_key_about.py +7 -5
- pyrogram/raw/types/input_privacy_key_added_by_phone.py +7 -5
- pyrogram/raw/types/input_privacy_key_birthday.py +7 -5
- pyrogram/raw/types/input_privacy_key_chat_invite.py +7 -5
- pyrogram/raw/types/input_privacy_key_forwards.py +7 -5
- pyrogram/raw/types/input_privacy_key_no_paid_messages.py +7 -5
- pyrogram/raw/types/input_privacy_key_phone_call.py +7 -5
- pyrogram/raw/types/input_privacy_key_phone_number.py +7 -5
- pyrogram/raw/types/input_privacy_key_phone_p2_p.py +7 -5
- pyrogram/raw/types/input_privacy_key_profile_photo.py +7 -5
- pyrogram/raw/types/input_privacy_key_saved_music.py +69 -0
- pyrogram/raw/types/input_privacy_key_star_gifts_auto_save.py +7 -5
- pyrogram/raw/types/input_privacy_key_status_timestamp.py +7 -5
- pyrogram/raw/types/input_privacy_key_voice_messages.py +7 -5
- pyrogram/raw/types/input_privacy_value_allow_all.py +7 -5
- pyrogram/raw/types/input_privacy_value_allow_bots.py +7 -5
- pyrogram/raw/types/input_privacy_value_allow_chat_participants.py +8 -6
- pyrogram/raw/types/input_privacy_value_allow_close_friends.py +7 -5
- pyrogram/raw/types/input_privacy_value_allow_contacts.py +7 -5
- pyrogram/raw/types/input_privacy_value_allow_premium.py +7 -5
- pyrogram/raw/types/input_privacy_value_allow_users.py +8 -6
- pyrogram/raw/types/input_privacy_value_disallow_all.py +7 -5
- pyrogram/raw/types/input_privacy_value_disallow_bots.py +7 -5
- pyrogram/raw/types/input_privacy_value_disallow_chat_participants.py +8 -6
- pyrogram/raw/types/input_privacy_value_disallow_contacts.py +7 -5
- pyrogram/raw/types/input_privacy_value_disallow_users.py +8 -6
- pyrogram/raw/types/input_quick_reply_shortcut.py +8 -6
- pyrogram/raw/types/input_quick_reply_shortcut_id.py +8 -6
- pyrogram/raw/{functions/folders/delete_folder.py → types/input_reply_to_ephemeral_message.py} +20 -18
- pyrogram/raw/types/input_reply_to_message.py +46 -16
- pyrogram/raw/types/input_reply_to_mono_forum.py +74 -0
- pyrogram/raw/types/input_reply_to_story.py +9 -7
- pyrogram/raw/types/input_report_reason_child_abuse.py +7 -5
- pyrogram/raw/types/input_report_reason_copyright.py +7 -5
- pyrogram/raw/types/input_report_reason_fake.py +7 -5
- pyrogram/raw/types/input_report_reason_geo_irrelevant.py +7 -5
- pyrogram/raw/types/input_report_reason_illegal_drugs.py +7 -5
- pyrogram/raw/types/input_report_reason_other.py +7 -5
- pyrogram/raw/types/input_report_reason_personal_details.py +7 -5
- pyrogram/raw/types/input_report_reason_pornography.py +7 -5
- pyrogram/raw/types/input_report_reason_spam.py +7 -5
- pyrogram/raw/types/input_report_reason_violence.py +7 -5
- pyrogram/raw/types/input_rich_file_document.py +82 -0
- pyrogram/raw/types/input_rich_file_photo.py +82 -0
- pyrogram/raw/types/input_rich_message.py +118 -0
- pyrogram/raw/types/input_rich_message_html.py +98 -0
- pyrogram/raw/types/input_rich_message_markdown.py +98 -0
- pyrogram/raw/types/input_saved_star_gift_chat.py +9 -7
- pyrogram/raw/types/input_saved_star_gift_slug.py +8 -6
- pyrogram/raw/types/input_saved_star_gift_user.py +8 -6
- pyrogram/raw/types/input_secure_file.py +9 -7
- pyrogram/raw/types/input_secure_file_location.py +9 -7
- pyrogram/raw/types/input_secure_file_uploaded.py +12 -10
- pyrogram/raw/types/input_secure_value.py +15 -13
- pyrogram/raw/types/input_send_message_rich_message_draft_action.py +82 -0
- pyrogram/raw/types/input_single_media.py +11 -9
- pyrogram/raw/types/input_star_gift_auction.py +74 -0
- pyrogram/raw/types/input_star_gift_auction_slug.py +74 -0
- pyrogram/raw/types/input_stars_transaction.py +9 -7
- pyrogram/raw/types/input_sticker_set_animated_emoji.py +7 -5
- pyrogram/raw/types/input_sticker_set_animated_emoji_animations.py +7 -5
- pyrogram/raw/types/input_sticker_set_dice.py +8 -6
- pyrogram/raw/types/input_sticker_set_emoji_channel_default_statuses.py +7 -5
- pyrogram/raw/types/input_sticker_set_emoji_default_statuses.py +7 -5
- pyrogram/raw/types/input_sticker_set_emoji_default_topic_icons.py +7 -5
- pyrogram/raw/types/input_sticker_set_emoji_generic_animations.py +7 -5
- pyrogram/raw/types/input_sticker_set_empty.py +7 -5
- pyrogram/raw/types/input_sticker_set_id.py +9 -7
- pyrogram/raw/types/input_sticker_set_item.py +11 -9
- pyrogram/raw/types/input_sticker_set_premium_gifts.py +7 -5
- pyrogram/raw/types/input_sticker_set_short_name.py +8 -6
- pyrogram/raw/types/input_sticker_set_thumb.py +9 -7
- pyrogram/raw/types/input_sticker_set_ton_gifts.py +69 -0
- pyrogram/raw/types/input_stickered_media_document.py +8 -6
- pyrogram/raw/types/input_stickered_media_photo.py +8 -6
- pyrogram/raw/types/input_store_payment_auth_code.py +25 -15
- pyrogram/raw/types/input_store_payment_gift_premium.py +10 -8
- pyrogram/raw/types/input_store_payment_premium_gift_code.py +12 -10
- pyrogram/raw/types/input_store_payment_premium_giveaway.py +17 -15
- pyrogram/raw/types/input_store_payment_premium_subscription.py +9 -7
- pyrogram/raw/types/input_store_payment_stars_gift.py +11 -9
- pyrogram/raw/types/input_store_payment_stars_giveaway.py +19 -17
- pyrogram/raw/types/input_store_payment_stars_topup.py +29 -15
- pyrogram/raw/types/input_takeout_file_location.py +7 -5
- pyrogram/raw/types/input_theme.py +9 -7
- pyrogram/raw/types/input_theme_settings.py +14 -12
- pyrogram/raw/types/input_theme_slug.py +8 -6
- pyrogram/raw/types/input_user.py +9 -7
- pyrogram/raw/types/input_user_empty.py +7 -5
- pyrogram/raw/types/input_user_from_message.py +10 -8
- pyrogram/raw/types/input_user_self.py +7 -5
- pyrogram/raw/types/input_wall_paper.py +9 -7
- pyrogram/raw/types/input_wall_paper_no_file.py +8 -6
- pyrogram/raw/types/input_wall_paper_slug.py +8 -6
- pyrogram/raw/types/input_web_document.py +11 -9
- pyrogram/raw/types/input_web_file_audio_album_thumb_location.py +11 -9
- pyrogram/raw/types/input_web_file_geo_point_location.py +13 -11
- pyrogram/raw/types/input_web_file_location.py +9 -7
- pyrogram/raw/types/invoice.py +22 -20
- pyrogram/raw/types/ip_port.py +6 -4
- pyrogram/raw/types/ip_port_secret.py +6 -4
- pyrogram/raw/types/join_chat_bot_result_approved.py +69 -0
- pyrogram/raw/types/join_chat_bot_result_declined.py +69 -0
- pyrogram/raw/types/{message_action_user_joined.py → join_chat_bot_result_queued.py} +13 -11
- pyrogram/raw/types/{web_page_url_pending.py → join_chat_bot_result_web_view.py} +13 -11
- pyrogram/raw/types/json_array.py +8 -6
- pyrogram/raw/types/json_bool.py +8 -6
- pyrogram/raw/types/json_null.py +7 -5
- pyrogram/raw/types/json_number.py +8 -6
- pyrogram/raw/types/json_object.py +8 -6
- pyrogram/raw/types/json_object_value.py +9 -7
- pyrogram/raw/types/json_string.py +8 -6
- pyrogram/raw/types/keyboard_button.py +36 -13
- pyrogram/raw/types/keyboard_button_buy.py +36 -13
- pyrogram/raw/types/keyboard_button_callback.py +34 -13
- pyrogram/raw/types/keyboard_button_copy.py +37 -14
- pyrogram/raw/types/keyboard_button_game.py +36 -13
- pyrogram/raw/types/keyboard_button_request_geo_location.py +36 -13
- pyrogram/raw/types/keyboard_button_request_peer.py +39 -16
- pyrogram/raw/types/keyboard_button_request_phone.py +36 -13
- pyrogram/raw/types/keyboard_button_request_poll.py +33 -12
- pyrogram/raw/types/keyboard_button_row.py +8 -6
- pyrogram/raw/types/keyboard_button_simple_web_view.py +37 -14
- pyrogram/raw/types/keyboard_button_style.py +95 -0
- pyrogram/raw/types/keyboard_button_switch_inline.py +35 -14
- pyrogram/raw/types/keyboard_button_url.py +37 -14
- pyrogram/raw/types/keyboard_button_url_auth.py +35 -14
- pyrogram/raw/types/keyboard_button_user_profile.py +37 -14
- pyrogram/raw/types/keyboard_button_web_view.py +37 -14
- pyrogram/raw/types/labeled_price.py +9 -7
- pyrogram/raw/types/lang_pack_difference.py +11 -9
- pyrogram/raw/types/lang_pack_language.py +18 -16
- pyrogram/raw/types/lang_pack_string.py +9 -7
- pyrogram/raw/types/lang_pack_string_deleted.py +8 -6
- pyrogram/raw/types/lang_pack_string_pluralized.py +14 -12
- pyrogram/raw/types/mask_coords.py +11 -9
- pyrogram/raw/types/media_area_channel_post.py +10 -8
- pyrogram/raw/types/media_area_coordinates.py +13 -11
- pyrogram/raw/types/media_area_geo_point.py +10 -8
- pyrogram/raw/types/media_area_star_gift.py +9 -7
- pyrogram/raw/types/media_area_suggested_reaction.py +11 -9
- pyrogram/raw/types/media_area_url.py +9 -7
- pyrogram/raw/types/media_area_venue.py +14 -12
- pyrogram/raw/types/media_area_weather.py +11 -9
- pyrogram/raw/types/message.py +121 -50
- pyrogram/raw/types/message_action_boost_apply.py +8 -6
- pyrogram/raw/types/message_action_bot_allowed.py +11 -9
- pyrogram/raw/types/message_action_change_community.py +77 -0
- pyrogram/raw/types/message_action_change_creator.py +74 -0
- pyrogram/raw/types/message_action_channel_create.py +8 -6
- pyrogram/raw/types/message_action_channel_migrate_from.py +9 -7
- pyrogram/raw/types/message_action_chat_add_user.py +8 -6
- pyrogram/raw/types/message_action_chat_create.py +9 -7
- pyrogram/raw/types/message_action_chat_delete_photo.py +7 -5
- pyrogram/raw/types/message_action_chat_delete_user.py +8 -6
- pyrogram/raw/types/message_action_chat_edit_photo.py +8 -6
- pyrogram/raw/types/message_action_chat_edit_title.py +8 -6
- pyrogram/raw/types/message_action_chat_joined_by_link.py +8 -6
- pyrogram/raw/types/message_action_chat_joined_by_request.py +7 -5
- pyrogram/raw/types/message_action_chat_migrate_to.py +8 -6
- pyrogram/raw/types/message_action_conference_call.py +13 -11
- pyrogram/raw/types/message_action_contact_sign_up.py +7 -5
- pyrogram/raw/types/message_action_custom_action.py +8 -6
- pyrogram/raw/types/message_action_empty.py +7 -5
- pyrogram/raw/types/message_action_game_score.py +9 -7
- pyrogram/raw/types/message_action_geo_proximity_reached.py +10 -8
- pyrogram/raw/types/message_action_gift_code.py +26 -24
- pyrogram/raw/types/message_action_gift_premium.py +22 -20
- pyrogram/raw/types/message_action_gift_stars.py +13 -11
- pyrogram/raw/types/{premium_gift_option.py → message_action_gift_ton.py} +38 -37
- pyrogram/raw/types/message_action_giveaway_launch.py +8 -6
- pyrogram/raw/types/message_action_giveaway_results.py +10 -8
- pyrogram/raw/types/message_action_group_call.py +9 -7
- pyrogram/raw/types/message_action_group_call_scheduled.py +9 -7
- pyrogram/raw/types/message_action_history_clear.py +7 -5
- pyrogram/raw/types/message_action_invite_to_group_call.py +9 -7
- pyrogram/raw/types/message_action_managed_bot_created.py +74 -0
- pyrogram/raw/types/message_action_new_creator_pending.py +74 -0
- pyrogram/raw/types/message_action_no_forwards_request.py +90 -0
- pyrogram/raw/types/message_action_no_forwards_toggle.py +82 -0
- pyrogram/raw/types/message_action_paid_messages_price.py +23 -13
- pyrogram/raw/types/message_action_paid_messages_refunded.py +9 -7
- pyrogram/raw/types/message_action_payment_refunded.py +12 -10
- pyrogram/raw/types/message_action_payment_sent.py +13 -11
- pyrogram/raw/types/message_action_payment_sent_me.py +16 -14
- pyrogram/raw/types/message_action_phone_call.py +11 -9
- pyrogram/raw/types/message_action_pin_message.py +7 -5
- pyrogram/raw/types/{message_action_user_updated_photo.py → message_action_poll_append_answer.py} +19 -17
- pyrogram/raw/types/message_action_poll_delete_answer.py +74 -0
- pyrogram/raw/types/message_action_prize_stars.py +12 -10
- pyrogram/raw/types/message_action_requested_peer.py +9 -7
- pyrogram/raw/types/message_action_requested_peer_sent_me.py +9 -7
- pyrogram/raw/types/message_action_screenshot_taken.py +7 -5
- pyrogram/raw/types/message_action_secure_values_sent.py +8 -6
- pyrogram/raw/types/message_action_secure_values_sent_me.py +9 -7
- pyrogram/raw/types/message_action_set_chat_theme.py +17 -15
- pyrogram/raw/types/message_action_set_chat_wall_paper.py +10 -8
- pyrogram/raw/types/message_action_set_messages_ttl.py +9 -7
- pyrogram/raw/types/message_action_star_gift.py +84 -33
- pyrogram/raw/types/message_action_star_gift_purchase_offer.py +104 -0
- pyrogram/raw/types/message_action_star_gift_purchase_offer_declined.py +90 -0
- pyrogram/raw/types/message_action_star_gift_unique.py +74 -29
- pyrogram/raw/types/{message_action_login_unknown_location.py → message_action_suggest_birthday.py} +19 -25
- pyrogram/raw/types/message_action_suggest_profile_photo.py +8 -6
- pyrogram/raw/types/message_action_suggested_post_approval.py +108 -0
- pyrogram/raw/types/message_action_suggested_post_refund.py +74 -0
- pyrogram/raw/types/message_action_suggested_post_success.py +74 -0
- pyrogram/raw/types/message_action_todo_append_tasks.py +74 -0
- pyrogram/raw/types/message_action_todo_completions.py +82 -0
- pyrogram/raw/types/message_action_topic_create.py +19 -11
- pyrogram/raw/types/message_action_topic_edit.py +11 -9
- pyrogram/raw/types/message_action_web_view_data_sent.py +8 -6
- pyrogram/raw/types/message_action_web_view_data_sent_me.py +9 -7
- pyrogram/raw/types/message_empty.py +9 -7
- pyrogram/raw/types/message_entity_bank_card.py +9 -7
- pyrogram/raw/types/message_entity_blockquote.py +10 -8
- pyrogram/raw/types/message_entity_bold.py +9 -7
- pyrogram/raw/types/message_entity_bot_command.py +9 -7
- pyrogram/raw/types/message_entity_cashtag.py +9 -7
- pyrogram/raw/types/message_entity_code.py +9 -7
- pyrogram/raw/types/message_entity_custom_emoji.py +11 -8
- pyrogram/raw/types/message_entity_diff_delete.py +82 -0
- pyrogram/raw/types/message_entity_diff_insert.py +82 -0
- pyrogram/raw/types/message_entity_diff_replace.py +90 -0
- pyrogram/raw/types/message_entity_email.py +9 -7
- pyrogram/raw/types/message_entity_formatted_date.py +128 -0
- pyrogram/raw/types/message_entity_hashtag.py +9 -7
- pyrogram/raw/types/message_entity_italic.py +9 -7
- pyrogram/raw/types/message_entity_mention.py +9 -7
- pyrogram/raw/types/message_entity_mention_name.py +10 -8
- pyrogram/raw/types/message_entity_phone.py +9 -7
- pyrogram/raw/types/message_entity_pre.py +10 -8
- pyrogram/raw/types/message_entity_spoiler.py +9 -7
- pyrogram/raw/types/message_entity_strike.py +9 -7
- pyrogram/raw/types/message_entity_text_url.py +10 -8
- pyrogram/raw/types/message_entity_underline.py +9 -7
- pyrogram/raw/types/message_entity_unknown.py +9 -7
- pyrogram/raw/types/message_entity_url.py +9 -7
- pyrogram/raw/types/message_extended_media.py +8 -6
- pyrogram/raw/types/message_extended_media_preview.py +11 -9
- pyrogram/raw/types/message_fwd_header.py +20 -18
- pyrogram/raw/types/message_media_contact.py +12 -10
- pyrogram/raw/types/message_media_dice.py +28 -14
- pyrogram/raw/types/message_media_document.py +17 -15
- pyrogram/raw/types/message_media_empty.py +7 -5
- pyrogram/raw/types/message_media_game.py +8 -6
- pyrogram/raw/types/message_media_geo.py +8 -6
- pyrogram/raw/types/message_media_geo_live.py +11 -9
- pyrogram/raw/types/message_media_giveaway.py +16 -14
- pyrogram/raw/types/message_media_giveaway_results.py +19 -17
- pyrogram/raw/types/message_media_invoice.py +17 -15
- pyrogram/raw/types/message_media_paid_media.py +9 -7
- pyrogram/raw/types/message_media_photo.py +31 -13
- pyrogram/raw/types/message_media_poll.py +28 -14
- pyrogram/raw/types/message_media_story.py +11 -9
- pyrogram/raw/types/message_media_to_do.py +96 -0
- pyrogram/raw/types/message_media_unsupported.py +7 -5
- pyrogram/raw/types/message_media_venue.py +13 -11
- pyrogram/raw/types/message_media_video_stream.py +92 -0
- pyrogram/raw/types/message_media_web_page.py +12 -10
- pyrogram/raw/types/message_peer_reaction.py +13 -11
- pyrogram/raw/types/message_peer_vote.py +10 -8
- pyrogram/raw/types/message_peer_vote_input_option.py +9 -7
- pyrogram/raw/types/message_peer_vote_multiple.py +10 -8
- pyrogram/raw/types/message_range.py +9 -7
- pyrogram/raw/types/message_reactions.py +13 -11
- pyrogram/raw/types/message_reactor.py +12 -10
- pyrogram/raw/types/message_replies.py +14 -12
- pyrogram/raw/types/message_reply_header.py +46 -20
- pyrogram/raw/types/message_reply_story_header.py +9 -7
- pyrogram/raw/types/message_report_option.py +9 -7
- pyrogram/raw/types/message_service.py +37 -25
- pyrogram/raw/types/message_views.py +10 -8
- pyrogram/raw/types/messages/__init__.py +8 -2
- pyrogram/raw/types/messages/affected_found_messages.py +11 -9
- pyrogram/raw/types/messages/affected_history.py +13 -10
- pyrogram/raw/types/messages/affected_messages.py +9 -7
- pyrogram/raw/types/messages/all_stickers.py +9 -7
- pyrogram/raw/types/messages/all_stickers_not_modified.py +7 -5
- pyrogram/raw/types/messages/archived_stickers.py +9 -7
- pyrogram/raw/types/messages/available_effects.py +10 -8
- pyrogram/raw/types/messages/available_effects_not_modified.py +7 -5
- pyrogram/raw/types/messages/available_reactions.py +9 -7
- pyrogram/raw/types/messages/available_reactions_not_modified.py +7 -5
- pyrogram/raw/types/messages/bot_app.py +11 -9
- pyrogram/raw/types/messages/bot_callback_answer.py +15 -12
- pyrogram/raw/types/messages/bot_prepared_inline_message.py +9 -7
- pyrogram/raw/types/messages/bot_results.py +15 -13
- pyrogram/raw/types/messages/channel_messages.py +19 -14
- pyrogram/raw/types/messages/chat_admins_with_invites.py +9 -7
- pyrogram/raw/types/messages/chat_full.py +10 -8
- pyrogram/raw/types/messages/chat_invite_importers.py +10 -8
- pyrogram/raw/types/messages/chat_invite_join_result_ok.py +84 -0
- pyrogram/raw/types/messages/chat_invite_join_result_web_view.py +100 -0
- pyrogram/raw/types/messages/chats.py +9 -7
- pyrogram/raw/types/messages/chats_slice.py +10 -8
- pyrogram/raw/types/messages/checked_history_import_peer.py +8 -6
- pyrogram/raw/types/messages/composed_message_with_ai.py +95 -0
- pyrogram/raw/types/messages/{web_view_result.py → composed_rich_message_with_ai.py} +17 -23
- pyrogram/raw/types/messages/dh_config.py +11 -9
- pyrogram/raw/types/messages/dh_config_not_modified.py +8 -6
- pyrogram/raw/types/messages/dialog_filters.py +9 -7
- pyrogram/raw/types/messages/dialogs.py +11 -9
- pyrogram/raw/types/messages/dialogs_not_modified.py +8 -6
- pyrogram/raw/types/messages/dialogs_slice.py +12 -10
- pyrogram/raw/types/messages/discussion_message.py +14 -12
- pyrogram/raw/types/messages/emoji_game_dice_info.py +118 -0
- pyrogram/raw/types/messages/emoji_game_outcome.py +90 -0
- pyrogram/raw/types/messages/emoji_game_unavailable.py +78 -0
- pyrogram/raw/types/messages/emoji_groups.py +9 -7
- pyrogram/raw/types/messages/emoji_groups_not_modified.py +7 -5
- pyrogram/raw/types/messages/exported_chat_invite.py +9 -7
- pyrogram/raw/types/messages/exported_chat_invite_replaced.py +10 -8
- pyrogram/raw/types/messages/exported_chat_invites.py +10 -8
- pyrogram/raw/types/messages/faved_stickers.py +10 -8
- pyrogram/raw/types/messages/faved_stickers_not_modified.py +7 -5
- pyrogram/raw/types/messages/featured_stickers.py +12 -10
- pyrogram/raw/types/messages/featured_stickers_not_modified.py +8 -6
- pyrogram/raw/types/messages/forum_topics.py +16 -14
- pyrogram/raw/types/messages/found_sticker_sets.py +9 -7
- pyrogram/raw/types/messages/found_sticker_sets_not_modified.py +7 -5
- pyrogram/raw/types/messages/found_stickers.py +10 -8
- pyrogram/raw/types/messages/found_stickers_not_modified.py +8 -6
- pyrogram/raw/types/messages/high_scores.py +9 -7
- pyrogram/raw/types/messages/history_import.py +8 -6
- pyrogram/raw/types/messages/history_import_parsed.py +11 -8
- pyrogram/raw/types/messages/inactive_chats.py +10 -8
- pyrogram/raw/types/messages/invited_users.py +9 -7
- pyrogram/raw/types/messages/message_edit_data.py +8 -6
- pyrogram/raw/types/messages/message_reactions_list.py +12 -10
- pyrogram/raw/types/messages/message_views.py +10 -8
- pyrogram/raw/types/messages/messages.py +27 -14
- pyrogram/raw/types/messages/messages_not_modified.py +12 -7
- pyrogram/raw/types/messages/messages_slice.py +41 -18
- pyrogram/raw/types/messages/my_stickers.py +9 -7
- pyrogram/raw/types/messages/peer_dialogs.py +12 -10
- pyrogram/raw/types/messages/peer_settings.py +10 -8
- pyrogram/raw/types/messages/prepared_inline_message.py +12 -10
- pyrogram/raw/types/messages/quick_replies.py +11 -9
- pyrogram/raw/types/messages/quick_replies_not_modified.py +7 -5
- pyrogram/raw/types/messages/reactions.py +9 -7
- pyrogram/raw/types/messages/reactions_not_modified.py +7 -5
- pyrogram/raw/types/messages/recent_stickers.py +11 -9
- pyrogram/raw/types/messages/recent_stickers_not_modified.py +7 -5
- pyrogram/raw/types/messages/saved_dialogs.py +13 -10
- pyrogram/raw/types/messages/saved_dialogs_not_modified.py +10 -7
- pyrogram/raw/types/messages/saved_dialogs_slice.py +14 -11
- pyrogram/raw/types/messages/saved_gifs.py +9 -7
- pyrogram/raw/types/messages/saved_gifs_not_modified.py +7 -5
- pyrogram/raw/types/messages/saved_reaction_tags.py +9 -7
- pyrogram/raw/types/messages/saved_reaction_tags_not_modified.py +7 -5
- pyrogram/raw/types/messages/search_counter.py +10 -8
- pyrogram/raw/types/messages/search_results_calendar.py +16 -14
- pyrogram/raw/types/messages/search_results_positions.py +9 -7
- pyrogram/raw/types/messages/sent_encrypted_file.py +10 -9
- pyrogram/raw/types/messages/sent_encrypted_message.py +9 -8
- pyrogram/raw/types/messages/sponsored_messages.py +34 -14
- pyrogram/raw/types/messages/sponsored_messages_empty.py +7 -5
- pyrogram/raw/types/messages/sticker_set.py +11 -9
- pyrogram/raw/types/messages/sticker_set_install_result_archive.py +8 -6
- pyrogram/raw/types/messages/sticker_set_install_result_success.py +7 -5
- pyrogram/raw/types/messages/sticker_set_not_modified.py +7 -5
- pyrogram/raw/types/messages/stickers.py +9 -7
- pyrogram/raw/types/messages/stickers_not_modified.py +7 -5
- pyrogram/raw/types/messages/transcribed_audio.py +12 -10
- pyrogram/raw/types/messages/translate_result.py +8 -6
- pyrogram/raw/types/messages/translated_rich_message.py +83 -0
- pyrogram/raw/types/messages/votes_list.py +12 -10
- pyrogram/raw/types/messages/web_page.py +10 -8
- pyrogram/raw/types/messages/web_page_preview.py +22 -12
- pyrogram/raw/types/missing_invitee.py +10 -8
- pyrogram/raw/types/mono_forum_dialog.py +138 -0
- pyrogram/raw/types/msg_detailed_info.py +6 -4
- pyrogram/raw/types/msg_new_detailed_info.py +6 -4
- pyrogram/raw/types/msg_resend_ans_req.py +6 -4
- pyrogram/raw/types/msg_resend_req.py +6 -4
- pyrogram/raw/types/msgs_ack.py +6 -4
- pyrogram/raw/types/msgs_all_info.py +6 -4
- pyrogram/raw/types/msgs_state_info.py +6 -4
- pyrogram/raw/types/msgs_state_req.py +6 -4
- pyrogram/raw/types/my_boost.py +12 -10
- pyrogram/raw/types/nearest_dc.py +10 -8
- pyrogram/raw/types/new_session_created.py +6 -4
- pyrogram/raw/types/notification_sound_default.py +7 -5
- pyrogram/raw/types/notification_sound_local.py +9 -7
- pyrogram/raw/types/notification_sound_none.py +7 -5
- pyrogram/raw/types/notification_sound_ringtone.py +8 -6
- pyrogram/raw/types/notify_broadcasts.py +7 -5
- pyrogram/raw/types/notify_chats.py +7 -5
- pyrogram/raw/types/notify_community.py +74 -0
- pyrogram/raw/types/notify_forum_topic.py +9 -7
- pyrogram/raw/types/notify_peer.py +8 -6
- pyrogram/raw/types/notify_users.py +7 -5
- pyrogram/raw/types/outbox_read_date.py +8 -6
- pyrogram/raw/types/page.py +15 -13
- pyrogram/raw/types/page_block_anchor.py +8 -6
- pyrogram/raw/types/page_block_audio.py +9 -7
- pyrogram/raw/types/page_block_author_date.py +9 -7
- pyrogram/raw/types/page_block_blockquote.py +9 -7
- pyrogram/raw/types/{channel_admin_log_event_action_change_theme.py → page_block_blockquote_blocks.py} +23 -21
- pyrogram/raw/types/page_block_channel.py +8 -6
- pyrogram/raw/types/page_block_collage.py +9 -7
- pyrogram/raw/types/page_block_cover.py +8 -6
- pyrogram/raw/types/page_block_details.py +10 -8
- pyrogram/raw/types/page_block_divider.py +7 -5
- pyrogram/raw/types/page_block_embed.py +15 -13
- pyrogram/raw/types/page_block_embed_post.py +14 -12
- pyrogram/raw/types/page_block_footer.py +8 -6
- pyrogram/raw/types/page_block_header.py +8 -6
- pyrogram/raw/types/page_block_heading1.py +74 -0
- pyrogram/raw/types/page_block_heading2.py +74 -0
- pyrogram/raw/types/page_block_heading3.py +74 -0
- pyrogram/raw/types/page_block_heading4.py +74 -0
- pyrogram/raw/types/page_block_heading5.py +74 -0
- pyrogram/raw/types/page_block_heading6.py +74 -0
- pyrogram/raw/types/page_block_kicker.py +8 -6
- pyrogram/raw/types/page_block_list.py +8 -6
- pyrogram/raw/types/page_block_map.py +12 -10
- pyrogram/raw/types/{message_action_ttl_change.py → page_block_math.py} +19 -17
- pyrogram/raw/types/page_block_ordered_list.py +40 -12
- pyrogram/raw/types/page_block_paragraph.py +8 -6
- pyrogram/raw/types/page_block_photo.py +19 -11
- pyrogram/raw/types/page_block_preformatted.py +9 -7
- pyrogram/raw/types/page_block_pullquote.py +9 -7
- pyrogram/raw/types/page_block_related_articles.py +9 -7
- pyrogram/raw/types/page_block_slideshow.py +9 -7
- pyrogram/raw/types/page_block_subheader.py +8 -6
- pyrogram/raw/types/page_block_subtitle.py +8 -6
- pyrogram/raw/types/page_block_table.py +11 -9
- pyrogram/raw/types/page_block_thinking.py +74 -0
- pyrogram/raw/types/page_block_title.py +8 -6
- pyrogram/raw/types/page_block_unsupported.py +7 -5
- pyrogram/raw/types/page_block_video.py +19 -11
- pyrogram/raw/types/page_caption.py +9 -7
- pyrogram/raw/types/page_list_item_blocks.py +28 -12
- pyrogram/raw/types/page_list_item_text.py +28 -12
- pyrogram/raw/types/page_list_ordered_item_blocks.py +52 -17
- pyrogram/raw/types/page_list_ordered_item_text.py +52 -17
- pyrogram/raw/types/page_related_article.py +14 -12
- pyrogram/raw/types/page_table_cell.py +15 -13
- pyrogram/raw/types/page_table_row.py +8 -6
- pyrogram/raw/types/paid_reaction_privacy_anonymous.py +7 -5
- pyrogram/raw/types/paid_reaction_privacy_default.py +7 -5
- pyrogram/raw/types/paid_reaction_privacy_peer.py +8 -6
- pyrogram/raw/types/passkey.py +119 -0
- pyrogram/raw/types/password_kdf_algo_sha256_sha256_pbkdf2_hmacsha512iter100000_sha256_mod_pow.py +11 -9
- pyrogram/raw/types/password_kdf_algo_unknown.py +7 -5
- pyrogram/raw/types/payment_charge.py +9 -7
- pyrogram/raw/types/payment_form_method.py +9 -7
- pyrogram/raw/types/payment_requested_info.py +11 -9
- pyrogram/raw/types/payment_saved_credentials_card.py +9 -7
- pyrogram/raw/types/payments/__init__.py +10 -0
- pyrogram/raw/types/payments/bank_card_data.py +9 -7
- pyrogram/raw/types/payments/check_can_send_gift_result_fail.py +83 -0
- pyrogram/raw/types/payments/check_can_send_gift_result_ok.py +78 -0
- pyrogram/raw/types/payments/checked_gift_code.py +25 -23
- pyrogram/raw/types/payments/connected_star_ref_bots.py +10 -8
- pyrogram/raw/types/payments/exported_invoice.py +8 -6
- pyrogram/raw/types/payments/giveaway_info.py +13 -11
- pyrogram/raw/types/payments/giveaway_info_results.py +15 -13
- pyrogram/raw/types/payments/payment_form.py +23 -21
- pyrogram/raw/types/payments/payment_form_star_gift.py +9 -7
- pyrogram/raw/types/payments/payment_form_stars.py +17 -27
- pyrogram/raw/types/payments/payment_receipt.py +21 -19
- pyrogram/raw/types/payments/payment_receipt_stars.py +17 -15
- pyrogram/raw/types/payments/payment_result.py +8 -6
- pyrogram/raw/types/payments/payment_verification_needed.py +8 -6
- pyrogram/raw/types/payments/resale_star_gifts.py +15 -13
- pyrogram/raw/types/payments/saved_info.py +9 -7
- pyrogram/raw/types/payments/saved_star_gifts.py +15 -12
- pyrogram/raw/types/payments/star_gift_active_auctions.py +99 -0
- pyrogram/raw/types/payments/star_gift_active_auctions_not_modified.py +78 -0
- pyrogram/raw/types/payments/star_gift_auction_acquired_gifts.py +99 -0
- pyrogram/raw/types/payments/star_gift_auction_state.py +123 -0
- pyrogram/raw/types/payments/star_gift_collections.py +83 -0
- pyrogram/raw/types/payments/star_gift_collections_not_modified.py +78 -0
- pyrogram/raw/types/payments/star_gift_upgrade_attributes.py +83 -0
- pyrogram/raw/types/payments/star_gift_upgrade_preview.py +29 -11
- pyrogram/raw/types/payments/star_gift_withdrawal_url.py +8 -6
- pyrogram/raw/types/payments/star_gifts.py +30 -12
- pyrogram/raw/types/payments/star_gifts_not_modified.py +7 -5
- pyrogram/raw/types/payments/stars_revenue_ads_account_url.py +8 -6
- pyrogram/raw/types/payments/stars_revenue_stats.py +29 -15
- pyrogram/raw/types/payments/stars_revenue_withdrawal_url.py +8 -6
- pyrogram/raw/types/payments/stars_status.py +15 -13
- pyrogram/raw/types/payments/suggested_star_ref_bots.py +11 -9
- pyrogram/raw/types/payments/unique_star_gift.py +22 -12
- pyrogram/raw/types/payments/unique_star_gift_value_info.py +192 -0
- pyrogram/raw/types/payments/validated_requested_info.py +9 -7
- pyrogram/raw/types/peer_blocked.py +9 -7
- pyrogram/raw/types/peer_channel.py +8 -6
- pyrogram/raw/types/peer_chat.py +8 -6
- pyrogram/raw/types/peer_color.py +9 -7
- pyrogram/raw/types/peer_color_collectible.py +127 -0
- pyrogram/raw/types/peer_located.py +10 -8
- pyrogram/raw/types/peer_notify_settings.py +18 -16
- pyrogram/raw/types/peer_self_located.py +8 -6
- pyrogram/raw/types/peer_settings.py +28 -26
- pyrogram/raw/types/peer_stories.py +10 -8
- pyrogram/raw/types/peer_user.py +8 -6
- pyrogram/raw/types/pending_suggestion.py +11 -9
- pyrogram/raw/types/phone/__init__.py +1 -0
- pyrogram/raw/types/phone/exported_group_call_invite.py +8 -6
- pyrogram/raw/types/phone/group_call.py +12 -10
- pyrogram/raw/types/phone/group_call_stars.py +107 -0
- pyrogram/raw/types/phone/group_call_stream_channels.py +8 -6
- pyrogram/raw/types/phone/group_call_stream_rtmp_url.py +9 -7
- pyrogram/raw/types/phone/group_participants.py +13 -11
- pyrogram/raw/types/phone/join_as_peers.py +10 -8
- pyrogram/raw/types/phone/phone_call.py +9 -7
- pyrogram/raw/types/phone_call.py +21 -19
- pyrogram/raw/types/phone_call_accepted.py +15 -13
- pyrogram/raw/types/phone_call_discard_reason_busy.py +7 -5
- pyrogram/raw/types/phone_call_discard_reason_disconnect.py +7 -5
- pyrogram/raw/types/phone_call_discard_reason_hangup.py +7 -5
- pyrogram/raw/types/phone_call_discard_reason_migrate_conference_call.py +8 -6
- pyrogram/raw/types/phone_call_discard_reason_missed.py +7 -5
- pyrogram/raw/types/phone_call_discarded.py +13 -11
- pyrogram/raw/types/phone_call_empty.py +8 -6
- pyrogram/raw/types/phone_call_protocol.py +12 -10
- pyrogram/raw/types/phone_call_requested.py +15 -13
- pyrogram/raw/types/phone_call_waiting.py +15 -13
- pyrogram/raw/types/phone_connection.py +13 -11
- pyrogram/raw/types/phone_connection_webrtc.py +15 -13
- pyrogram/raw/types/photo.py +15 -13
- pyrogram/raw/types/photo_cached_size.py +11 -9
- pyrogram/raw/types/photo_empty.py +8 -6
- pyrogram/raw/types/photo_path_size.py +9 -7
- pyrogram/raw/types/photo_size.py +11 -9
- pyrogram/raw/types/photo_size_empty.py +8 -6
- pyrogram/raw/types/photo_size_progressive.py +11 -9
- pyrogram/raw/types/photo_stripped_size.py +9 -7
- pyrogram/raw/types/photos/photo.py +9 -7
- pyrogram/raw/types/photos/photos.py +9 -7
- pyrogram/raw/types/photos/photos_slice.py +10 -8
- pyrogram/raw/types/poll.py +75 -19
- pyrogram/raw/types/poll_answer.py +47 -14
- pyrogram/raw/types/poll_answer_voters.py +32 -19
- pyrogram/raw/types/poll_results.py +40 -16
- pyrogram/raw/types/pong.py +6 -4
- pyrogram/raw/types/popular_contact.py +9 -7
- pyrogram/raw/types/post_address.py +13 -11
- pyrogram/raw/types/post_interaction_counters_message.py +11 -9
- pyrogram/raw/types/post_interaction_counters_story.py +11 -9
- pyrogram/raw/types/pq_inner_data.py +6 -4
- pyrogram/raw/types/pq_inner_data_dc.py +6 -4
- pyrogram/raw/types/pq_inner_data_temp.py +6 -4
- pyrogram/raw/types/pq_inner_data_temp_dc.py +6 -4
- pyrogram/raw/types/premium/boosts_list.py +11 -9
- pyrogram/raw/types/premium/boosts_status.py +17 -15
- pyrogram/raw/types/premium/my_boosts.py +10 -8
- pyrogram/raw/types/premium_gift_code_option.py +13 -11
- pyrogram/raw/types/premium_subscription_option.py +15 -13
- pyrogram/raw/types/prepaid_giveaway.py +11 -9
- pyrogram/raw/types/prepaid_stars_giveaway.py +12 -10
- pyrogram/raw/types/privacy_key_about.py +7 -5
- pyrogram/raw/types/privacy_key_added_by_phone.py +7 -5
- pyrogram/raw/types/privacy_key_birthday.py +7 -5
- pyrogram/raw/types/privacy_key_chat_invite.py +7 -5
- pyrogram/raw/types/privacy_key_forwards.py +7 -5
- pyrogram/raw/types/privacy_key_no_paid_messages.py +7 -5
- pyrogram/raw/types/privacy_key_phone_call.py +7 -5
- pyrogram/raw/types/privacy_key_phone_number.py +7 -5
- pyrogram/raw/types/privacy_key_phone_p2_p.py +7 -5
- pyrogram/raw/types/privacy_key_profile_photo.py +7 -5
- pyrogram/raw/types/{message_action_created_broadcast_list.py → privacy_key_saved_music.py} +13 -11
- pyrogram/raw/types/privacy_key_star_gifts_auto_save.py +7 -5
- pyrogram/raw/types/privacy_key_status_timestamp.py +7 -5
- pyrogram/raw/types/privacy_key_voice_messages.py +7 -5
- pyrogram/raw/types/privacy_value_allow_all.py +7 -5
- pyrogram/raw/types/privacy_value_allow_bots.py +7 -5
- pyrogram/raw/types/privacy_value_allow_chat_participants.py +8 -6
- pyrogram/raw/types/privacy_value_allow_close_friends.py +7 -5
- pyrogram/raw/types/privacy_value_allow_contacts.py +7 -5
- pyrogram/raw/types/privacy_value_allow_premium.py +7 -5
- pyrogram/raw/types/privacy_value_allow_users.py +8 -6
- pyrogram/raw/types/privacy_value_disallow_all.py +7 -5
- pyrogram/raw/types/privacy_value_disallow_bots.py +7 -5
- pyrogram/raw/types/privacy_value_disallow_chat_participants.py +8 -6
- pyrogram/raw/types/privacy_value_disallow_contacts.py +7 -5
- pyrogram/raw/types/privacy_value_disallow_users.py +8 -6
- pyrogram/raw/types/profile_tab_files.py +69 -0
- pyrogram/raw/types/{user_status_hidden.py → profile_tab_gifs.py} +13 -11
- pyrogram/raw/types/{messages/message_empty.py → profile_tab_gifts.py} +13 -11
- pyrogram/raw/types/profile_tab_links.py +69 -0
- pyrogram/raw/types/profile_tab_media.py +69 -0
- pyrogram/raw/types/profile_tab_music.py +69 -0
- pyrogram/raw/types/profile_tab_posts.py +69 -0
- pyrogram/raw/types/profile_tab_voice.py +69 -0
- pyrogram/raw/types/public_forward_message.py +8 -6
- pyrogram/raw/types/public_forward_story.py +9 -7
- pyrogram/raw/types/quick_reply.py +11 -9
- pyrogram/raw/types/reaction_count.py +10 -8
- pyrogram/raw/types/reaction_custom_emoji.py +8 -6
- pyrogram/raw/types/reaction_emoji.py +8 -6
- pyrogram/raw/types/reaction_empty.py +7 -5
- pyrogram/raw/types/reaction_notifications_from_all.py +7 -5
- pyrogram/raw/types/reaction_notifications_from_contacts.py +7 -5
- pyrogram/raw/types/reaction_paid.py +7 -5
- pyrogram/raw/types/reactions_notify_settings.py +26 -14
- pyrogram/raw/types/read_participant_date.py +9 -7
- pyrogram/raw/types/received_notify_message.py +9 -7
- pyrogram/raw/types/recent_me_url_chat.py +9 -7
- pyrogram/raw/types/recent_me_url_chat_invite.py +9 -7
- pyrogram/raw/types/recent_me_url_sticker_set.py +9 -7
- pyrogram/raw/types/recent_me_url_unknown.py +8 -6
- pyrogram/raw/types/recent_me_url_user.py +9 -7
- pyrogram/raw/types/recent_story.py +92 -0
- pyrogram/raw/types/reply_inline_markup.py +8 -6
- pyrogram/raw/types/reply_keyboard_force_reply.py +10 -8
- pyrogram/raw/types/reply_keyboard_hide.py +8 -6
- pyrogram/raw/types/reply_keyboard_markup.py +13 -11
- pyrogram/raw/types/report_result_add_comment.py +11 -8
- pyrogram/raw/types/report_result_choose_option.py +11 -8
- pyrogram/raw/types/report_result_reported.py +9 -6
- pyrogram/raw/types/request_peer_type_broadcast.py +22 -20
- pyrogram/raw/types/request_peer_type_chat.py +33 -31
- pyrogram/raw/types/request_peer_type_create_bot.py +92 -0
- pyrogram/raw/types/request_peer_type_user.py +9 -7
- pyrogram/raw/types/requested_peer_channel.py +11 -9
- pyrogram/raw/types/requested_peer_chat.py +10 -8
- pyrogram/raw/types/requested_peer_user.py +12 -10
- pyrogram/raw/types/requirement_to_contact_empty.py +7 -5
- pyrogram/raw/types/requirement_to_contact_paid_messages.py +8 -6
- pyrogram/raw/types/requirement_to_contact_premium.py +7 -5
- pyrogram/raw/types/res_pq.py +6 -4
- pyrogram/raw/types/restriction_reason.py +10 -8
- pyrogram/raw/types/rich_message.py +104 -0
- pyrogram/raw/types/rpc_answer_dropped.py +6 -4
- pyrogram/raw/types/rpc_answer_dropped_running.py +6 -4
- pyrogram/raw/types/rpc_answer_unknown.py +6 -4
- pyrogram/raw/types/rpc_error.py +6 -4
- pyrogram/raw/types/rpc_result.py +6 -4
- pyrogram/raw/types/saved_dialog.py +10 -8
- pyrogram/raw/types/saved_phone_contact.py +11 -9
- pyrogram/raw/types/saved_reaction_tag.py +10 -8
- pyrogram/raw/types/saved_star_gift.py +81 -27
- pyrogram/raw/types/search_posts_flood.py +116 -0
- pyrogram/raw/types/search_result_position.py +10 -8
- pyrogram/raw/types/search_results_calendar_period.py +11 -9
- pyrogram/raw/types/secure_credentials_encrypted.py +10 -8
- pyrogram/raw/types/secure_data.py +10 -8
- pyrogram/raw/types/secure_file.py +14 -12
- pyrogram/raw/types/secure_file_empty.py +7 -5
- pyrogram/raw/types/secure_password_kdf_algo_pbkdf2_hmacsha512iter100000.py +8 -6
- pyrogram/raw/types/secure_password_kdf_algo_sha512.py +8 -6
- pyrogram/raw/types/secure_password_kdf_algo_unknown.py +7 -5
- pyrogram/raw/types/secure_plain_email.py +8 -6
- pyrogram/raw/types/secure_plain_phone.py +8 -6
- pyrogram/raw/types/secure_required_type.py +11 -9
- pyrogram/raw/types/secure_required_type_one_of.py +8 -6
- pyrogram/raw/types/secure_secret_settings.py +10 -8
- pyrogram/raw/types/secure_value.py +16 -14
- pyrogram/raw/types/secure_value_error.py +10 -8
- pyrogram/raw/types/secure_value_error_data.py +11 -9
- pyrogram/raw/types/secure_value_error_file.py +10 -8
- pyrogram/raw/types/secure_value_error_files.py +10 -8
- pyrogram/raw/types/secure_value_error_front_side.py +10 -8
- pyrogram/raw/types/secure_value_error_reverse_side.py +10 -8
- pyrogram/raw/types/secure_value_error_selfie.py +10 -8
- pyrogram/raw/types/secure_value_error_translation_file.py +10 -8
- pyrogram/raw/types/secure_value_error_translation_files.py +10 -8
- pyrogram/raw/types/secure_value_hash.py +9 -7
- pyrogram/raw/types/secure_value_type_address.py +7 -5
- pyrogram/raw/types/secure_value_type_bank_statement.py +7 -5
- pyrogram/raw/types/secure_value_type_driver_license.py +7 -5
- pyrogram/raw/types/secure_value_type_email.py +7 -5
- pyrogram/raw/types/secure_value_type_identity_card.py +7 -5
- pyrogram/raw/types/secure_value_type_internal_passport.py +7 -5
- pyrogram/raw/types/secure_value_type_passport.py +7 -5
- pyrogram/raw/types/secure_value_type_passport_registration.py +7 -5
- pyrogram/raw/types/secure_value_type_personal_details.py +7 -5
- pyrogram/raw/types/secure_value_type_phone.py +7 -5
- pyrogram/raw/types/secure_value_type_rental_agreement.py +7 -5
- pyrogram/raw/types/secure_value_type_temporary_registration.py +7 -5
- pyrogram/raw/types/secure_value_type_utility_bill.py +7 -5
- pyrogram/raw/types/send_as_peer.py +9 -7
- pyrogram/raw/types/send_message_cancel_action.py +7 -5
- pyrogram/raw/types/send_message_choose_contact_action.py +7 -5
- pyrogram/raw/types/send_message_choose_sticker_action.py +7 -5
- pyrogram/raw/types/send_message_emoji_interaction.py +10 -8
- pyrogram/raw/types/send_message_emoji_interaction_seen.py +8 -6
- pyrogram/raw/types/send_message_game_play_action.py +7 -5
- pyrogram/raw/types/send_message_geo_location_action.py +7 -5
- pyrogram/raw/types/send_message_history_import_action.py +8 -6
- pyrogram/raw/types/send_message_record_audio_action.py +7 -5
- pyrogram/raw/types/send_message_record_round_action.py +7 -5
- pyrogram/raw/types/send_message_record_video_action.py +7 -5
- pyrogram/raw/types/send_message_rich_message_draft_action.py +82 -0
- pyrogram/raw/types/send_message_text_draft_action.py +82 -0
- pyrogram/raw/types/send_message_typing_action.py +7 -5
- pyrogram/raw/types/send_message_upload_audio_action.py +8 -6
- pyrogram/raw/types/send_message_upload_document_action.py +8 -6
- pyrogram/raw/types/send_message_upload_photo_action.py +8 -6
- pyrogram/raw/types/send_message_upload_round_action.py +8 -6
- pyrogram/raw/types/send_message_upload_video_action.py +8 -6
- pyrogram/raw/types/server_dh_inner_data.py +6 -4
- pyrogram/raw/types/server_dh_params_fail.py +6 -4
- pyrogram/raw/types/server_dh_params_ok.py +6 -4
- pyrogram/raw/types/shipping_option.py +10 -8
- pyrogram/raw/types/sms_job.py +10 -8
- pyrogram/raw/types/smsjobs/eligible_to_join.py +9 -7
- pyrogram/raw/types/smsjobs/status.py +15 -13
- pyrogram/raw/types/speaking_in_group_call_action.py +7 -5
- pyrogram/raw/types/sponsored_message.py +43 -23
- pyrogram/raw/types/sponsored_message_report_option.py +9 -7
- pyrogram/raw/types/sponsored_peer.py +11 -9
- pyrogram/raw/types/star_gift.py +133 -30
- pyrogram/raw/types/star_gift_active_auction_state.py +90 -0
- pyrogram/raw/types/star_gift_attribute_backdrop.py +23 -21
- pyrogram/raw/types/star_gift_attribute_counter.py +9 -7
- pyrogram/raw/types/star_gift_attribute_id_backdrop.py +8 -6
- pyrogram/raw/types/star_gift_attribute_id_model.py +8 -6
- pyrogram/raw/types/star_gift_attribute_id_pattern.py +8 -6
- pyrogram/raw/types/star_gift_attribute_model.py +29 -19
- pyrogram/raw/types/star_gift_attribute_original_details.py +11 -9
- pyrogram/raw/types/star_gift_attribute_pattern.py +19 -17
- pyrogram/raw/types/star_gift_attribute_rarity.py +74 -0
- pyrogram/raw/types/star_gift_attribute_rarity_epic.py +69 -0
- pyrogram/raw/types/star_gift_attribute_rarity_legendary.py +69 -0
- pyrogram/raw/types/star_gift_attribute_rarity_rare.py +69 -0
- pyrogram/raw/types/star_gift_attribute_rarity_uncommon.py +69 -0
- pyrogram/raw/types/star_gift_auction_acquired_gift.py +133 -0
- pyrogram/raw/types/star_gift_auction_round.py +82 -0
- pyrogram/raw/types/star_gift_auction_round_extendable.py +98 -0
- pyrogram/raw/types/star_gift_auction_state.py +162 -0
- pyrogram/raw/types/star_gift_auction_state_finished.py +119 -0
- pyrogram/raw/types/star_gift_auction_state_not_modified.py +69 -0
- pyrogram/raw/types/star_gift_auction_user_state.py +119 -0
- pyrogram/raw/types/star_gift_background.py +90 -0
- pyrogram/raw/types/star_gift_collection.py +120 -0
- pyrogram/raw/types/star_gift_unique.py +154 -28
- pyrogram/raw/types/star_gift_upgrade_price.py +82 -0
- pyrogram/raw/types/star_ref_program.py +12 -10
- pyrogram/raw/types/stars_amount.py +9 -7
- pyrogram/raw/types/stars_gift_option.py +12 -10
- pyrogram/raw/types/stars_giveaway_option.py +15 -13
- pyrogram/raw/types/stars_giveaway_winners_option.py +10 -8
- pyrogram/raw/types/stars_rating.py +101 -0
- pyrogram/raw/types/stars_revenue_status.py +12 -10
- pyrogram/raw/types/stars_subscription.py +19 -17
- pyrogram/raw/types/stars_subscription_pricing.py +9 -7
- pyrogram/raw/types/stars_ton_amount.py +74 -0
- pyrogram/raw/types/stars_topup_option.py +12 -10
- pyrogram/raw/types/stars_transaction.py +100 -68
- pyrogram/raw/types/stars_transaction_peer.py +8 -6
- pyrogram/raw/types/stars_transaction_peer_ads.py +7 -5
- pyrogram/raw/types/stars_transaction_peer_api.py +7 -5
- pyrogram/raw/types/stars_transaction_peer_app_store.py +7 -5
- pyrogram/raw/types/stars_transaction_peer_fragment.py +7 -5
- pyrogram/raw/types/stars_transaction_peer_play_market.py +7 -5
- pyrogram/raw/types/stars_transaction_peer_premium_bot.py +7 -5
- pyrogram/raw/types/stars_transaction_peer_unsupported.py +7 -5
- pyrogram/raw/types/stats/__init__.py +1 -3
- pyrogram/raw/types/stats/broadcast_stats.py +29 -27
- pyrogram/raw/types/stats/megagroup_stats.py +24 -22
- pyrogram/raw/types/stats/message_stats.py +9 -7
- pyrogram/raw/types/stats/poll_stats.py +83 -0
- pyrogram/raw/types/stats/public_forwards.py +12 -10
- pyrogram/raw/types/stats/story_stats.py +9 -7
- pyrogram/raw/types/stats_abs_value_and_prev.py +9 -7
- pyrogram/raw/types/stats_date_range_days.py +9 -7
- pyrogram/raw/types/stats_graph.py +9 -7
- pyrogram/raw/types/stats_graph_async.py +8 -6
- pyrogram/raw/types/stats_graph_error.py +8 -6
- pyrogram/raw/types/stats_group_top_admin.py +11 -9
- pyrogram/raw/types/stats_group_top_inviter.py +9 -7
- pyrogram/raw/types/stats_group_top_poster.py +10 -8
- pyrogram/raw/types/stats_percent_value.py +10 -7
- pyrogram/raw/types/stats_url.py +8 -15
- pyrogram/raw/types/sticker_keyword.py +9 -7
- pyrogram/raw/types/sticker_pack.py +10 -7
- pyrogram/raw/types/sticker_set.py +25 -23
- pyrogram/raw/types/sticker_set_covered.py +9 -7
- pyrogram/raw/types/sticker_set_full_covered.py +12 -9
- pyrogram/raw/types/sticker_set_multi_covered.py +9 -7
- pyrogram/raw/types/sticker_set_no_covered.py +8 -6
- pyrogram/raw/types/stickers/suggested_short_name.py +8 -6
- pyrogram/raw/types/storage/file_gif.py +7 -5
- pyrogram/raw/types/storage/file_jpeg.py +7 -5
- pyrogram/raw/types/storage/file_mov.py +7 -5
- pyrogram/raw/types/storage/file_mp3.py +7 -5
- pyrogram/raw/types/storage/file_mp4.py +7 -5
- pyrogram/raw/types/storage/file_partial.py +7 -5
- pyrogram/raw/types/storage/file_pdf.py +7 -5
- pyrogram/raw/types/storage/file_png.py +7 -5
- pyrogram/raw/types/storage/file_unknown.py +7 -5
- pyrogram/raw/types/storage/file_webp.py +7 -5
- pyrogram/raw/types/stories/__init__.py +2 -0
- pyrogram/raw/types/stories/albums.py +91 -0
- pyrogram/raw/types/stories/albums_not_modified.py +78 -0
- pyrogram/raw/types/stories/all_stories.py +14 -12
- pyrogram/raw/types/stories/all_stories_not_modified.py +9 -7
- pyrogram/raw/types/stories/can_send_story_count.py +8 -6
- pyrogram/raw/types/stories/found_stories.py +12 -10
- pyrogram/raw/types/stories/peer_stories.py +10 -8
- pyrogram/raw/types/stories/stories.py +14 -11
- pyrogram/raw/types/stories/story_reactions_list.py +12 -10
- pyrogram/raw/types/stories/story_views.py +9 -7
- pyrogram/raw/types/stories/story_views_list.py +15 -13
- pyrogram/raw/types/stories_stealth_mode.py +9 -7
- pyrogram/raw/types/story_album.py +114 -0
- pyrogram/raw/types/story_fwd_header.py +10 -8
- pyrogram/raw/types/story_item.py +53 -31
- pyrogram/raw/types/story_item_deleted.py +8 -6
- pyrogram/raw/types/story_item_skipped.py +20 -12
- pyrogram/raw/types/story_reaction.py +10 -8
- pyrogram/raw/types/story_reaction_public_forward.py +8 -6
- pyrogram/raw/types/story_reaction_public_repost.py +9 -7
- pyrogram/raw/types/story_view.py +12 -10
- pyrogram/raw/types/story_view_public_forward.py +10 -8
- pyrogram/raw/types/story_view_public_repost.py +11 -9
- pyrogram/raw/types/story_views.py +13 -11
- pyrogram/raw/types/suggested_post.py +99 -0
- pyrogram/raw/types/text_anchor.py +9 -7
- pyrogram/raw/types/text_auto_email.py +74 -0
- pyrogram/raw/types/text_auto_phone.py +74 -0
- pyrogram/raw/types/text_auto_url.py +74 -0
- pyrogram/raw/types/text_bank_card.py +74 -0
- pyrogram/raw/types/text_bold.py +8 -6
- pyrogram/raw/types/text_bot_command.py +74 -0
- pyrogram/raw/types/text_cashtag.py +74 -0
- pyrogram/raw/types/text_concat.py +8 -6
- pyrogram/raw/types/text_custom_emoji.py +82 -0
- pyrogram/raw/types/text_date.py +120 -0
- pyrogram/raw/types/text_diff.py +82 -0
- pyrogram/raw/types/text_email.py +9 -7
- pyrogram/raw/types/text_empty.py +7 -5
- pyrogram/raw/types/text_fixed.py +8 -6
- pyrogram/raw/types/text_hashtag.py +74 -0
- pyrogram/raw/types/text_image.py +10 -8
- pyrogram/raw/types/text_italic.py +8 -6
- pyrogram/raw/types/text_marked.py +8 -6
- pyrogram/raw/{functions/messages/set_web_view_result.py → types/text_math.py} +20 -18
- pyrogram/raw/types/text_mention.py +74 -0
- pyrogram/raw/types/text_mention_name.py +82 -0
- pyrogram/raw/types/text_phone.py +9 -7
- pyrogram/raw/types/text_plain.py +8 -6
- pyrogram/raw/types/text_spoiler.py +74 -0
- pyrogram/raw/types/text_strike.py +8 -6
- pyrogram/raw/types/text_subscript.py +8 -6
- pyrogram/raw/types/text_superscript.py +8 -6
- pyrogram/raw/types/text_underline.py +8 -6
- pyrogram/raw/types/text_url.py +10 -8
- pyrogram/raw/types/text_with_entities.py +18 -7
- pyrogram/raw/types/theme.py +18 -16
- pyrogram/raw/types/theme_settings.py +13 -11
- pyrogram/raw/types/timezone.py +10 -8
- pyrogram/raw/types/{broadcast_revenue_transaction_proceeds.py → todo_completion.py} +30 -28
- pyrogram/raw/types/todo_item.py +82 -0
- pyrogram/raw/types/todo_list.py +96 -0
- pyrogram/raw/types/top_peer.py +9 -7
- pyrogram/raw/types/top_peer_category_bots_app.py +7 -5
- pyrogram/raw/types/top_peer_category_bots_guest_chat.py +69 -0
- pyrogram/raw/types/top_peer_category_bots_inline.py +7 -5
- pyrogram/raw/types/top_peer_category_bots_pm.py +7 -5
- pyrogram/raw/types/top_peer_category_channels.py +7 -5
- pyrogram/raw/types/top_peer_category_correspondents.py +7 -5
- pyrogram/raw/types/top_peer_category_forward_chats.py +7 -5
- pyrogram/raw/types/top_peer_category_forward_users.py +7 -5
- pyrogram/raw/types/top_peer_category_groups.py +7 -5
- pyrogram/raw/types/top_peer_category_peers.py +10 -8
- pyrogram/raw/types/top_peer_category_phone_calls.py +7 -5
- pyrogram/raw/types/update_ai_compose_tones.py +69 -0
- pyrogram/raw/types/update_attach_menu_bots.py +7 -5
- pyrogram/raw/types/update_auto_save_settings.py +7 -5
- pyrogram/raw/types/update_bot_business_connect.py +9 -7
- pyrogram/raw/types/update_bot_callback_query.py +14 -12
- pyrogram/raw/types/update_bot_chat_boost.py +10 -8
- pyrogram/raw/types/update_bot_chat_invite_requester.py +30 -17
- pyrogram/raw/types/update_bot_commands.py +10 -8
- pyrogram/raw/types/update_bot_delete_business_message.py +11 -9
- pyrogram/raw/types/update_bot_edit_business_message.py +11 -9
- pyrogram/raw/types/update_bot_guest_chat_query.py +102 -0
- pyrogram/raw/types/update_bot_inline_query.py +13 -11
- pyrogram/raw/types/update_bot_inline_send.py +12 -10
- pyrogram/raw/types/update_bot_menu_button.py +9 -7
- pyrogram/raw/types/update_bot_message_reaction.py +14 -12
- pyrogram/raw/types/update_bot_message_reactions.py +12 -10
- pyrogram/raw/types/update_bot_new_business_message.py +11 -9
- pyrogram/raw/types/update_bot_precheckout_query.py +14 -12
- pyrogram/raw/types/update_bot_purchased_paid_media.py +10 -8
- pyrogram/raw/types/update_bot_shipping_query.py +11 -9
- pyrogram/raw/types/update_bot_stars_subscription.py +110 -0
- pyrogram/raw/types/update_bot_stopped.py +11 -9
- pyrogram/raw/types/update_bot_webhook_json.py +8 -6
- pyrogram/raw/types/update_bot_webhook_json_query.py +10 -8
- pyrogram/raw/types/update_business_bot_callback_query.py +14 -12
- pyrogram/raw/types/update_channel.py +8 -6
- pyrogram/raw/types/update_channel_available_messages.py +9 -7
- pyrogram/raw/types/update_channel_message_forwards.py +10 -8
- pyrogram/raw/types/update_channel_message_views.py +10 -8
- pyrogram/raw/types/update_channel_participant.py +16 -14
- pyrogram/raw/types/update_channel_read_messages_contents.py +25 -13
- pyrogram/raw/types/update_channel_too_long.py +9 -7
- pyrogram/raw/types/update_channel_user_typing.py +11 -9
- pyrogram/raw/types/update_channel_view_forum_as_messages.py +10 -7
- pyrogram/raw/types/update_channel_web_page.py +11 -9
- pyrogram/raw/types/update_chat.py +8 -6
- pyrogram/raw/types/update_chat_default_banned_rights.py +10 -8
- pyrogram/raw/types/update_chat_participant.py +15 -13
- pyrogram/raw/types/update_chat_participant_add.py +12 -10
- pyrogram/raw/types/update_chat_participant_admin.py +11 -9
- pyrogram/raw/types/update_chat_participant_delete.py +10 -8
- pyrogram/raw/types/update_chat_participant_rank.py +98 -0
- pyrogram/raw/types/update_chat_participants.py +8 -6
- pyrogram/raw/types/update_chat_user_typing.py +10 -8
- pyrogram/raw/types/update_config.py +7 -5
- pyrogram/raw/types/update_contacts_reset.py +7 -5
- pyrogram/raw/types/update_dc_options.py +8 -6
- pyrogram/raw/types/update_delete_channel_messages.py +11 -9
- pyrogram/raw/types/{update_broadcast_revenue_transactions.py → update_delete_ephemeral_messages.py} +18 -16
- pyrogram/raw/types/update_delete_group_call_messages.py +82 -0
- pyrogram/raw/types/update_delete_messages.py +10 -8
- pyrogram/raw/types/update_delete_quick_reply.py +8 -6
- pyrogram/raw/types/update_delete_quick_reply_messages.py +9 -7
- pyrogram/raw/types/update_delete_scheduled_messages.py +10 -8
- pyrogram/raw/types/update_dialog_filter.py +9 -7
- pyrogram/raw/types/update_dialog_filter_order.py +8 -6
- pyrogram/raw/types/update_dialog_filters.py +7 -5
- pyrogram/raw/types/update_dialog_pinned.py +10 -8
- pyrogram/raw/types/update_dialog_unread_mark.py +24 -12
- pyrogram/raw/types/update_draft_message.py +25 -13
- pyrogram/raw/types/update_edit_channel_message.py +10 -8
- pyrogram/raw/types/update_edit_ephemeral_message.py +74 -0
- pyrogram/raw/types/update_edit_message.py +10 -8
- pyrogram/raw/types/update_emoji_game_info.py +74 -0
- pyrogram/raw/types/update_encrypted_chat_typing.py +8 -6
- pyrogram/raw/types/update_encrypted_messages_read.py +10 -8
- pyrogram/raw/types/update_encryption.py +9 -7
- pyrogram/raw/types/update_ephemeral_bot_callback_query.py +114 -0
- pyrogram/raw/types/update_faved_stickers.py +7 -5
- pyrogram/raw/types/update_folder_peers.py +10 -8
- pyrogram/raw/types/update_geo_live_viewed.py +9 -7
- pyrogram/raw/types/update_group_call.py +27 -18
- pyrogram/raw/types/update_group_call_chain_blocks.py +11 -9
- pyrogram/raw/types/update_group_call_connection.py +9 -7
- pyrogram/raw/types/update_group_call_encrypted_message.py +90 -0
- pyrogram/raw/types/update_group_call_message.py +82 -0
- pyrogram/raw/types/update_group_call_participants.py +10 -8
- pyrogram/raw/types/update_inline_bot_callback_query.py +13 -11
- pyrogram/raw/{functions/messages/get_web_view_result.py → types/update_join_chat_web_view_decision.py} +25 -23
- pyrogram/raw/types/update_lang_pack.py +8 -6
- pyrogram/raw/types/update_lang_pack_too_long.py +8 -6
- pyrogram/raw/types/update_login_token.py +7 -5
- pyrogram/raw/types/{update_bot_subscription_expire.py → update_managed_bot.py} +21 -27
- pyrogram/raw/types/update_message_extended_media.py +10 -8
- pyrogram/raw/types/update_message_id.py +9 -7
- pyrogram/raw/types/update_message_poll.py +43 -13
- pyrogram/raw/types/update_message_poll_vote.py +24 -14
- pyrogram/raw/types/update_message_reactions.py +26 -14
- pyrogram/raw/types/update_mono_forum_no_paid_exception.py +90 -0
- pyrogram/raw/types/update_move_sticker_set_to_top.py +10 -8
- pyrogram/raw/types/update_new_authorization.py +12 -10
- pyrogram/raw/types/update_new_bot_connection.py +109 -0
- pyrogram/raw/types/update_new_channel_message.py +10 -8
- pyrogram/raw/types/update_new_encrypted_message.py +9 -7
- pyrogram/raw/types/update_new_ephemeral_message.py +74 -0
- pyrogram/raw/types/update_new_message.py +10 -8
- pyrogram/raw/types/update_new_quick_reply.py +8 -6
- pyrogram/raw/types/update_new_scheduled_message.py +8 -6
- pyrogram/raw/types/update_new_sticker_set.py +8 -6
- pyrogram/raw/types/update_new_story_reaction.py +10 -8
- pyrogram/raw/types/update_notify_settings.py +9 -7
- pyrogram/raw/types/update_paid_reaction_privacy.py +8 -6
- pyrogram/raw/types/update_peer_blocked.py +10 -8
- pyrogram/raw/types/update_peer_history_ttl.py +9 -7
- pyrogram/raw/types/update_peer_located.py +8 -6
- pyrogram/raw/types/update_peer_settings.py +9 -7
- pyrogram/raw/types/update_peer_wallpaper.py +10 -8
- pyrogram/raw/types/update_pending_join_requests.py +10 -8
- pyrogram/raw/types/update_phone_call.py +8 -6
- pyrogram/raw/types/update_phone_call_signaling_data.py +9 -7
- pyrogram/raw/types/update_pinned_channel_messages.py +12 -10
- pyrogram/raw/types/update_pinned_dialogs.py +9 -7
- pyrogram/raw/types/{update_channel_pinned_topic.py → update_pinned_forum_topic.py} +21 -19
- pyrogram/raw/types/{update_channel_pinned_topics.py → update_pinned_forum_topics.py} +20 -18
- pyrogram/raw/types/update_pinned_messages.py +12 -10
- pyrogram/raw/types/update_pinned_saved_dialogs.py +8 -6
- pyrogram/raw/types/update_privacy.py +9 -7
- pyrogram/raw/types/update_pts_changed.py +7 -5
- pyrogram/raw/types/update_quick_replies.py +8 -6
- pyrogram/raw/types/update_quick_reply_message.py +8 -6
- pyrogram/raw/types/update_read_channel_discussion_inbox.py +12 -10
- pyrogram/raw/types/update_read_channel_discussion_outbox.py +10 -8
- pyrogram/raw/types/update_read_channel_inbox.py +12 -10
- pyrogram/raw/types/update_read_channel_outbox.py +9 -7
- pyrogram/raw/types/update_read_featured_emoji_stickers.py +7 -5
- pyrogram/raw/types/update_read_featured_stickers.py +7 -5
- pyrogram/raw/types/update_read_history_inbox.py +27 -16
- pyrogram/raw/types/update_read_history_outbox.py +11 -9
- pyrogram/raw/types/update_read_messages_contents.py +11 -9
- pyrogram/raw/types/update_read_mono_forum_inbox.py +90 -0
- pyrogram/raw/types/update_read_mono_forum_outbox.py +90 -0
- pyrogram/raw/types/update_read_stories.py +9 -7
- pyrogram/raw/types/update_recent_emoji_statuses.py +7 -5
- pyrogram/raw/types/update_recent_reactions.py +7 -5
- pyrogram/raw/types/update_recent_stickers.py +7 -5
- pyrogram/raw/types/update_saved_dialog_pinned.py +9 -7
- pyrogram/raw/types/update_saved_gifs.py +7 -5
- pyrogram/raw/types/update_saved_reaction_tags.py +7 -5
- pyrogram/raw/types/update_saved_ringtones.py +7 -5
- pyrogram/raw/types/update_sent_phone_code.py +8 -6
- pyrogram/raw/types/update_sent_story_reaction.py +10 -8
- pyrogram/raw/types/update_service_notification.py +14 -12
- pyrogram/raw/types/update_short.py +35 -18
- pyrogram/raw/types/update_short_chat_message.py +49 -32
- pyrogram/raw/types/update_short_message.py +48 -31
- pyrogram/raw/types/update_short_sent_message.py +41 -24
- pyrogram/raw/types/update_sms_job.py +8 -6
- pyrogram/raw/types/update_star_gift_auction_state.py +82 -0
- pyrogram/raw/types/update_star_gift_auction_user_state.py +82 -0
- pyrogram/raw/types/update_star_gift_craft_fail.py +69 -0
- pyrogram/raw/types/update_stars_balance.py +8 -6
- pyrogram/raw/types/update_stars_revenue_status.py +9 -7
- pyrogram/raw/types/update_sticker_sets.py +9 -7
- pyrogram/raw/types/update_sticker_sets_order.py +10 -8
- pyrogram/raw/types/update_stories_stealth_mode.py +8 -6
- pyrogram/raw/types/update_story.py +9 -7
- pyrogram/raw/types/update_story_id.py +9 -7
- pyrogram/raw/types/update_theme.py +8 -6
- pyrogram/raw/types/update_transcribed_audio.py +12 -10
- pyrogram/raw/types/update_user.py +8 -6
- pyrogram/raw/types/update_user_emoji_status.py +9 -7
- pyrogram/raw/types/update_user_name.py +11 -9
- pyrogram/raw/types/update_user_phone.py +9 -7
- pyrogram/raw/types/update_user_status.py +9 -7
- pyrogram/raw/types/update_user_typing.py +27 -14
- pyrogram/raw/types/update_web_browser_exception.py +91 -0
- pyrogram/raw/types/update_web_browser_settings.py +80 -0
- pyrogram/raw/types/update_web_page.py +10 -8
- pyrogram/raw/types/update_web_view_result_sent.py +8 -6
- pyrogram/raw/types/updates/channel_difference.py +14 -12
- pyrogram/raw/types/updates/channel_difference_empty.py +10 -8
- pyrogram/raw/types/updates/channel_difference_too_long.py +13 -11
- pyrogram/raw/types/updates/difference.py +13 -11
- pyrogram/raw/types/updates/difference_empty.py +9 -7
- pyrogram/raw/types/updates/difference_slice.py +13 -11
- pyrogram/raw/types/updates/difference_too_long.py +8 -6
- pyrogram/raw/types/updates/state.py +12 -10
- pyrogram/raw/types/updates_combined.py +39 -22
- pyrogram/raw/types/updates_t.py +38 -21
- pyrogram/raw/types/updates_too_long.py +33 -16
- pyrogram/raw/types/upload/cdn_file.py +8 -6
- pyrogram/raw/types/upload/cdn_file_reupload_needed.py +8 -6
- pyrogram/raw/types/upload/file.py +10 -8
- pyrogram/raw/types/upload/file_cdn_redirect.py +12 -10
- pyrogram/raw/types/upload/web_file.py +12 -10
- pyrogram/raw/types/url_auth_result_accepted.py +20 -15
- pyrogram/raw/types/url_auth_result_default.py +7 -5
- pyrogram/raw/types/url_auth_result_request.py +97 -13
- pyrogram/raw/types/user.py +102 -58
- pyrogram/raw/types/user_empty.py +12 -8
- pyrogram/raw/types/user_full.py +153 -64
- pyrogram/raw/types/user_profile_photo.py +12 -10
- pyrogram/raw/types/user_profile_photo_empty.py +7 -5
- pyrogram/raw/types/user_status_empty.py +7 -5
- pyrogram/raw/types/user_status_last_month.py +8 -6
- pyrogram/raw/types/user_status_last_week.py +8 -6
- pyrogram/raw/types/user_status_offline.py +8 -6
- pyrogram/raw/types/user_status_online.py +8 -6
- pyrogram/raw/types/user_status_recently.py +8 -6
- pyrogram/raw/types/username.py +10 -8
- pyrogram/raw/types/users/__init__.py +2 -0
- pyrogram/raw/types/users/saved_music.py +92 -0
- pyrogram/raw/types/{stats/broadcast_revenue_transactions.py → users/saved_music_not_modified.py} +19 -24
- pyrogram/raw/types/users/user_full.py +10 -8
- pyrogram/raw/types/users/users.py +8 -6
- pyrogram/raw/types/users/users_slice.py +9 -7
- pyrogram/raw/types/video_size.py +12 -10
- pyrogram/raw/types/video_size_emoji_markup.py +9 -7
- pyrogram/raw/types/video_size_sticker_markup.py +10 -8
- pyrogram/raw/types/wall_paper.py +16 -14
- pyrogram/raw/types/wall_paper_no_file.py +11 -9
- pyrogram/raw/types/wall_paper_settings.py +16 -14
- pyrogram/raw/types/web_authorization.py +16 -14
- pyrogram/raw/types/web_document.py +12 -10
- pyrogram/raw/types/web_document_no_proxy.py +11 -9
- pyrogram/raw/types/web_domain_exception.py +101 -0
- pyrogram/raw/types/web_page.py +27 -25
- pyrogram/raw/types/web_page_attribute_ai_compose_tone.py +74 -0
- pyrogram/raw/types/web_page_attribute_star_gift_auction.py +82 -0
- pyrogram/raw/types/web_page_attribute_star_gift_collection.py +74 -0
- pyrogram/raw/types/web_page_attribute_sticker_set.py +10 -8
- pyrogram/raw/types/web_page_attribute_story.py +10 -8
- pyrogram/raw/types/web_page_attribute_theme.py +9 -7
- pyrogram/raw/types/web_page_attribute_unique_star_gift.py +8 -6
- pyrogram/raw/types/web_page_empty.py +9 -7
- pyrogram/raw/types/web_page_not_modified.py +8 -6
- pyrogram/raw/types/web_page_pending.py +10 -8
- pyrogram/raw/types/web_view_message_sent.py +8 -6
- pyrogram/raw/types/web_view_result_url.py +21 -12
- pyrogram/session/session.py +183 -69
- pyrogram/sync.py +19 -1
- pyrogram/types/bots_and_keyboards/__init__.py +2 -0
- pyrogram/types/bots_and_keyboards/callback_query.py +1 -1
- pyrogram/types/bots_and_keyboards/inline_keyboard_button.py +42 -17
- pyrogram/types/bots_and_keyboards/keyboard_button.py +23 -9
- pyrogram/types/bots_and_keyboards/keyboard_button_style.py +73 -0
- pyrogram/types/bots_and_keyboards/login_url.py +5 -4
- pyrogram/types/inline_mode/chosen_inline_result.py +1 -1
- pyrogram/types/input_message_content/__init__.py +2 -1
- pyrogram/types/input_message_content/input_rich_message_content.py +52 -0
- pyrogram/types/messages_and_media/__init__.py +11 -2
- pyrogram/types/messages_and_media/input_rich_message.py +77 -0
- pyrogram/types/messages_and_media/link_preview_options.py +59 -0
- pyrogram/types/messages_and_media/message.py +176 -24
- pyrogram/types/messages_and_media/poll.py +1 -0
- pyrogram/types/messages_and_media/poll_link.py +77 -0
- pyrogram/types/messages_and_media/poll_option.py +8 -1
- pyrogram/types/messages_and_media/rich_block.py +485 -0
- pyrogram/types/messages_and_media/rich_message.py +65 -0
- pyrogram/types/messages_and_media/rich_text.py +304 -0
- pyrogram/types/messages_and_media/star_gift.py +242 -0
- pyrogram/types/object.py +1 -1
- pyrogram/types/user_and_chats/__init__.py +5 -1
- pyrogram/types/user_and_chats/chat.py +197 -2
- pyrogram/types/user_and_chats/chat_join_request.py +40 -1
- pyrogram/types/user_and_chats/chat_permissions.py +67 -7
- pyrogram/types/user_and_chats/chat_privileges.py +26 -2
- pyrogram/types/user_and_chats/guard_bot_query.py +145 -0
- pyrogram/types/user_and_chats/peer_color.py +100 -0
- pyrogram/types/user_and_chats/user.py +106 -2
- pyrogram/utils.py +4 -4
- {pyrogrammod-2.2.1.dist-info → pyrogrammod-2.4.0.dist-info}/METADATA +37 -41
- pyrogrammod-2.4.0.dist-info/RECORD +3682 -0
- {pyrogrammod-2.2.1.dist-info → pyrogrammod-2.4.0.dist-info}/WHEEL +1 -2
- pyrogram/raw/base/stats/broadcast_revenue_stats.py +0 -28
- pyrogram/raw/base/stats/broadcast_revenue_transactions.py +0 -28
- pyrogram/raw/base/stats/broadcast_revenue_withdrawal_url.py +0 -28
- pyrogram/raw/types/broadcast_revenue_balances.py +0 -96
- pyrogram/raw/types/broadcast_revenue_transaction_withdrawal.py +0 -120
- pyrogrammod-2.2.1.dist-info/RECORD +0 -3269
- pyrogrammod-2.2.1.dist-info/top_level.txt +0 -1
- {pyrogrammod-2.2.1.dist-info → pyrogrammod-2.4.0.dist-info}/licenses/COPYING +0 -0
- {pyrogrammod-2.2.1.dist-info → pyrogrammod-2.4.0.dist-info}/licenses/COPYING.lesser +0 -0
- {pyrogrammod-2.2.1.dist-info → pyrogrammod-2.4.0.dist-info}/licenses/NOTICE +0 -0
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
# You should have received a copy of the GNU Lesser General Public License
|
|
17
17
|
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
|
18
18
|
|
|
19
|
-
count =
|
|
19
|
+
count = 2290
|
|
20
20
|
|
|
21
21
|
exceptions = {
|
|
22
22
|
406: {
|
|
@@ -32,7 +32,9 @@ exceptions = {
|
|
|
32
32
|
"ADMIN_RANK_INVALID": "AdminRankInvalid",
|
|
33
33
|
"ADMIN_RIGHTS_EMPTY": "AdminRightsEmpty",
|
|
34
34
|
"ALBUM_PHOTOS_TOO_MANY": "AlbumPhotosTooMany",
|
|
35
|
+
"ALLOW_PAYMENT_REQUIRED": "AllowPaymentRequired",
|
|
35
36
|
"ANONYMOUS_REACTIONS_DISABLED": "AnonymousReactionsDisabled",
|
|
37
|
+
"API_GIFT_RESTRICTED_UPDATE_APP": "ApiGiftRestrictedUpdateApp",
|
|
36
38
|
"API_ID_INVALID": "ApiIdInvalid",
|
|
37
39
|
"API_ID_PUBLISHED_FLOOD": "ApiIdPublishedFlood",
|
|
38
40
|
"ARTICLE_TITLE_EMPTY": "ArticleTitleEmpty",
|
|
@@ -154,6 +156,7 @@ exceptions = {
|
|
|
154
156
|
"DH_G_A_INVALID": "DhGAInvalid",
|
|
155
157
|
"DOCUMENT_INVALID": "DocumentInvalid",
|
|
156
158
|
"EDIT_BOT_INVITE_FORBIDDEN": "EditBotInviteForbidden",
|
|
159
|
+
"EDIT_MESSAGE_TEMP_RESTRICTED": "EditMessageTempRestricted",
|
|
157
160
|
"EMAIL_HASH_EXPIRED": "EmailHashExpired",
|
|
158
161
|
"EMAIL_INVALID": "EmailInvalid",
|
|
159
162
|
"EMAIL_NOT_SETUP": "EmailNotSetup",
|
|
@@ -352,10 +355,13 @@ exceptions = {
|
|
|
352
355
|
"PLAYMARKET_PURCHASE_USED": "PlaymarketPurchaseUsed",
|
|
353
356
|
"POLL_ANSWERS_INVALID": "PollAnswersInvalid",
|
|
354
357
|
"POLL_ANSWER_INVALID": "PollAnswerInvalid",
|
|
358
|
+
"POLL_COUNTRY_RESTRICTED": "PollCountryRestricted",
|
|
359
|
+
"POLL_MEMBER_RESTRICTED": "PollMemberRestricted",
|
|
355
360
|
"POLL_OPTION_DUPLICATE": "PollOptionDuplicate",
|
|
356
361
|
"POLL_OPTION_INVALID": "PollOptionInvalid",
|
|
357
362
|
"POLL_QUESTION_INVALID": "PollQuestionInvalid",
|
|
358
363
|
"POLL_VOTE_REQUIRED": "PollVoteRequired",
|
|
364
|
+
"PRECHECKOUT_FAILED": "PrecheckoutFailed",
|
|
359
365
|
"PREMIUM_ACCOUNT_REQUIRED": "PremiumAccountRequired",
|
|
360
366
|
"PREMIUM_CURRENTLY_UNAVAILABLE": "PremiumCurrentlyUnavailable",
|
|
361
367
|
"PREMIUM_GIFTCODE_WAS_REFUNDED": "PremiumGiftcodeWasRefunded",
|
|
@@ -427,6 +433,8 @@ exceptions = {
|
|
|
427
433
|
"SMS_CODE_CREATE_FAILED": "SmsCodeCreateFailed",
|
|
428
434
|
"SRP_ID_INVALID": "SrpIdInvalid",
|
|
429
435
|
"SRP_PASSWORD_CHANGED": "SrpPasswordChanged",
|
|
436
|
+
"STARGIFT_EXPORT_IN_PROGRESS": "StargiftExportInProgress",
|
|
437
|
+
"STARS_FORM_AMOUNT_MISMATCH": "StarsFormAmountMismatch",
|
|
430
438
|
"START_PARAM_EMPTY": "StartParamEmpty",
|
|
431
439
|
"START_PARAM_INVALID": "StartParamInvalid",
|
|
432
440
|
"START_PARAM_TOO_LONG": "StartParamTooLong",
|
|
@@ -486,6 +494,7 @@ exceptions = {
|
|
|
486
494
|
"TOPIC_TITLE_EMPTY": "TopicTitleEmpty",
|
|
487
495
|
"TO_LANG_INVALID": "ToLangInvalid",
|
|
488
496
|
"TRANSCRIPTION_FAILED": "TranscriptionFailed",
|
|
497
|
+
"TRANSLATIONS_DISABLED": "TranslationsDisabled",
|
|
489
498
|
"TTL_DAYS_INVALID": "TtlDaysInvalid",
|
|
490
499
|
"TTL_MEDIA_INVALID": "TtlMediaInvalid",
|
|
491
500
|
"TTL_PERIOD_INVALID": "TtlPeriodInvalid",
|
|
@@ -556,16 +565,30 @@ exceptions = {
|
|
|
556
565
|
"FLOOD_PREMIUM_WAIT_X": "FloodPremiumWait",
|
|
557
566
|
"FLOOD_TEST_PHONE_WAIT_X": "FloodTestPhoneWait",
|
|
558
567
|
"FLOOD_WAIT_X": "FloodWait",
|
|
568
|
+
"FROZEN_METHOD_INVALID": "FrozenMethodInvalid",
|
|
559
569
|
"PREMIUM_SUB_ACTIVE_UNTIL_X": "PremiumSubActiveUntil",
|
|
560
570
|
"SLOWMODE_WAIT_X": "SlowmodeWait",
|
|
561
571
|
"TAKEOUT_INIT_DELAY_X": "TakeoutInitDelay",
|
|
562
572
|
},
|
|
563
|
-
|
|
564
|
-
"_": "
|
|
573
|
+
401: {
|
|
574
|
+
"_": "Unauthorized",
|
|
575
|
+
"ACTIVE_USER_REQUIRED": "ActiveUserRequired",
|
|
576
|
+
"AUTH_KEY_INVALID": "AuthKeyInvalid",
|
|
577
|
+
"AUTH_KEY_PERM_EMPTY": "AuthKeyPermEmpty",
|
|
578
|
+
"AUTH_KEY_UNREGISTERED": "AuthKeyUnregistered",
|
|
579
|
+
"SESSION_EXPIRED": "SessionExpired",
|
|
580
|
+
"SESSION_PASSWORD_NEEDED": "SessionPasswordNeeded",
|
|
581
|
+
"SESSION_REVOKED": "SessionRevoked",
|
|
582
|
+
"USER_DEACTIVATED": "UserDeactivated",
|
|
583
|
+
"USER_DEACTIVATED_BAN": "UserDeactivatedBan",
|
|
584
|
+
},
|
|
585
|
+
403: {
|
|
586
|
+
"_": "Forbidden",
|
|
565
587
|
"2FA_CONFIRM_WAIT_X": "TwoFaConfirmWait",
|
|
566
588
|
"ABOUT_TOO_LONG": "AboutTooLong",
|
|
567
589
|
"ACCESS_TOKEN_EXPIRED": "AccessTokenExpired",
|
|
568
590
|
"ACCESS_TOKEN_INVALID": "AccessTokenInvalid",
|
|
591
|
+
"ACCESS_DENIED": "AccessDenied",
|
|
569
592
|
"ADDRESS_INVALID": "AddressInvalid",
|
|
570
593
|
"ADMINS_TOO_MUCH": "AdminsTooMuch",
|
|
571
594
|
"ADMIN_ID_INVALID": "AdminIdInvalid",
|
|
@@ -573,17 +596,14 @@ exceptions = {
|
|
|
573
596
|
"ADMIN_RANK_INVALID": "AdminRankInvalid",
|
|
574
597
|
"ADMIN_RIGHTS_EMPTY": "AdminRightsEmpty",
|
|
575
598
|
"ALBUM_PHOTOS_TOO_MANY": "AlbumPhotosTooMany",
|
|
599
|
+
"ALLOW_PAYMENT_REQUIRED_X": "AllowPaymentRequired",
|
|
576
600
|
"ANONYMOUS_REACTIONS_DISABLED": "AnonymousReactionsDisabled",
|
|
577
|
-
"API_CALL_ERROR": "ApiCallError",
|
|
578
601
|
"API_ID_INVALID": "ApiIdInvalid",
|
|
579
602
|
"API_ID_PUBLISHED_FLOOD": "ApiIdPublishedFlood",
|
|
580
603
|
"ARTICLE_TITLE_EMPTY": "ArticleTitleEmpty",
|
|
581
604
|
"AUDIO_CONTENT_URL_EMPTY": "AudioContentUrlEmpty",
|
|
582
605
|
"AUDIO_TITLE_EMPTY": "AudioTitleEmpty",
|
|
583
606
|
"AUTH_BYTES_INVALID": "AuthBytesInvalid",
|
|
584
|
-
"AUTH_KEY_UNSYNCHRONIZED": "AuthKeyUnsynchronized",
|
|
585
|
-
"AUTH_RESTART": "AuthRestart",
|
|
586
|
-
"AUTH_RESTART_X": "AuthRestart",
|
|
587
607
|
"AUTH_TOKEN_ALREADY_ACCEPTED": "AuthTokenAlreadyAccepted",
|
|
588
608
|
"AUTH_TOKEN_EXCEPTION": "AuthTokenException",
|
|
589
609
|
"AUTH_TOKEN_EXPIRED": "AuthTokenExpired",
|
|
@@ -597,12 +617,14 @@ exceptions = {
|
|
|
597
617
|
"BOOST_NOT_MODIFIED": "BoostNotModified",
|
|
598
618
|
"BOOST_PEER_INVALID": "BoostPeerInvalid",
|
|
599
619
|
"BOTS_TOO_MUCH": "BotsTooMuch",
|
|
620
|
+
"BOT_ACCESS_FORBIDDEN": "BotAccessForbidden",
|
|
600
621
|
"BOT_APP_INVALID": "BotAppInvalid",
|
|
601
622
|
"BOT_APP_SHORTNAME_INVALID": "BotAppShortnameInvalid",
|
|
602
623
|
"BOT_CHANNELS_NA": "BotChannelsNa",
|
|
603
624
|
"BOT_COMMAND_DESCRIPTION_INVALID": "BotCommandDescriptionInvalid",
|
|
604
625
|
"BOT_COMMAND_INVALID": "BotCommandInvalid",
|
|
605
626
|
"BOT_DOMAIN_INVALID": "BotDomainInvalid",
|
|
627
|
+
"BOT_FORUM_CREATE_FORBIDDEN": "BotForumCreateForbidden",
|
|
606
628
|
"BOT_GROUPS_BLOCKED": "BotGroupsBlocked",
|
|
607
629
|
"BOT_INLINE_DISABLED": "BotInlineDisabled",
|
|
608
630
|
"BOT_INVALID": "BotInvalid",
|
|
@@ -611,6 +633,7 @@ exceptions = {
|
|
|
611
633
|
"BOT_PAYMENTS_DISABLED": "BotPaymentsDisabled",
|
|
612
634
|
"BOT_RESPONSE_TIMEOUT": "BotResponseTimeout",
|
|
613
635
|
"BOT_SCORE_NOT_MODIFIED": "BotScoreNotModified",
|
|
636
|
+
"BOT_VERIFIER_FORBIDDEN": "BotVerifierForbidden",
|
|
614
637
|
"BOT_WEBVIEW_DISABLED": "BotWebviewDisabled",
|
|
615
638
|
"BROADCAST_FORBIDDEN": "BroadcastForbidden",
|
|
616
639
|
"BROADCAST_ID_INVALID": "BroadcastIdInvalid",
|
|
@@ -627,7 +650,6 @@ exceptions = {
|
|
|
627
650
|
"CALL_PEER_INVALID": "CallPeerInvalid",
|
|
628
651
|
"CALL_PROTOCOL_FLAGS_INVALID": "CallProtocolFlagsInvalid",
|
|
629
652
|
"CDN_METHOD_INVALID": "CdnMethodInvalid",
|
|
630
|
-
"CDN_UPLOAD_TIMEOUT": "CdnUploadTimeout",
|
|
631
653
|
"CHANNELS_ADMIN_LOCATED_TOO_MUCH": "ChannelsAdminLocatedTooMuch",
|
|
632
654
|
"CHANNELS_ADMIN_PUBLIC_TOO_MUCH": "ChannelsAdminPublicTooMuch",
|
|
633
655
|
"CHANNELS_TOO_MUCH": "ChannelsTooMuch",
|
|
@@ -642,20 +664,19 @@ exceptions = {
|
|
|
642
664
|
"CHATLIST_EXCLUDE_INVALID": "ChatlistExcludeInvalid",
|
|
643
665
|
"CHAT_ABOUT_NOT_MODIFIED": "ChatAboutNotModified",
|
|
644
666
|
"CHAT_ABOUT_TOO_LONG": "ChatAboutTooLong",
|
|
667
|
+
"CHAT_ACTION_FORBIDDEN": "ChatActionForbidden",
|
|
645
668
|
"CHAT_ADMIN_INVITE_REQUIRED": "ChatAdminInviteRequired",
|
|
646
669
|
"CHAT_ADMIN_REQUIRED": "ChatAdminRequired",
|
|
647
670
|
"CHAT_DISCUSSION_UNALLOWED": "ChatDiscussionUnallowed",
|
|
671
|
+
"CHAT_FORBIDDEN": "ChatForbidden",
|
|
648
672
|
"CHAT_FORWARDS_RESTRICTED": "ChatForwardsRestricted",
|
|
649
673
|
"CHAT_GUEST_SEND_FORBIDDEN": "ChatGuestSendForbidden",
|
|
650
674
|
"CHAT_ID_EMPTY": "ChatIdEmpty",
|
|
651
|
-
"CHAT_ID_GENERATE_FAILED": "ChatIdGenerateFailed",
|
|
652
675
|
"CHAT_ID_INVALID": "ChatIdInvalid",
|
|
653
676
|
"CHAT_INVALID": "ChatInvalid",
|
|
654
677
|
"CHAT_INVITE_PERMANENT": "ChatInvitePermanent",
|
|
655
678
|
"CHAT_LINK_EXISTS": "ChatLinkExists",
|
|
656
679
|
"CHAT_NOT_MODIFIED": "ChatNotModified",
|
|
657
|
-
"CHAT_OCCUPY_LOC_FAILED": "ChatOccupyLocFailed",
|
|
658
|
-
"CHAT_OCCUPY_USERNAME_FAILED": "ChatOccupyUsernameFailed",
|
|
659
680
|
"CHAT_PUBLIC_REQUIRED": "ChatPublicRequired",
|
|
660
681
|
"CHAT_RESTRICTED": "ChatRestricted",
|
|
661
682
|
"CHAT_REVOKE_DATE_UNSUPPORTED": "ChatRevokeDateUnsupported",
|
|
@@ -668,13 +689,15 @@ exceptions = {
|
|
|
668
689
|
"CHAT_SEND_PHOTOS_FORBIDDEN": "ChatSendPhotosForbidden",
|
|
669
690
|
"CHAT_SEND_PLAIN_FORBIDDEN": "ChatSendPlainForbidden",
|
|
670
691
|
"CHAT_SEND_POLL_FORBIDDEN": "ChatSendPollForbidden",
|
|
692
|
+
"CHAT_SEND_ROUNDVIDEOS_FORBIDDEN": "ChatSendRoundvideosForbidden",
|
|
671
693
|
"CHAT_SEND_STICKERS_FORBIDDEN": "ChatSendStickersForbidden",
|
|
672
694
|
"CHAT_SEND_VIDEOS_FORBIDDEN": "ChatSendVideosForbidden",
|
|
673
695
|
"CHAT_SEND_VOICES_FORBIDDEN": "ChatSendVoicesForbidden",
|
|
696
|
+
"CHAT_SEND_WEBPAGE_FORBIDDEN": "ChatSendWebpageForbidden",
|
|
674
697
|
"CHAT_TITLE_EMPTY": "ChatTitleEmpty",
|
|
675
698
|
"CHAT_TOO_BIG": "ChatTooBig",
|
|
699
|
+
"CHAT_TYPE_INVALID": "ChatTypeInvalid",
|
|
676
700
|
"CHAT_WRITE_FORBIDDEN": "ChatWriteForbidden",
|
|
677
|
-
"CHP_CALL_FAIL": "ChpCallFail",
|
|
678
701
|
"CODE_EMPTY": "CodeEmpty",
|
|
679
702
|
"CODE_HASH_INVALID": "CodeHashInvalid",
|
|
680
703
|
"CODE_INVALID": "CodeInvalid",
|
|
@@ -715,8 +738,6 @@ exceptions = {
|
|
|
715
738
|
"ENCRYPTION_ALREADY_DECLINED": "EncryptionAlreadyDeclined",
|
|
716
739
|
"ENCRYPTION_DECLINED": "EncryptionDeclined",
|
|
717
740
|
"ENCRYPTION_ID_INVALID": "EncryptionIdInvalid",
|
|
718
|
-
"ENCRYPTION_OCCUPY_ADMIN_FAILED": "EncryptionOccupyAdminFailed",
|
|
719
|
-
"ENCRYPTION_OCCUPY_FAILED": "EncryptionOccupyFailed",
|
|
720
741
|
"ENTITIES_TOO_LONG": "EntitiesTooLong",
|
|
721
742
|
"ENTITY_BOUNDS_INVALID": "EntityBoundsInvalid",
|
|
722
743
|
"ENTITY_MENTION_USER_INVALID": "EntityMentionUserInvalid",
|
|
@@ -744,7 +765,6 @@ exceptions = {
|
|
|
744
765
|
"FILTER_NOT_SUPPORTED": "FilterNotSupported",
|
|
745
766
|
"FILTER_TITLE_EMPTY": "FilterTitleEmpty",
|
|
746
767
|
"FIRSTNAME_INVALID": "FirstnameInvalid",
|
|
747
|
-
"FOLDER_DEAC_AUTOFIX_ALL": "FolderDeacAutofixAll",
|
|
748
768
|
"FOLDER_ID_EMPTY": "FolderIdEmpty",
|
|
749
769
|
"FOLDER_ID_INVALID": "FolderIdInvalid",
|
|
750
770
|
"FORUM_ENABLED": "ForumEnabled",
|
|
@@ -761,7 +781,6 @@ exceptions = {
|
|
|
761
781
|
"GRAPH_EXPIRED_RELOAD": "GraphExpiredReload",
|
|
762
782
|
"GRAPH_INVALID_RELOAD": "GraphInvalidReload",
|
|
763
783
|
"GRAPH_OUTDATED_RELOAD": "GraphOutdatedReload",
|
|
764
|
-
"GROUPCALL_ADD_PARTICIPANTS_FAILED": "GroupcallAddParticipantsFailed",
|
|
765
784
|
"GROUPCALL_ALREADY_DISCARDED": "GroupcallAlreadyDiscarded",
|
|
766
785
|
"GROUPCALL_ALREADY_STARTED": "GroupcallAlreadyStarted",
|
|
767
786
|
"GROUPCALL_FORBIDDEN": "GroupcallForbidden",
|
|
@@ -769,12 +788,9 @@ exceptions = {
|
|
|
769
788
|
"GROUPCALL_JOIN_MISSING": "GroupcallJoinMissing",
|
|
770
789
|
"GROUPCALL_NOT_MODIFIED": "GroupcallNotModified",
|
|
771
790
|
"GROUPCALL_SSRC_DUPLICATE_MUCH": "GroupcallSsrcDuplicateMuch",
|
|
772
|
-
"GROUPED_ID_OCCUPY_FAILED": "GroupedIdOccupyFailed",
|
|
773
791
|
"GROUPED_MEDIA_INVALID": "GroupedMediaInvalid",
|
|
774
792
|
"HASH_INVALID": "HashInvalid",
|
|
775
793
|
"HIDE_REQUESTER_MISSING": "HideRequesterMissing",
|
|
776
|
-
"HISTORY_GET_FAILED": "HistoryGetFailed",
|
|
777
|
-
"IMAGE_ENGINE_DOWN": "ImageEngineDown",
|
|
778
794
|
"IMAGE_PROCESS_FAILED": "ImageProcessFailed",
|
|
779
795
|
"IMPORT_FILE_INVALID": "ImportFileInvalid",
|
|
780
796
|
"IMPORT_FORMAT_UNRECOGNIZED": "ImportFormatUnrecognized",
|
|
@@ -787,8 +803,6 @@ exceptions = {
|
|
|
787
803
|
"INPUT_TEXT_EMPTY": "InputTextEmpty",
|
|
788
804
|
"INPUT_TEXT_TOO_LONG": "InputTextTooLong",
|
|
789
805
|
"INPUT_USER_DEACTIVATED": "InputUserDeactivated",
|
|
790
|
-
"INTERDC_X_CALL_ERROR": "InterdcCallError",
|
|
791
|
-
"INTERDC_X_CALL_RICH_ERROR": "InterdcCallRichError",
|
|
792
806
|
"INVITES_TOO_MUCH": "InvitesTooMuch",
|
|
793
807
|
"INVITE_FORBIDDEN_WITH_JOINAS": "InviteForbiddenWithJoinas",
|
|
794
808
|
"INVITE_HASH_EMPTY": "InviteHashEmpty",
|
|
@@ -825,10 +839,6 @@ exceptions = {
|
|
|
825
839
|
"MEGAGROUP_ID_INVALID": "MegagroupIdInvalid",
|
|
826
840
|
"MEGAGROUP_PREHISTORY_HIDDEN": "MegagroupPrehistoryHidden",
|
|
827
841
|
"MEGAGROUP_REQUIRED": "MegagroupRequired",
|
|
828
|
-
"MEMBER_FETCH_FAILED": "MemberFetchFailed",
|
|
829
|
-
"MEMBER_NO_LOCATION": "MemberNoLocation",
|
|
830
|
-
"MEMBER_OCCUPY_PRIMARY_LOC_FAILED": "MemberOccupyPrimaryLocFailed",
|
|
831
|
-
"MEMBER_OCCUPY_USERNAME_FAILED": "MemberOccupyUsernameFailed",
|
|
832
842
|
"MESSAGE_AUTHOR_REQUIRED": "MessageAuthorRequired",
|
|
833
843
|
"MESSAGE_DELETE_FORBIDDEN": "MessageDeleteForbidden",
|
|
834
844
|
"MESSAGE_EDIT_TIME_EXPIRED": "MessageEditTimeExpired",
|
|
@@ -840,20 +850,15 @@ exceptions = {
|
|
|
840
850
|
"MESSAGE_TOO_LONG": "MessageTooLong",
|
|
841
851
|
"METHOD_INVALID": "MethodInvalid",
|
|
842
852
|
"MIN_DATE_INVALID": "MinDateInvalid",
|
|
843
|
-
"MSGID_DECREASE_RETRY": "MsgidDecreaseRetry",
|
|
844
853
|
"MSG_ID_INVALID": "MsgIdInvalid",
|
|
845
|
-
"MSG_RANGE_UNSYNC": "MsgRangeUnsync",
|
|
846
854
|
"MSG_TOO_OLD": "MsgTooOld",
|
|
847
855
|
"MSG_WAIT_FAILED": "MsgWaitFailed",
|
|
848
|
-
"MT_SEND_QUEUE_TOO_LONG": "MtSendQueueTooLong",
|
|
849
856
|
"MULTI_MEDIA_TOO_LONG": "MultiMediaTooLong",
|
|
850
|
-
"NEED_CHAT_INVALID": "NeedChatInvalid",
|
|
851
|
-
"NEED_MEMBER_INVALID": "NeedMemberInvalid",
|
|
852
857
|
"NEW_SALT_INVALID": "NewSaltInvalid",
|
|
853
858
|
"NEW_SETTINGS_EMPTY": "NewSettingsEmpty",
|
|
854
859
|
"NEW_SETTINGS_INVALID": "NewSettingsInvalid",
|
|
855
860
|
"NEXT_OFFSET_INVALID": "NextOffsetInvalid",
|
|
856
|
-
"
|
|
861
|
+
"NOT_ELIGIBLE": "NotEligible",
|
|
857
862
|
"OFFSET_INVALID": "OffsetInvalid",
|
|
858
863
|
"OFFSET_PEER_ID_INVALID": "OffsetPeerIdInvalid",
|
|
859
864
|
"OPTIONS_TOO_MUCH": "OptionsTooMuch",
|
|
@@ -863,7 +868,6 @@ exceptions = {
|
|
|
863
868
|
"PACK_SHORT_NAME_OCCUPIED": "PackShortNameOccupied",
|
|
864
869
|
"PACK_TITLE_INVALID": "PackTitleInvalid",
|
|
865
870
|
"PARTICIPANTS_TOO_FEW": "ParticipantsTooFew",
|
|
866
|
-
"PARTICIPANT_CALL_FAILED": "ParticipantCallFailed",
|
|
867
871
|
"PARTICIPANT_ID_INVALID": "ParticipantIdInvalid",
|
|
868
872
|
"PARTICIPANT_JOIN_MISSING": "ParticipantJoinMissing",
|
|
869
873
|
"PARTICIPANT_VERSION_OUTDATED": "ParticipantVersionOutdated",
|
|
@@ -881,7 +885,6 @@ exceptions = {
|
|
|
881
885
|
"PEER_ID_NOT_SUPPORTED": "PeerIdNotSupported",
|
|
882
886
|
"PERSISTENT_TIMESTAMP_EMPTY": "PersistentTimestampEmpty",
|
|
883
887
|
"PERSISTENT_TIMESTAMP_INVALID": "PersistentTimestampInvalid",
|
|
884
|
-
"PERSISTENT_TIMESTAMP_OUTDATED": "PersistentTimestampOutdated",
|
|
885
888
|
"PHONE_CODE_EMPTY": "PhoneCodeEmpty",
|
|
886
889
|
"PHONE_CODE_EXPIRED": "PhoneCodeExpired",
|
|
887
890
|
"PHONE_CODE_HASH_EMPTY": "PhoneCodeHashEmpty",
|
|
@@ -897,7 +900,6 @@ exceptions = {
|
|
|
897
900
|
"PHONE_PASSWORD_PROTECTED": "PhonePasswordProtected",
|
|
898
901
|
"PHOTO_CONTENT_TYPE_INVALID": "PhotoContentTypeInvalid",
|
|
899
902
|
"PHOTO_CONTENT_URL_EMPTY": "PhotoContentUrlEmpty",
|
|
900
|
-
"PHOTO_CREATE_FAILED": "PhotoCreateFailed",
|
|
901
903
|
"PHOTO_CROP_FILE_MISSING": "PhotoCropFileMissing",
|
|
902
904
|
"PHOTO_CROP_SIZE_SMALL": "PhotoCropSizeSmall",
|
|
903
905
|
"PHOTO_EXT_INVALID": "PhotoExtInvalid",
|
|
@@ -915,14 +917,12 @@ exceptions = {
|
|
|
915
917
|
"POLL_OPTION_INVALID": "PollOptionInvalid",
|
|
916
918
|
"POLL_QUESTION_INVALID": "PollQuestionInvalid",
|
|
917
919
|
"POLL_VOTE_REQUIRED": "PollVoteRequired",
|
|
918
|
-
"POSTPONED_TIMEOUT": "PostponedTimeout",
|
|
919
920
|
"PREMIUM_ACCOUNT_REQUIRED": "PremiumAccountRequired",
|
|
920
921
|
"PREMIUM_SUB_ACTIVE_UNTIL_X": "PremiumSubActiveUntil",
|
|
921
922
|
"PRIVACY_KEY_INVALID": "PrivacyKeyInvalid",
|
|
922
923
|
"PRIVACY_PREMIUM_REQUIRED": "PrivacyPremiumRequired",
|
|
923
924
|
"PRIVACY_TOO_LONG": "PrivacyTooLong",
|
|
924
925
|
"PRIVACY_VALUE_INVALID": "PrivacyValueInvalid",
|
|
925
|
-
"PTS_CHANGE_EMPTY": "PtsChangeEmpty",
|
|
926
926
|
"PUBLIC_CHANNEL_MISSING": "PublicChannelMissing",
|
|
927
927
|
"PUBLIC_KEY_REQUIRED": "PublicKeyRequired",
|
|
928
928
|
"QUERY_ID_EMPTY": "QueryIdEmpty",
|
|
@@ -933,7 +933,6 @@ exceptions = {
|
|
|
933
933
|
"QUIZ_CORRECT_ANSWERS_TOO_MUCH": "QuizCorrectAnswersTooMuch",
|
|
934
934
|
"QUIZ_CORRECT_ANSWER_INVALID": "QuizCorrectAnswerInvalid",
|
|
935
935
|
"QUIZ_MULTIPLE_INVALID": "QuizMultipleInvalid",
|
|
936
|
-
"RANDOM_ID_DUPLICATE": "RandomIdDuplicate",
|
|
937
936
|
"RANDOM_ID_EMPTY": "RandomIdEmpty",
|
|
938
937
|
"RANDOM_ID_INVALID": "RandomIdInvalid",
|
|
939
938
|
"RANDOM_LENGTH_INVALID": "RandomLengthInvalid",
|
|
@@ -941,7 +940,6 @@ exceptions = {
|
|
|
941
940
|
"REACTIONS_TOO_MANY": "ReactionsTooMany",
|
|
942
941
|
"REACTION_EMPTY": "ReactionEmpty",
|
|
943
942
|
"REACTION_INVALID": "ReactionInvalid",
|
|
944
|
-
"REG_ID_GENERATE_FAILED": "RegIdGenerateFailed",
|
|
945
943
|
"REPLY_MARKUP_BUY_EMPTY": "ReplyMarkupBuyEmpty",
|
|
946
944
|
"REPLY_MARKUP_INVALID": "ReplyMarkupInvalid",
|
|
947
945
|
"REPLY_MARKUP_TOO_LONG": "ReplyMarkupTooLong",
|
|
@@ -957,10 +955,6 @@ exceptions = {
|
|
|
957
955
|
"REVOTE_NOT_ALLOWED": "RevoteNotAllowed",
|
|
958
956
|
"RIGHTS_NOT_MODIFIED": "RightsNotModified",
|
|
959
957
|
"RIGHT_FORBIDDEN": "RightForbidden",
|
|
960
|
-
"RPC_CALL_FAIL": "RpcCallFail",
|
|
961
|
-
"RPC_CONNECT_FAILED": "RpcConnectFailed",
|
|
962
|
-
"RPC_MCGET_FAIL": "RpcMcgetFail",
|
|
963
|
-
"RPC_SEND_FAIL": "RpcSendFail",
|
|
964
958
|
"RSA_DECRYPT_FAILED": "RsaDecryptFailed",
|
|
965
959
|
"SCHEDULE_BOT_NOT_ALLOWED": "ScheduleBotNotAllowed",
|
|
966
960
|
"SCHEDULE_DATE_INVALID": "ScheduleDateInvalid",
|
|
@@ -972,7 +966,6 @@ exceptions = {
|
|
|
972
966
|
"SEARCH_WITH_LINK_NOT_SUPPORTED": "SearchWithLinkNotSupported",
|
|
973
967
|
"SECONDS_INVALID": "SecondsInvalid",
|
|
974
968
|
"SEND_AS_PEER_INVALID": "SendAsPeerInvalid",
|
|
975
|
-
"SEND_MEDIA_INVALID": "SendMediaInvalid",
|
|
976
969
|
"SEND_MESSAGE_MEDIA_INVALID": "SendMessageMediaInvalid",
|
|
977
970
|
"SEND_MESSAGE_TYPE_INVALID": "SendMessageTypeInvalid",
|
|
978
971
|
"SENSITIVE_CHANGE_FORBIDDEN": "SensitiveChangeForbidden",
|
|
@@ -981,7 +974,6 @@ exceptions = {
|
|
|
981
974
|
"SHA256_HASH_INVALID": "Sha256HashInvalid",
|
|
982
975
|
"SHORT_NAME_INVALID": "ShortNameInvalid",
|
|
983
976
|
"SHORT_NAME_OCCUPIED": "ShortNameOccupied",
|
|
984
|
-
"SIGN_IN_FAILED": "SignInFailed",
|
|
985
977
|
"SLOTS_EMPTY": "SlotsEmpty",
|
|
986
978
|
"SLOWMODE_MULTI_MSGS_DISABLED": "SlowmodeMultiMsgsDisabled",
|
|
987
979
|
"SLOWMODE_WAIT_X": "SlowmodeWait",
|
|
@@ -1012,9 +1004,6 @@ exceptions = {
|
|
|
1012
1004
|
"STICKER_VIDEO_BIG": "StickerVideoBig",
|
|
1013
1005
|
"STICKER_VIDEO_NODOC": "StickerVideoNodoc",
|
|
1014
1006
|
"STICKER_VIDEO_NOWEBM": "StickerVideoNowebm",
|
|
1015
|
-
"STORAGE_CHECK_FAILED": "StorageCheckFailed",
|
|
1016
|
-
"STORAGE_CHOOSE_VOLUME_FAILED": "StorageChooseVolumeFailed",
|
|
1017
|
-
"STORE_INVALID_SCALAR_TYPE": "StoreInvalidScalarType",
|
|
1018
1007
|
"STORIES_NEVER_CREATED": "StoriesNeverCreated",
|
|
1019
1008
|
"STORIES_TOO_MUCH": "StoriesTooMuch",
|
|
1020
1009
|
"STORY_ID_EMPTY": "StoryIdEmpty",
|
|
@@ -1050,14 +1039,11 @@ exceptions = {
|
|
|
1050
1039
|
"TOPIC_TITLE_EMPTY": "TopicTitleEmpty",
|
|
1051
1040
|
"TO_LANG_INVALID": "ToLangInvalid",
|
|
1052
1041
|
"TRANSCRIPTION_FAILED": "TranscriptionFailed",
|
|
1053
|
-
"TRANSLATE_REQ_FAILED": "TranslateReqFailed",
|
|
1054
1042
|
"TTL_DAYS_INVALID": "TtlDaysInvalid",
|
|
1055
1043
|
"TTL_MEDIA_INVALID": "TtlMediaInvalid",
|
|
1056
1044
|
"TTL_PERIOD_INVALID": "TtlPeriodInvalid",
|
|
1057
1045
|
"TYPES_EMPTY": "TypesEmpty",
|
|
1058
|
-
"UNKNOWN_METHOD": "UnknownMethod",
|
|
1059
1046
|
"UNTIL_DATE_INVALID": "UntilDateInvalid",
|
|
1060
|
-
"UPLOAD_NO_VOLUME": "UploadNoVolume",
|
|
1061
1047
|
"URL_INVALID": "UrlInvalid",
|
|
1062
1048
|
"USAGE_LIMIT_INVALID": "UsageLimitInvalid",
|
|
1063
1049
|
"USERNAMES_ACTIVE_TOO_MUCH": "UsernamesActiveTooMuch",
|
|
@@ -1087,6 +1073,7 @@ exceptions = {
|
|
|
1087
1073
|
"USER_KICKED": "UserKicked",
|
|
1088
1074
|
"USER_NOT_MUTUAL_CONTACT": "UserNotMutualContact",
|
|
1089
1075
|
"USER_NOT_PARTICIPANT": "UserNotParticipant",
|
|
1076
|
+
"USER_PERMISSION_DENIED": "UserPermissionDenied",
|
|
1090
1077
|
"USER_PRIVACY_RESTRICTED": "UserPrivacyRestricted",
|
|
1091
1078
|
"USER_PUBLIC_MISSING": "UserPublicMissing",
|
|
1092
1079
|
"USER_RESTRICTED": "UserRestricted",
|
|
@@ -1096,7 +1083,6 @@ exceptions = {
|
|
|
1096
1083
|
"VIDEO_FILE_INVALID": "VideoFileInvalid",
|
|
1097
1084
|
"VIDEO_TITLE_EMPTY": "VideoTitleEmpty",
|
|
1098
1085
|
"VOICE_MESSAGES_FORBIDDEN": "VoiceMessagesForbidden",
|
|
1099
|
-
"VOLUME_LOC_NOT_FOUND": "VolumeLocNotFound",
|
|
1100
1086
|
"WALLPAPER_FILE_INVALID": "WallpaperFileInvalid",
|
|
1101
1087
|
"WALLPAPER_INVALID": "WallpaperInvalid",
|
|
1102
1088
|
"WALLPAPER_MIME_INVALID": "WallpaperMimeInvalid",
|
|
@@ -1113,12 +1099,17 @@ exceptions = {
|
|
|
1113
1099
|
"WEBPUSH_AUTH_INVALID": "WebpushAuthInvalid",
|
|
1114
1100
|
"WEBPUSH_KEY_INVALID": "WebpushKeyInvalid",
|
|
1115
1101
|
"WEBPUSH_TOKEN_INVALID": "WebpushTokenInvalid",
|
|
1116
|
-
"
|
|
1117
|
-
"WP_ID_GENERATE_FAILED": "WpIdGenerateFailed",
|
|
1102
|
+
"YOUR_PRIVACY_RESTRICTED": "YourPrivacyRestricted",
|
|
1118
1103
|
"YOU_BLOCKED_USER": "YouBlockedUser",
|
|
1119
1104
|
},
|
|
1120
|
-
|
|
1121
|
-
"_": "
|
|
1105
|
+
503: {
|
|
1106
|
+
"_": "ServiceUnavailable",
|
|
1107
|
+
"ApiCallError": "ApiCallError",
|
|
1108
|
+
"Timedout": "Timedout",
|
|
1109
|
+
"Timeout": "Timeout",
|
|
1110
|
+
},
|
|
1111
|
+
500: {
|
|
1112
|
+
"_": "InternalServerError",
|
|
1122
1113
|
"2FA_CONFIRM_WAIT_X": "TwoFaConfirmWait",
|
|
1123
1114
|
"ABOUT_TOO_LONG": "AboutTooLong",
|
|
1124
1115
|
"ACCESS_TOKEN_EXPIRED": "AccessTokenExpired",
|
|
@@ -1129,69 +1120,55 @@ exceptions = {
|
|
|
1129
1120
|
"ADMIN_RANK_EMOJI_NOT_ALLOWED": "AdminRankEmojiNotAllowed",
|
|
1130
1121
|
"ADMIN_RANK_INVALID": "AdminRankInvalid",
|
|
1131
1122
|
"ADMIN_RIGHTS_EMPTY": "AdminRightsEmpty",
|
|
1132
|
-
"
|
|
1123
|
+
"AICOMPOSE_TIMEOUT": "AicomposeTimeout",
|
|
1133
1124
|
"ALBUM_PHOTOS_TOO_MANY": "AlbumPhotosTooMany",
|
|
1125
|
+
"ANONYMOUS_REACTIONS_DISABLED": "AnonymousReactionsDisabled",
|
|
1126
|
+
"API_CALL_ERROR": "ApiCallError",
|
|
1134
1127
|
"API_ID_INVALID": "ApiIdInvalid",
|
|
1135
1128
|
"API_ID_PUBLISHED_FLOOD": "ApiIdPublishedFlood",
|
|
1136
1129
|
"ARTICLE_TITLE_EMPTY": "ArticleTitleEmpty",
|
|
1137
1130
|
"AUDIO_CONTENT_URL_EMPTY": "AudioContentUrlEmpty",
|
|
1138
1131
|
"AUDIO_TITLE_EMPTY": "AudioTitleEmpty",
|
|
1139
1132
|
"AUTH_BYTES_INVALID": "AuthBytesInvalid",
|
|
1133
|
+
"AUTH_KEY_UNSYNCHRONIZED": "AuthKeyUnsynchronized",
|
|
1134
|
+
"AUTH_RESTART": "AuthRestart",
|
|
1135
|
+
"AUTH_RESTART_X": "AuthRestart",
|
|
1140
1136
|
"AUTH_TOKEN_ALREADY_ACCEPTED": "AuthTokenAlreadyAccepted",
|
|
1141
1137
|
"AUTH_TOKEN_EXCEPTION": "AuthTokenException",
|
|
1142
1138
|
"AUTH_TOKEN_EXPIRED": "AuthTokenExpired",
|
|
1143
1139
|
"AUTH_TOKEN_INVALID": "AuthTokenInvalid",
|
|
1144
1140
|
"AUTH_TOKEN_INVALIDX": "AuthTokenInvalidx",
|
|
1145
1141
|
"AUTOARCHIVE_NOT_AVAILABLE": "AutoarchiveNotAvailable",
|
|
1146
|
-
"BALANCE_TOO_LOW": "BalanceTooLow",
|
|
1147
1142
|
"BANK_CARD_NUMBER_INVALID": "BankCardNumberInvalid",
|
|
1148
1143
|
"BANNED_RIGHTS_INVALID": "BannedRightsInvalid",
|
|
1149
|
-
"BASE_PORT_LOC_INVALID": "BasePortLocInvalid",
|
|
1150
|
-
"BIRTHDAY_INVALID": "BirthdayInvalid",
|
|
1151
1144
|
"BOOSTS_EMPTY": "BoostsEmpty",
|
|
1152
1145
|
"BOOSTS_REQUIRED": "BoostsRequired",
|
|
1153
1146
|
"BOOST_NOT_MODIFIED": "BoostNotModified",
|
|
1154
1147
|
"BOOST_PEER_INVALID": "BoostPeerInvalid",
|
|
1155
1148
|
"BOTS_TOO_MUCH": "BotsTooMuch",
|
|
1156
|
-
"BOT_ALREADY_DISABLED": "BotAlreadyDisabled",
|
|
1157
|
-
"BOT_APP_BOT_INVALID": "BotAppBotInvalid",
|
|
1158
1149
|
"BOT_APP_INVALID": "BotAppInvalid",
|
|
1159
1150
|
"BOT_APP_SHORTNAME_INVALID": "BotAppShortnameInvalid",
|
|
1160
|
-
"BOT_BUSINESS_MISSING": "BotBusinessMissing",
|
|
1161
1151
|
"BOT_CHANNELS_NA": "BotChannelsNa",
|
|
1162
1152
|
"BOT_COMMAND_DESCRIPTION_INVALID": "BotCommandDescriptionInvalid",
|
|
1163
1153
|
"BOT_COMMAND_INVALID": "BotCommandInvalid",
|
|
1164
1154
|
"BOT_DOMAIN_INVALID": "BotDomainInvalid",
|
|
1165
|
-
"BOT_GAMES_DISABLED": "BotGamesDisabled",
|
|
1166
1155
|
"BOT_GROUPS_BLOCKED": "BotGroupsBlocked",
|
|
1167
1156
|
"BOT_INLINE_DISABLED": "BotInlineDisabled",
|
|
1168
1157
|
"BOT_INVALID": "BotInvalid",
|
|
1169
|
-
"BOT_INVOICE_INVALID": "BotInvoiceInvalid",
|
|
1170
|
-
"BOT_METHOD_INVALID": "BotMethodInvalid",
|
|
1171
1158
|
"BOT_MISSING": "BotMissing",
|
|
1172
|
-
"BOT_NOT_CONNECTED_YET": "BotNotConnectedYet",
|
|
1173
1159
|
"BOT_ONESIDE_NOT_AVAIL": "BotOnesideNotAvail",
|
|
1174
1160
|
"BOT_PAYMENTS_DISABLED": "BotPaymentsDisabled",
|
|
1175
|
-
"BOT_POLLS_DISABLED": "BotPollsDisabled",
|
|
1176
1161
|
"BOT_RESPONSE_TIMEOUT": "BotResponseTimeout",
|
|
1177
1162
|
"BOT_SCORE_NOT_MODIFIED": "BotScoreNotModified",
|
|
1178
1163
|
"BOT_WEBVIEW_DISABLED": "BotWebviewDisabled",
|
|
1164
|
+
"BROADCAST_FORBIDDEN": "BroadcastForbidden",
|
|
1179
1165
|
"BROADCAST_ID_INVALID": "BroadcastIdInvalid",
|
|
1180
1166
|
"BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "BroadcastPublicVotersForbidden",
|
|
1181
1167
|
"BROADCAST_REQUIRED": "BroadcastRequired",
|
|
1182
|
-
"BUSINESS_PEER_INVALID": "BusinessPeerInvalid",
|
|
1183
|
-
"BUSINESS_PEER_USAGE_MISSING": "BusinessPeerUsageMissing",
|
|
1184
|
-
"BUSINESS_RECIPIENTS_EMPTY": "BusinessRecipientsEmpty",
|
|
1185
|
-
"BUSINESS_WORK_HOURS_EMPTY": "BusinessWorkHoursEmpty",
|
|
1186
|
-
"BUSINESS_WORK_HOURS_PERIOD_INVALID": "BusinessWorkHoursPeriodInvalid",
|
|
1187
|
-
"BUTTON_COPY_TEXT_INVALID": "ButtonCopyTextInvalid",
|
|
1188
1168
|
"BUTTON_DATA_INVALID": "ButtonDataInvalid",
|
|
1189
|
-
"BUTTON_ID_INVALID": "ButtonIdInvalid",
|
|
1190
|
-
"BUTTON_POS_INVALID": "ButtonPosInvalid",
|
|
1191
1169
|
"BUTTON_TEXT_INVALID": "ButtonTextInvalid",
|
|
1192
1170
|
"BUTTON_TYPE_INVALID": "ButtonTypeInvalid",
|
|
1193
1171
|
"BUTTON_URL_INVALID": "ButtonUrlInvalid",
|
|
1194
|
-
"BUTTON_USER_INVALID": "ButtonUserInvalid",
|
|
1195
1172
|
"BUTTON_USER_PRIVACY_RESTRICTED": "ButtonUserPrivacyRestricted",
|
|
1196
1173
|
"CALL_ALREADY_ACCEPTED": "CallAlreadyAccepted",
|
|
1197
1174
|
"CALL_ALREADY_DECLINED": "CallAlreadyDeclined",
|
|
@@ -1199,57 +1176,61 @@ exceptions = {
|
|
|
1199
1176
|
"CALL_PEER_INVALID": "CallPeerInvalid",
|
|
1200
1177
|
"CALL_PROTOCOL_FLAGS_INVALID": "CallProtocolFlagsInvalid",
|
|
1201
1178
|
"CDN_METHOD_INVALID": "CdnMethodInvalid",
|
|
1179
|
+
"CDN_UPLOAD_TIMEOUT": "CdnUploadTimeout",
|
|
1202
1180
|
"CHANNELS_ADMIN_LOCATED_TOO_MUCH": "ChannelsAdminLocatedTooMuch",
|
|
1203
1181
|
"CHANNELS_ADMIN_PUBLIC_TOO_MUCH": "ChannelsAdminPublicTooMuch",
|
|
1204
1182
|
"CHANNELS_TOO_MUCH": "ChannelsTooMuch",
|
|
1205
|
-
"CHANNEL_ADD_INVALID": "ChannelAddInvalid",
|
|
1206
|
-
"CHANNEL_BANNED": "ChannelBanned",
|
|
1207
1183
|
"CHANNEL_FORUM_MISSING": "ChannelForumMissing",
|
|
1208
1184
|
"CHANNEL_ID_INVALID": "ChannelIdInvalid",
|
|
1209
1185
|
"CHANNEL_INVALID": "ChannelInvalid",
|
|
1210
1186
|
"CHANNEL_PARICIPANT_MISSING": "ChannelParicipantMissing",
|
|
1211
1187
|
"CHANNEL_PRIVATE": "ChannelPrivate",
|
|
1188
|
+
"CHANNEL_PUBLIC_GROUP_NA": "ChannelPublicGroupNa",
|
|
1212
1189
|
"CHANNEL_TOO_BIG": "ChannelTooBig",
|
|
1213
1190
|
"CHANNEL_TOO_LARGE": "ChannelTooLarge",
|
|
1214
|
-
"CHARGE_ALREADY_REFUNDED": "ChargeAlreadyRefunded",
|
|
1215
|
-
"CHATLINKS_TOO_MUCH": "ChatlinksTooMuch",
|
|
1216
|
-
"CHATLINK_SLUG_EMPTY": "ChatlinkSlugEmpty",
|
|
1217
|
-
"CHATLINK_SLUG_EXPIRED": "ChatlinkSlugExpired",
|
|
1218
|
-
"CHATLISTS_TOO_MUCH": "ChatlistsTooMuch",
|
|
1219
1191
|
"CHATLIST_EXCLUDE_INVALID": "ChatlistExcludeInvalid",
|
|
1220
1192
|
"CHAT_ABOUT_NOT_MODIFIED": "ChatAboutNotModified",
|
|
1221
1193
|
"CHAT_ABOUT_TOO_LONG": "ChatAboutTooLong",
|
|
1194
|
+
"CHAT_ADMIN_INVITE_REQUIRED": "ChatAdminInviteRequired",
|
|
1222
1195
|
"CHAT_ADMIN_REQUIRED": "ChatAdminRequired",
|
|
1223
1196
|
"CHAT_DISCUSSION_UNALLOWED": "ChatDiscussionUnallowed",
|
|
1224
1197
|
"CHAT_FORWARDS_RESTRICTED": "ChatForwardsRestricted",
|
|
1198
|
+
"CHAT_GUEST_SEND_FORBIDDEN": "ChatGuestSendForbidden",
|
|
1225
1199
|
"CHAT_ID_EMPTY": "ChatIdEmpty",
|
|
1200
|
+
"CHAT_ID_GENERATE_FAILED": "ChatIdGenerateFailed",
|
|
1226
1201
|
"CHAT_ID_INVALID": "ChatIdInvalid",
|
|
1227
1202
|
"CHAT_INVALID": "ChatInvalid",
|
|
1228
1203
|
"CHAT_INVITE_PERMANENT": "ChatInvitePermanent",
|
|
1229
1204
|
"CHAT_LINK_EXISTS": "ChatLinkExists",
|
|
1230
|
-
"CHAT_MEMBER_ADD_FAILED": "ChatMemberAddFailed",
|
|
1231
1205
|
"CHAT_NOT_MODIFIED": "ChatNotModified",
|
|
1206
|
+
"CHAT_OCCUPY_LOC_FAILED": "ChatOccupyLocFailed",
|
|
1207
|
+
"CHAT_OCCUPY_USERNAME_FAILED": "ChatOccupyUsernameFailed",
|
|
1232
1208
|
"CHAT_PUBLIC_REQUIRED": "ChatPublicRequired",
|
|
1233
1209
|
"CHAT_RESTRICTED": "ChatRestricted",
|
|
1234
1210
|
"CHAT_REVOKE_DATE_UNSUPPORTED": "ChatRevokeDateUnsupported",
|
|
1211
|
+
"CHAT_SEND_AUDIOS_FORBIDDEN": "ChatSendAudiosForbidden",
|
|
1212
|
+
"CHAT_SEND_DOCS_FORBIDDEN": "ChatSendDocsForbidden",
|
|
1213
|
+
"CHAT_SEND_GAME_FORBIDDEN": "ChatSendGameForbidden",
|
|
1214
|
+
"CHAT_SEND_GIFS_FORBIDDEN": "ChatSendGifsForbidden",
|
|
1235
1215
|
"CHAT_SEND_INLINE_FORBIDDEN": "ChatSendInlineForbidden",
|
|
1216
|
+
"CHAT_SEND_MEDIA_FORBIDDEN": "ChatSendMediaForbidden",
|
|
1217
|
+
"CHAT_SEND_PHOTOS_FORBIDDEN": "ChatSendPhotosForbidden",
|
|
1218
|
+
"CHAT_SEND_PLAIN_FORBIDDEN": "ChatSendPlainForbidden",
|
|
1219
|
+
"CHAT_SEND_POLL_FORBIDDEN": "ChatSendPollForbidden",
|
|
1220
|
+
"CHAT_SEND_STICKERS_FORBIDDEN": "ChatSendStickersForbidden",
|
|
1221
|
+
"CHAT_SEND_VIDEOS_FORBIDDEN": "ChatSendVideosForbidden",
|
|
1222
|
+
"CHAT_SEND_VOICES_FORBIDDEN": "ChatSendVoicesForbidden",
|
|
1236
1223
|
"CHAT_TITLE_EMPTY": "ChatTitleEmpty",
|
|
1237
1224
|
"CHAT_TOO_BIG": "ChatTooBig",
|
|
1225
|
+
"CHAT_WRITE_FORBIDDEN": "ChatWriteForbidden",
|
|
1226
|
+
"CHP_CALL_FAIL": "ChpCallFail",
|
|
1238
1227
|
"CODE_EMPTY": "CodeEmpty",
|
|
1239
1228
|
"CODE_HASH_INVALID": "CodeHashInvalid",
|
|
1240
1229
|
"CODE_INVALID": "CodeInvalid",
|
|
1241
|
-
"COLLECTIBLE_INVALID": "CollectibleInvalid",
|
|
1242
|
-
"COLLECTIBLE_NOT_FOUND": "CollectibleNotFound",
|
|
1243
1230
|
"COLOR_INVALID": "ColorInvalid",
|
|
1244
1231
|
"CONNECTION_API_ID_INVALID": "ConnectionApiIdInvalid",
|
|
1245
1232
|
"CONNECTION_APP_VERSION_EMPTY": "ConnectionAppVersionEmpty",
|
|
1246
|
-
"CONNECTION_DEVICE_MODEL_EMPTY": "ConnectionDeviceModelEmpty",
|
|
1247
|
-
"CONNECTION_ID_INVALID": "ConnectionIdInvalid",
|
|
1248
|
-
"CONNECTION_LANG_PACK_INVALID": "ConnectionLangPackInvalid",
|
|
1249
1233
|
"CONNECTION_LAYER_INVALID": "ConnectionLayerInvalid",
|
|
1250
|
-
"CONNECTION_NOT_INITED": "ConnectionNotInited",
|
|
1251
|
-
"CONNECTION_SYSTEM_EMPTY": "ConnectionSystemEmpty",
|
|
1252
|
-
"CONNECTION_SYSTEM_LANG_CODE_EMPTY": "ConnectionSystemLangCodeEmpty",
|
|
1253
1234
|
"CONTACT_ADD_MISSING": "ContactAddMissing",
|
|
1254
1235
|
"CONTACT_ID_INVALID": "ContactIdInvalid",
|
|
1255
1236
|
"CONTACT_MISSING": "ContactMissing",
|
|
@@ -1265,9 +1246,9 @@ exceptions = {
|
|
|
1265
1246
|
"DC_ID_INVALID": "DcIdInvalid",
|
|
1266
1247
|
"DH_G_A_INVALID": "DhGAInvalid",
|
|
1267
1248
|
"DOCUMENT_INVALID": "DocumentInvalid",
|
|
1249
|
+
"EDIT_BOT_INVITE_FORBIDDEN": "EditBotInviteForbidden",
|
|
1268
1250
|
"EMAIL_HASH_EXPIRED": "EmailHashExpired",
|
|
1269
1251
|
"EMAIL_INVALID": "EmailInvalid",
|
|
1270
|
-
"EMAIL_NOT_ALLOWED": "EmailNotAllowed",
|
|
1271
1252
|
"EMAIL_NOT_SETUP": "EmailNotSetup",
|
|
1272
1253
|
"EMAIL_UNCONFIRMED": "EmailUnconfirmed",
|
|
1273
1254
|
"EMAIL_UNCONFIRMED_X": "EmailUnconfirmed",
|
|
@@ -1283,20 +1264,18 @@ exceptions = {
|
|
|
1283
1264
|
"ENCRYPTION_ALREADY_DECLINED": "EncryptionAlreadyDeclined",
|
|
1284
1265
|
"ENCRYPTION_DECLINED": "EncryptionDeclined",
|
|
1285
1266
|
"ENCRYPTION_ID_INVALID": "EncryptionIdInvalid",
|
|
1267
|
+
"ENCRYPTION_OCCUPY_ADMIN_FAILED": "EncryptionOccupyAdminFailed",
|
|
1268
|
+
"ENCRYPTION_OCCUPY_FAILED": "EncryptionOccupyFailed",
|
|
1286
1269
|
"ENTITIES_TOO_LONG": "EntitiesTooLong",
|
|
1287
1270
|
"ENTITY_BOUNDS_INVALID": "EntityBoundsInvalid",
|
|
1288
1271
|
"ENTITY_MENTION_USER_INVALID": "EntityMentionUserInvalid",
|
|
1289
1272
|
"ERROR_TEXT_EMPTY": "ErrorTextEmpty",
|
|
1290
1273
|
"EXPIRE_DATE_INVALID": "ExpireDateInvalid",
|
|
1291
1274
|
"EXPORT_CARD_INVALID": "ExportCardInvalid",
|
|
1292
|
-
"EXTENDED_MEDIA_AMOUNT_INVALID": "ExtendedMediaAmountInvalid",
|
|
1293
1275
|
"EXTERNAL_URL_INVALID": "ExternalUrlInvalid",
|
|
1294
|
-
"FIELD_NAME_EMPTY": "FieldNameEmpty",
|
|
1295
|
-
"FIELD_NAME_INVALID": "FieldNameInvalid",
|
|
1296
1276
|
"FILE_CONTENT_TYPE_INVALID": "FileContentTypeInvalid",
|
|
1297
1277
|
"FILE_EMTPY": "FileEmtpy",
|
|
1298
1278
|
"FILE_ID_INVALID": "FileIdInvalid",
|
|
1299
|
-
"FILE_MIGRATE_X": "FileMigrate",
|
|
1300
1279
|
"FILE_PARTS_INVALID": "FilePartsInvalid",
|
|
1301
1280
|
"FILE_PART_EMPTY": "FilePartEmpty",
|
|
1302
1281
|
"FILE_PART_INVALID": "FilePartInvalid",
|
|
@@ -1304,13 +1283,9 @@ exceptions = {
|
|
|
1304
1283
|
"FILE_PART_SIZE_CHANGED": "FilePartSizeChanged",
|
|
1305
1284
|
"FILE_PART_SIZE_INVALID": "FilePartSizeInvalid",
|
|
1306
1285
|
"FILE_PART_TOO_BIG": "FilePartTooBig",
|
|
1307
|
-
"FILE_PART_TOO_SMALL": "FilePartTooSmall",
|
|
1308
|
-
"FILE_PART_X_MISSING": "FilePartMissing",
|
|
1309
1286
|
"FILE_REFERENCE_EMPTY": "FileReferenceEmpty",
|
|
1310
1287
|
"FILE_REFERENCE_EXPIRED": "FileReferenceExpired",
|
|
1311
1288
|
"FILE_REFERENCE_INVALID": "FileReferenceInvalid",
|
|
1312
|
-
"FILE_REFERENCE_X_EXPIRED": "FileReferenceExpired",
|
|
1313
|
-
"FILE_REFERENCE_X_INVALID": "FileReferenceInvalid",
|
|
1314
1289
|
"FILE_TITLE_EMPTY": "FileTitleEmpty",
|
|
1315
1290
|
"FILE_TOKEN_INVALID": "FileTokenInvalid",
|
|
1316
1291
|
"FILTER_ID_INVALID": "FilterIdInvalid",
|
|
@@ -1318,11 +1293,9 @@ exceptions = {
|
|
|
1318
1293
|
"FILTER_NOT_SUPPORTED": "FilterNotSupported",
|
|
1319
1294
|
"FILTER_TITLE_EMPTY": "FilterTitleEmpty",
|
|
1320
1295
|
"FIRSTNAME_INVALID": "FirstnameInvalid",
|
|
1296
|
+
"FOLDER_DEAC_AUTOFIX_ALL": "FolderDeacAutofixAll",
|
|
1321
1297
|
"FOLDER_ID_EMPTY": "FolderIdEmpty",
|
|
1322
1298
|
"FOLDER_ID_INVALID": "FolderIdInvalid",
|
|
1323
|
-
"FORM_EXPIRED": "FormExpired",
|
|
1324
|
-
"FORM_ID_EMPTY": "FormIdEmpty",
|
|
1325
|
-
"FORM_UNSUPPORTED": "FormUnsupported",
|
|
1326
1299
|
"FORUM_ENABLED": "ForumEnabled",
|
|
1327
1300
|
"FRESH_CHANGE_ADMINS_FORBIDDEN": "FreshChangeAdminsForbidden",
|
|
1328
1301
|
"FROM_MESSAGE_BOT_DISABLED": "FromMessageBotDisabled",
|
|
@@ -1337,39 +1310,34 @@ exceptions = {
|
|
|
1337
1310
|
"GRAPH_EXPIRED_RELOAD": "GraphExpiredReload",
|
|
1338
1311
|
"GRAPH_INVALID_RELOAD": "GraphInvalidReload",
|
|
1339
1312
|
"GRAPH_OUTDATED_RELOAD": "GraphOutdatedReload",
|
|
1313
|
+
"GROUPCALL_ADD_PARTICIPANTS_FAILED": "GroupcallAddParticipantsFailed",
|
|
1340
1314
|
"GROUPCALL_ALREADY_DISCARDED": "GroupcallAlreadyDiscarded",
|
|
1315
|
+
"GROUPCALL_ALREADY_STARTED": "GroupcallAlreadyStarted",
|
|
1341
1316
|
"GROUPCALL_FORBIDDEN": "GroupcallForbidden",
|
|
1342
1317
|
"GROUPCALL_INVALID": "GroupcallInvalid",
|
|
1343
1318
|
"GROUPCALL_JOIN_MISSING": "GroupcallJoinMissing",
|
|
1344
1319
|
"GROUPCALL_NOT_MODIFIED": "GroupcallNotModified",
|
|
1345
1320
|
"GROUPCALL_SSRC_DUPLICATE_MUCH": "GroupcallSsrcDuplicateMuch",
|
|
1321
|
+
"GROUPED_ID_OCCUPY_FAILED": "GroupedIdOccupyFailed",
|
|
1346
1322
|
"GROUPED_MEDIA_INVALID": "GroupedMediaInvalid",
|
|
1347
|
-
"GROUP_CALL_INVALID": "GroupCallInvalid",
|
|
1348
|
-
"HASHTAG_INVALID": "HashtagInvalid",
|
|
1349
1323
|
"HASH_INVALID": "HashInvalid",
|
|
1350
1324
|
"HIDE_REQUESTER_MISSING": "HideRequesterMissing",
|
|
1351
|
-
"
|
|
1352
|
-
"
|
|
1325
|
+
"HISTORY_GET_FAILED": "HistoryGetFailed",
|
|
1326
|
+
"IMAGE_ENGINE_DOWN": "ImageEngineDown",
|
|
1353
1327
|
"IMAGE_PROCESS_FAILED": "ImageProcessFailed",
|
|
1354
1328
|
"IMPORT_FILE_INVALID": "ImportFileInvalid",
|
|
1355
|
-
"IMPORT_FORMAT_DATE_INVALID": "ImportFormatDateInvalid",
|
|
1356
1329
|
"IMPORT_FORMAT_UNRECOGNIZED": "ImportFormatUnrecognized",
|
|
1357
1330
|
"IMPORT_ID_INVALID": "ImportIdInvalid",
|
|
1358
1331
|
"IMPORT_TOKEN_INVALID": "ImportTokenInvalid",
|
|
1332
|
+
"INLINE_BOT_REQUIRED": "InlineBotRequired",
|
|
1359
1333
|
"INLINE_RESULT_EXPIRED": "InlineResultExpired",
|
|
1360
1334
|
"INPUT_CHATLIST_INVALID": "InputChatlistInvalid",
|
|
1361
|
-
"INPUT_CONSTRUCTOR_INVALID": "InputConstructorInvalid",
|
|
1362
|
-
"INPUT_FETCH_ERROR": "InputFetchError",
|
|
1363
|
-
"INPUT_FETCH_FAIL": "InputFetchFail",
|
|
1364
|
-
"INPUT_FILE_INVALID": "InputFileInvalid",
|
|
1365
1335
|
"INPUT_FILTER_INVALID": "InputFilterInvalid",
|
|
1366
|
-
"INPUT_LAYER_INVALID": "InputLayerInvalid",
|
|
1367
|
-
"INPUT_METHOD_INVALID": "InputMethodInvalid",
|
|
1368
|
-
"INPUT_PEERS_EMPTY": "InputPeersEmpty",
|
|
1369
|
-
"INPUT_REQUEST_TOO_LONG": "InputRequestTooLong",
|
|
1370
1336
|
"INPUT_TEXT_EMPTY": "InputTextEmpty",
|
|
1371
1337
|
"INPUT_TEXT_TOO_LONG": "InputTextTooLong",
|
|
1372
1338
|
"INPUT_USER_DEACTIVATED": "InputUserDeactivated",
|
|
1339
|
+
"INTERDC_X_CALL_ERROR": "InterdcCallError",
|
|
1340
|
+
"INTERDC_X_CALL_RICH_ERROR": "InterdcCallRichError",
|
|
1373
1341
|
"INVITES_TOO_MUCH": "InvitesTooMuch",
|
|
1374
1342
|
"INVITE_FORBIDDEN_WITH_JOINAS": "InviteForbiddenWithJoinas",
|
|
1375
1343
|
"INVITE_HASH_EMPTY": "InviteHashEmpty",
|
|
@@ -1379,10 +1347,8 @@ exceptions = {
|
|
|
1379
1347
|
"INVITE_REVOKED_MISSING": "InviteRevokedMissing",
|
|
1380
1348
|
"INVITE_SLUG_EMPTY": "InviteSlugEmpty",
|
|
1381
1349
|
"INVITE_SLUG_EXPIRED": "InviteSlugExpired",
|
|
1382
|
-
"INVITE_SLUG_INVALID": "InviteSlugInvalid",
|
|
1383
1350
|
"INVOICE_PAYLOAD_INVALID": "InvoicePayloadInvalid",
|
|
1384
1351
|
"JOIN_AS_PEER_INVALID": "JoinAsPeerInvalid",
|
|
1385
|
-
"LANGUAGE_INVALID": "LanguageInvalid",
|
|
1386
1352
|
"LANG_CODE_INVALID": "LangCodeInvalid",
|
|
1387
1353
|
"LANG_CODE_NOT_SUPPORTED": "LangCodeNotSupported",
|
|
1388
1354
|
"LANG_PACK_INVALID": "LangPackInvalid",
|
|
@@ -1408,29 +1374,36 @@ exceptions = {
|
|
|
1408
1374
|
"MEGAGROUP_ID_INVALID": "MegagroupIdInvalid",
|
|
1409
1375
|
"MEGAGROUP_PREHISTORY_HIDDEN": "MegagroupPrehistoryHidden",
|
|
1410
1376
|
"MEGAGROUP_REQUIRED": "MegagroupRequired",
|
|
1377
|
+
"MEMBER_FETCH_FAILED": "MemberFetchFailed",
|
|
1378
|
+
"MEMBER_NO_LOCATION": "MemberNoLocation",
|
|
1379
|
+
"MEMBER_OCCUPY_PRIMARY_LOC_FAILED": "MemberOccupyPrimaryLocFailed",
|
|
1380
|
+
"MEMBER_OCCUPY_USERNAME_FAILED": "MemberOccupyUsernameFailed",
|
|
1381
|
+
"MESSAGE_AUTHOR_REQUIRED": "MessageAuthorRequired",
|
|
1382
|
+
"MESSAGE_DELETE_FORBIDDEN": "MessageDeleteForbidden",
|
|
1411
1383
|
"MESSAGE_EDIT_TIME_EXPIRED": "MessageEditTimeExpired",
|
|
1412
1384
|
"MESSAGE_EMPTY": "MessageEmpty",
|
|
1413
1385
|
"MESSAGE_IDS_EMPTY": "MessageIdsEmpty",
|
|
1414
1386
|
"MESSAGE_ID_INVALID": "MessageIdInvalid",
|
|
1415
1387
|
"MESSAGE_NOT_MODIFIED": "MessageNotModified",
|
|
1416
|
-
"MESSAGE_NOT_READ_YET": "MessageNotReadYet",
|
|
1417
1388
|
"MESSAGE_POLL_CLOSED": "MessagePollClosed",
|
|
1418
1389
|
"MESSAGE_TOO_LONG": "MessageTooLong",
|
|
1419
|
-
"MESSAGE_TOO_OLD": "MessageTooOld",
|
|
1420
1390
|
"METHOD_INVALID": "MethodInvalid",
|
|
1421
1391
|
"MIN_DATE_INVALID": "MinDateInvalid",
|
|
1392
|
+
"MSGID_DECREASE_RETRY": "MsgidDecreaseRetry",
|
|
1422
1393
|
"MSG_ID_INVALID": "MsgIdInvalid",
|
|
1394
|
+
"MSG_RANGE_UNSYNC": "MsgRangeUnsync",
|
|
1423
1395
|
"MSG_TOO_OLD": "MsgTooOld",
|
|
1424
|
-
"MSG_VOICE_MISSING": "MsgVoiceMissing",
|
|
1425
1396
|
"MSG_WAIT_FAILED": "MsgWaitFailed",
|
|
1397
|
+
"MT_SEND_QUEUE_TOO_LONG": "MtSendQueueTooLong",
|
|
1426
1398
|
"MULTI_MEDIA_TOO_LONG": "MultiMediaTooLong",
|
|
1399
|
+
"NEED_CHAT_INVALID": "NeedChatInvalid",
|
|
1400
|
+
"NEED_MEMBER_INVALID": "NeedMemberInvalid",
|
|
1427
1401
|
"NEW_SALT_INVALID": "NewSaltInvalid",
|
|
1428
1402
|
"NEW_SETTINGS_EMPTY": "NewSettingsEmpty",
|
|
1429
1403
|
"NEW_SETTINGS_INVALID": "NewSettingsInvalid",
|
|
1430
1404
|
"NEXT_OFFSET_INVALID": "NextOffsetInvalid",
|
|
1431
|
-
"
|
|
1432
|
-
"
|
|
1433
|
-
"NOT_JOINED": "NotJoined",
|
|
1405
|
+
"No workers running": "NoWorkersRunning",
|
|
1406
|
+
"OAUTH_REQUEST_INVALID": "OauthRequestInvalid",
|
|
1434
1407
|
"OFFSET_INVALID": "OffsetInvalid",
|
|
1435
1408
|
"OFFSET_PEER_ID_INVALID": "OffsetPeerIdInvalid",
|
|
1436
1409
|
"OPTIONS_TOO_MUCH": "OptionsTooMuch",
|
|
@@ -1440,6 +1413,7 @@ exceptions = {
|
|
|
1440
1413
|
"PACK_SHORT_NAME_OCCUPIED": "PackShortNameOccupied",
|
|
1441
1414
|
"PACK_TITLE_INVALID": "PackTitleInvalid",
|
|
1442
1415
|
"PARTICIPANTS_TOO_FEW": "ParticipantsTooFew",
|
|
1416
|
+
"PARTICIPANT_CALL_FAILED": "ParticipantCallFailed",
|
|
1443
1417
|
"PARTICIPANT_ID_INVALID": "ParticipantIdInvalid",
|
|
1444
1418
|
"PARTICIPANT_JOIN_MISSING": "ParticipantJoinMissing",
|
|
1445
1419
|
"PARTICIPANT_VERSION_OUTDATED": "ParticipantVersionOutdated",
|
|
@@ -1452,13 +1426,12 @@ exceptions = {
|
|
|
1452
1426
|
"PASSWORD_TOO_FRESH_X": "PasswordTooFresh",
|
|
1453
1427
|
"PAYMENT_PROVIDER_INVALID": "PaymentProviderInvalid",
|
|
1454
1428
|
"PEERS_LIST_EMPTY": "PeersListEmpty",
|
|
1455
|
-
"PEER_FLOOD": "PeerFlood",
|
|
1456
1429
|
"PEER_HISTORY_EMPTY": "PeerHistoryEmpty",
|
|
1457
1430
|
"PEER_ID_INVALID": "PeerIdInvalid",
|
|
1458
1431
|
"PEER_ID_NOT_SUPPORTED": "PeerIdNotSupported",
|
|
1459
|
-
"PEER_TYPES_INVALID": "PeerTypesInvalid",
|
|
1460
1432
|
"PERSISTENT_TIMESTAMP_EMPTY": "PersistentTimestampEmpty",
|
|
1461
1433
|
"PERSISTENT_TIMESTAMP_INVALID": "PersistentTimestampInvalid",
|
|
1434
|
+
"PERSISTENT_TIMESTAMP_OUTDATED": "PersistentTimestampOutdated",
|
|
1462
1435
|
"PHONE_CODE_EMPTY": "PhoneCodeEmpty",
|
|
1463
1436
|
"PHONE_CODE_EXPIRED": "PhoneCodeExpired",
|
|
1464
1437
|
"PHONE_CODE_HASH_EMPTY": "PhoneCodeHashEmpty",
|
|
@@ -1474,6 +1447,7 @@ exceptions = {
|
|
|
1474
1447
|
"PHONE_PASSWORD_PROTECTED": "PhonePasswordProtected",
|
|
1475
1448
|
"PHOTO_CONTENT_TYPE_INVALID": "PhotoContentTypeInvalid",
|
|
1476
1449
|
"PHOTO_CONTENT_URL_EMPTY": "PhotoContentUrlEmpty",
|
|
1450
|
+
"PHOTO_CREATE_FAILED": "PhotoCreateFailed",
|
|
1477
1451
|
"PHOTO_CROP_FILE_MISSING": "PhotoCropFileMissing",
|
|
1478
1452
|
"PHOTO_CROP_SIZE_SMALL": "PhotoCropSizeSmall",
|
|
1479
1453
|
"PHOTO_EXT_INVALID": "PhotoExtInvalid",
|
|
@@ -1483,36 +1457,33 @@ exceptions = {
|
|
|
1483
1457
|
"PHOTO_INVALID_DIMENSIONS": "PhotoInvalidDimensions",
|
|
1484
1458
|
"PHOTO_SAVE_FILE_INVALID": "PhotoSaveFileInvalid",
|
|
1485
1459
|
"PHOTO_THUMB_URL_EMPTY": "PhotoThumbUrlEmpty",
|
|
1486
|
-
"PHOTO_THUMB_URL_INVALID": "PhotoThumbUrlInvalid",
|
|
1487
1460
|
"PINNED_DIALOGS_TOO_MUCH": "PinnedDialogsTooMuch",
|
|
1488
1461
|
"PIN_RESTRICTED": "PinRestricted",
|
|
1489
|
-
"PLATFORM_INVALID": "PlatformInvalid",
|
|
1490
1462
|
"POLL_ANSWERS_INVALID": "PollAnswersInvalid",
|
|
1491
1463
|
"POLL_ANSWER_INVALID": "PollAnswerInvalid",
|
|
1492
1464
|
"POLL_OPTION_DUPLICATE": "PollOptionDuplicate",
|
|
1493
1465
|
"POLL_OPTION_INVALID": "PollOptionInvalid",
|
|
1494
1466
|
"POLL_QUESTION_INVALID": "PollQuestionInvalid",
|
|
1495
|
-
"POLL_UNSUPPORTED": "PollUnsupported",
|
|
1496
1467
|
"POLL_VOTE_REQUIRED": "PollVoteRequired",
|
|
1468
|
+
"POSTPONED_TIMEOUT": "PostponedTimeout",
|
|
1497
1469
|
"PREMIUM_ACCOUNT_REQUIRED": "PremiumAccountRequired",
|
|
1498
|
-
"PREMIUM_GIFTCODE_WAS_REFUNDED": "PremiumGiftcodeWasRefunded",
|
|
1499
1470
|
"PREMIUM_SUB_ACTIVE_UNTIL_X": "PremiumSubActiveUntil",
|
|
1500
|
-
"PRICING_CHAT_INVALID": "PricingChatInvalid",
|
|
1501
1471
|
"PRIVACY_KEY_INVALID": "PrivacyKeyInvalid",
|
|
1472
|
+
"PRIVACY_PREMIUM_REQUIRED": "PrivacyPremiumRequired",
|
|
1502
1473
|
"PRIVACY_TOO_LONG": "PrivacyTooLong",
|
|
1503
1474
|
"PRIVACY_VALUE_INVALID": "PrivacyValueInvalid",
|
|
1475
|
+
"PTS_CHANGE_EMPTY": "PtsChangeEmpty",
|
|
1476
|
+
"PUBLIC_CHANNEL_MISSING": "PublicChannelMissing",
|
|
1504
1477
|
"PUBLIC_KEY_REQUIRED": "PublicKeyRequired",
|
|
1505
1478
|
"QUERY_ID_EMPTY": "QueryIdEmpty",
|
|
1506
1479
|
"QUERY_ID_INVALID": "QueryIdInvalid",
|
|
1507
1480
|
"QUERY_TOO_SHORT": "QueryTooShort",
|
|
1508
|
-
"QUICK_REPLIES_TOO_MUCH": "QuickRepliesTooMuch",
|
|
1509
1481
|
"QUIZ_ANSWER_MISSING": "QuizAnswerMissing",
|
|
1510
1482
|
"QUIZ_CORRECT_ANSWERS_EMPTY": "QuizCorrectAnswersEmpty",
|
|
1511
1483
|
"QUIZ_CORRECT_ANSWERS_TOO_MUCH": "QuizCorrectAnswersTooMuch",
|
|
1512
1484
|
"QUIZ_CORRECT_ANSWER_INVALID": "QuizCorrectAnswerInvalid",
|
|
1513
1485
|
"QUIZ_MULTIPLE_INVALID": "QuizMultipleInvalid",
|
|
1514
|
-
"
|
|
1515
|
-
"RAISE_HAND_FORBIDDEN": "RaiseHandForbidden",
|
|
1486
|
+
"RANDOM_ID_DUPLICATE": "RandomIdDuplicate",
|
|
1516
1487
|
"RANDOM_ID_EMPTY": "RandomIdEmpty",
|
|
1517
1488
|
"RANDOM_ID_INVALID": "RandomIdInvalid",
|
|
1518
1489
|
"RANDOM_LENGTH_INVALID": "RandomLengthInvalid",
|
|
@@ -1520,17 +1491,13 @@ exceptions = {
|
|
|
1520
1491
|
"REACTIONS_TOO_MANY": "ReactionsTooMany",
|
|
1521
1492
|
"REACTION_EMPTY": "ReactionEmpty",
|
|
1522
1493
|
"REACTION_INVALID": "ReactionInvalid",
|
|
1523
|
-
"
|
|
1524
|
-
"REFLECTOR_NOT_AVAILABLE": "ReflectorNotAvailable",
|
|
1494
|
+
"REG_ID_GENERATE_FAILED": "RegIdGenerateFailed",
|
|
1525
1495
|
"REPLY_MARKUP_BUY_EMPTY": "ReplyMarkupBuyEmpty",
|
|
1526
|
-
"REPLY_MARKUP_GAME_EMPTY": "ReplyMarkupGameEmpty",
|
|
1527
1496
|
"REPLY_MARKUP_INVALID": "ReplyMarkupInvalid",
|
|
1528
1497
|
"REPLY_MARKUP_TOO_LONG": "ReplyMarkupTooLong",
|
|
1529
|
-
"REPLY_MESSAGES_TOO_MUCH": "ReplyMessagesTooMuch",
|
|
1530
1498
|
"REPLY_MESSAGE_ID_INVALID": "ReplyMessageIdInvalid",
|
|
1531
1499
|
"REPLY_TO_INVALID": "ReplyToInvalid",
|
|
1532
1500
|
"REPLY_TO_USER_INVALID": "ReplyToUserInvalid",
|
|
1533
|
-
"REQUEST_TOKEN_INVALID": "RequestTokenInvalid",
|
|
1534
1501
|
"RESET_REQUEST_MISSING": "ResetRequestMissing",
|
|
1535
1502
|
"RESULTS_TOO_MUCH": "ResultsTooMuch",
|
|
1536
1503
|
"RESULT_ID_DUPLICATE": "ResultIdDuplicate",
|
|
@@ -1539,10 +1506,12 @@ exceptions = {
|
|
|
1539
1506
|
"RESULT_TYPE_INVALID": "ResultTypeInvalid",
|
|
1540
1507
|
"REVOTE_NOT_ALLOWED": "RevoteNotAllowed",
|
|
1541
1508
|
"RIGHTS_NOT_MODIFIED": "RightsNotModified",
|
|
1542
|
-
"
|
|
1543
|
-
"
|
|
1509
|
+
"RIGHT_FORBIDDEN": "RightForbidden",
|
|
1510
|
+
"RPC_CALL_FAIL": "RpcCallFail",
|
|
1511
|
+
"RPC_CONNECT_FAILED": "RpcConnectFailed",
|
|
1512
|
+
"RPC_MCGET_FAIL": "RpcMcgetFail",
|
|
1513
|
+
"RPC_SEND_FAIL": "RpcSendFail",
|
|
1544
1514
|
"RSA_DECRYPT_FAILED": "RsaDecryptFailed",
|
|
1545
|
-
"SAVED_DIALOGS_UNSUPPORTED": "SavedDialogsUnsupported",
|
|
1546
1515
|
"SCHEDULE_BOT_NOT_ALLOWED": "ScheduleBotNotAllowed",
|
|
1547
1516
|
"SCHEDULE_DATE_INVALID": "ScheduleDateInvalid",
|
|
1548
1517
|
"SCHEDULE_DATE_TOO_LATE": "ScheduleDateTooLate",
|
|
@@ -1552,40 +1521,29 @@ exceptions = {
|
|
|
1552
1521
|
"SEARCH_QUERY_EMPTY": "SearchQueryEmpty",
|
|
1553
1522
|
"SEARCH_WITH_LINK_NOT_SUPPORTED": "SearchWithLinkNotSupported",
|
|
1554
1523
|
"SECONDS_INVALID": "SecondsInvalid",
|
|
1555
|
-
"SECURE_SECRET_REQUIRED": "SecureSecretRequired",
|
|
1556
1524
|
"SEND_AS_PEER_INVALID": "SendAsPeerInvalid",
|
|
1525
|
+
"SEND_MEDIA_INVALID": "SendMediaInvalid",
|
|
1557
1526
|
"SEND_MESSAGE_MEDIA_INVALID": "SendMessageMediaInvalid",
|
|
1558
1527
|
"SEND_MESSAGE_TYPE_INVALID": "SendMessageTypeInvalid",
|
|
1528
|
+
"SENSITIVE_CHANGE_FORBIDDEN": "SensitiveChangeForbidden",
|
|
1559
1529
|
"SESSION_TOO_FRESH_X": "SessionTooFresh",
|
|
1560
1530
|
"SETTINGS_INVALID": "SettingsInvalid",
|
|
1561
1531
|
"SHA256_HASH_INVALID": "Sha256HashInvalid",
|
|
1562
|
-
"SHORTCUT_INVALID": "ShortcutInvalid",
|
|
1563
|
-
"SHORTNAME_OCCUPY_FAILED": "ShortnameOccupyFailed",
|
|
1564
1532
|
"SHORT_NAME_INVALID": "ShortNameInvalid",
|
|
1565
1533
|
"SHORT_NAME_OCCUPIED": "ShortNameOccupied",
|
|
1534
|
+
"SIGN_IN_FAILED": "SignInFailed",
|
|
1566
1535
|
"SLOTS_EMPTY": "SlotsEmpty",
|
|
1567
1536
|
"SLOWMODE_MULTI_MSGS_DISABLED": "SlowmodeMultiMsgsDisabled",
|
|
1568
1537
|
"SLOWMODE_WAIT_X": "SlowmodeWait",
|
|
1569
1538
|
"SLUG_INVALID": "SlugInvalid",
|
|
1570
|
-
"SMSJOB_ID_INVALID": "SmsjobIdInvalid",
|
|
1571
1539
|
"SMS_CODE_CREATE_FAILED": "SmsCodeCreateFailed",
|
|
1572
|
-
"SRP_A_INVALID": "SrpAInvalid",
|
|
1573
1540
|
"SRP_ID_INVALID": "SrpIdInvalid",
|
|
1574
1541
|
"SRP_PASSWORD_CHANGED": "SrpPasswordChanged",
|
|
1575
|
-
"STARGIFT_INVALID": "StargiftInvalid",
|
|
1576
|
-
"STARGIFT_USAGE_LIMITED": "StargiftUsageLimited",
|
|
1577
|
-
"STARREF_AWAITING_END": "StarrefAwaitingEnd",
|
|
1578
|
-
"STARREF_HASH_REVOKED": "StarrefHashRevoked",
|
|
1579
|
-
"STARREF_PERMILLE_INVALID": "StarrefPermilleInvalid",
|
|
1580
|
-
"STARREF_PERMILLE_TOO_LOW": "StarrefPermilleTooLow",
|
|
1581
|
-
"STARS_INVOICE_INVALID": "StarsInvoiceInvalid",
|
|
1582
|
-
"STARS_PAYMENT_REQUIRED": "StarsPaymentRequired",
|
|
1583
1542
|
"START_PARAM_EMPTY": "StartParamEmpty",
|
|
1584
1543
|
"START_PARAM_INVALID": "StartParamInvalid",
|
|
1585
1544
|
"START_PARAM_TOO_LONG": "StartParamTooLong",
|
|
1586
1545
|
"STICKERPACK_STICKERS_TOO_MUCH": "StickerpackStickersTooMuch",
|
|
1587
1546
|
"STICKERSET_INVALID": "StickersetInvalid",
|
|
1588
|
-
"STICKERSET_NOT_MODIFIED": "StickersetNotModified",
|
|
1589
1547
|
"STICKERS_EMPTY": "StickersEmpty",
|
|
1590
1548
|
"STICKERS_TOO_MUCH": "StickersTooMuch",
|
|
1591
1549
|
"STICKER_DOCUMENT_INVALID": "StickerDocumentInvalid",
|
|
@@ -1604,6 +1562,9 @@ exceptions = {
|
|
|
1604
1562
|
"STICKER_VIDEO_BIG": "StickerVideoBig",
|
|
1605
1563
|
"STICKER_VIDEO_NODOC": "StickerVideoNodoc",
|
|
1606
1564
|
"STICKER_VIDEO_NOWEBM": "StickerVideoNowebm",
|
|
1565
|
+
"STORAGE_CHECK_FAILED": "StorageCheckFailed",
|
|
1566
|
+
"STORAGE_CHOOSE_VOLUME_FAILED": "StorageChooseVolumeFailed",
|
|
1567
|
+
"STORE_INVALID_SCALAR_TYPE": "StoreInvalidScalarType",
|
|
1607
1568
|
"STORIES_NEVER_CREATED": "StoriesNeverCreated",
|
|
1608
1569
|
"STORIES_TOO_MUCH": "StoriesTooMuch",
|
|
1609
1570
|
"STORY_ID_EMPTY": "StoryIdEmpty",
|
|
@@ -1612,27 +1573,21 @@ exceptions = {
|
|
|
1612
1573
|
"STORY_PERIOD_INVALID": "StoryPeriodInvalid",
|
|
1613
1574
|
"STORY_SEND_FLOOD_MONTHLY_X": "StorySendFloodMonthly",
|
|
1614
1575
|
"STORY_SEND_FLOOD_WEEKLY_X": "StorySendFloodWeekly",
|
|
1615
|
-
"
|
|
1616
|
-
"SUBSCRIPTION_PERIOD_INVALID": "SubscriptionPeriodInvalid",
|
|
1576
|
+
"STORYCHAT_INVALID": "StorychatInvalid",
|
|
1617
1577
|
"SWITCH_PM_TEXT_EMPTY": "SwitchPmTextEmpty",
|
|
1618
|
-
"SWITCH_WEBVIEW_URL_INVALID": "SwitchWebviewUrlInvalid",
|
|
1619
1578
|
"TAKEOUT_INIT_DELAY_X": "TakeoutInitDelay",
|
|
1620
1579
|
"TAKEOUT_INVALID": "TakeoutInvalid",
|
|
1621
1580
|
"TAKEOUT_REQUIRED": "TakeoutRequired",
|
|
1622
1581
|
"TASK_ALREADY_EXISTS": "TaskAlreadyExists",
|
|
1623
1582
|
"TEMP_AUTH_KEY_ALREADY_BOUND": "TempAuthKeyAlreadyBound",
|
|
1624
1583
|
"TEMP_AUTH_KEY_EMPTY": "TempAuthKeyEmpty",
|
|
1625
|
-
"TERMS_URL_INVALID": "TermsUrlInvalid",
|
|
1626
1584
|
"THEME_FILE_INVALID": "ThemeFileInvalid",
|
|
1627
1585
|
"THEME_FORMAT_INVALID": "ThemeFormatInvalid",
|
|
1628
1586
|
"THEME_INVALID": "ThemeInvalid",
|
|
1629
1587
|
"THEME_MIME_INVALID": "ThemeMimeInvalid",
|
|
1630
|
-
"THEME_PARAMS_INVALID": "ThemeParamsInvalid",
|
|
1631
1588
|
"THEME_TITLE_INVALID": "ThemeTitleInvalid",
|
|
1632
|
-
"TIMEZONE_INVALID": "TimezoneInvalid",
|
|
1633
1589
|
"TITLE_INVALID": "TitleInvalid",
|
|
1634
1590
|
"TMP_PASSWORD_DISABLED": "TmpPasswordDisabled",
|
|
1635
|
-
"TMP_PASSWORD_INVALID": "TmpPasswordInvalid",
|
|
1636
1591
|
"TOKEN_EMPTY": "TokenEmpty",
|
|
1637
1592
|
"TOKEN_INVALID": "TokenInvalid",
|
|
1638
1593
|
"TOKEN_TYPE_INVALID": "TokenTypeInvalid",
|
|
@@ -1645,15 +1600,16 @@ exceptions = {
|
|
|
1645
1600
|
"TOPIC_NOT_MODIFIED": "TopicNotModified",
|
|
1646
1601
|
"TOPIC_TITLE_EMPTY": "TopicTitleEmpty",
|
|
1647
1602
|
"TO_LANG_INVALID": "ToLangInvalid",
|
|
1648
|
-
"TRANSACTION_ID_INVALID": "TransactionIdInvalid",
|
|
1649
1603
|
"TRANSCRIPTION_FAILED": "TranscriptionFailed",
|
|
1650
|
-
"
|
|
1604
|
+
"TRANSLATE_REQ_FAILED": "TranslateReqFailed",
|
|
1605
|
+
"TRANSLATION_TIMEOUT": "TranslationTimeout",
|
|
1651
1606
|
"TTL_DAYS_INVALID": "TtlDaysInvalid",
|
|
1652
1607
|
"TTL_MEDIA_INVALID": "TtlMediaInvalid",
|
|
1653
1608
|
"TTL_PERIOD_INVALID": "TtlPeriodInvalid",
|
|
1654
1609
|
"TYPES_EMPTY": "TypesEmpty",
|
|
1655
|
-
"
|
|
1610
|
+
"UNKNOWN_METHOD": "UnknownMethod",
|
|
1656
1611
|
"UNTIL_DATE_INVALID": "UntilDateInvalid",
|
|
1612
|
+
"UPLOAD_NO_VOLUME": "UploadNoVolume",
|
|
1657
1613
|
"URL_INVALID": "UrlInvalid",
|
|
1658
1614
|
"USAGE_LIMIT_INVALID": "UsageLimitInvalid",
|
|
1659
1615
|
"USERNAMES_ACTIVE_TOO_MUCH": "UsernamesActiveTooMuch",
|
|
@@ -1675,7 +1631,7 @@ exceptions = {
|
|
|
1675
1631
|
"USER_BOT_REQUIRED": "UserBotRequired",
|
|
1676
1632
|
"USER_CHANNELS_TOO_MUCH": "UserChannelsTooMuch",
|
|
1677
1633
|
"USER_CREATOR": "UserCreator",
|
|
1678
|
-
"
|
|
1634
|
+
"USER_DELETED": "UserDeleted",
|
|
1679
1635
|
"USER_ID_INVALID": "UserIdInvalid",
|
|
1680
1636
|
"USER_INVALID": "UserInvalid",
|
|
1681
1637
|
"USER_IS_BLOCKED": "UserIsBlocked",
|
|
@@ -1683,13 +1639,13 @@ exceptions = {
|
|
|
1683
1639
|
"USER_KICKED": "UserKicked",
|
|
1684
1640
|
"USER_NOT_MUTUAL_CONTACT": "UserNotMutualContact",
|
|
1685
1641
|
"USER_NOT_PARTICIPANT": "UserNotParticipant",
|
|
1642
|
+
"USER_PRIVACY_RESTRICTED": "UserPrivacyRestricted",
|
|
1686
1643
|
"USER_PUBLIC_MISSING": "UserPublicMissing",
|
|
1644
|
+
"USER_RESTRICTED": "UserRestricted",
|
|
1687
1645
|
"USER_VOLUME_INVALID": "UserVolumeInvalid",
|
|
1688
1646
|
"VENUE_ID_INVALID": "VenueIdInvalid",
|
|
1689
1647
|
"VIDEO_CONTENT_TYPE_INVALID": "VideoContentTypeInvalid",
|
|
1690
1648
|
"VIDEO_FILE_INVALID": "VideoFileInvalid",
|
|
1691
|
-
"VIDEO_PAUSE_FORBIDDEN": "VideoPauseForbidden",
|
|
1692
|
-
"VIDEO_STOP_FORBIDDEN": "VideoStopForbidden",
|
|
1693
1649
|
"VIDEO_TITLE_EMPTY": "VideoTitleEmpty",
|
|
1694
1650
|
"VOICE_MESSAGES_FORBIDDEN": "VoiceMessagesForbidden",
|
|
1695
1651
|
"VOLUME_LOC_NOT_FOUND": "VolumeLocNotFound",
|
|
@@ -1701,7 +1657,6 @@ exceptions = {
|
|
|
1701
1657
|
"WEBDOCUMENT_INVALID": "WebdocumentInvalid",
|
|
1702
1658
|
"WEBDOCUMENT_MIME_INVALID": "WebdocumentMimeInvalid",
|
|
1703
1659
|
"WEBDOCUMENT_SIZE_TOO_BIG": "WebdocumentSizeTooBig",
|
|
1704
|
-
"WEBDOCUMENT_URL_EMPTY": "WebdocumentUrlEmpty",
|
|
1705
1660
|
"WEBDOCUMENT_URL_INVALID": "WebdocumentUrlInvalid",
|
|
1706
1661
|
"WEBPAGE_CURL_FAILED": "WebpageCurlFailed",
|
|
1707
1662
|
"WEBPAGE_MEDIA_EMPTY": "WebpageMediaEmpty",
|
|
@@ -1710,10 +1665,12 @@ exceptions = {
|
|
|
1710
1665
|
"WEBPUSH_AUTH_INVALID": "WebpushAuthInvalid",
|
|
1711
1666
|
"WEBPUSH_KEY_INVALID": "WebpushKeyInvalid",
|
|
1712
1667
|
"WEBPUSH_TOKEN_INVALID": "WebpushTokenInvalid",
|
|
1668
|
+
"WORKER_BUSY_TOO_LONG_RETRY": "WorkerBusyTooLongRetry",
|
|
1669
|
+
"WP_ID_GENERATE_FAILED": "WpIdGenerateFailed",
|
|
1713
1670
|
"YOU_BLOCKED_USER": "YouBlockedUser",
|
|
1714
1671
|
},
|
|
1715
|
-
|
|
1716
|
-
"_": "
|
|
1672
|
+
400: {
|
|
1673
|
+
"_": "BadRequest",
|
|
1717
1674
|
"2FA_CONFIRM_WAIT_X": "TwoFaConfirmWait",
|
|
1718
1675
|
"ABOUT_TOO_LONG": "AboutTooLong",
|
|
1719
1676
|
"ACCESS_TOKEN_EXPIRED": "AccessTokenExpired",
|
|
@@ -1724,8 +1681,8 @@ exceptions = {
|
|
|
1724
1681
|
"ADMIN_RANK_EMOJI_NOT_ALLOWED": "AdminRankEmojiNotAllowed",
|
|
1725
1682
|
"ADMIN_RANK_INVALID": "AdminRankInvalid",
|
|
1726
1683
|
"ADMIN_RIGHTS_EMPTY": "AdminRightsEmpty",
|
|
1684
|
+
"AD_EXPIRED": "AdExpired",
|
|
1727
1685
|
"ALBUM_PHOTOS_TOO_MANY": "AlbumPhotosTooMany",
|
|
1728
|
-
"ANONYMOUS_REACTIONS_DISABLED": "AnonymousReactionsDisabled",
|
|
1729
1686
|
"API_ID_INVALID": "ApiIdInvalid",
|
|
1730
1687
|
"API_ID_PUBLISHED_FLOOD": "ApiIdPublishedFlood",
|
|
1731
1688
|
"ARTICLE_TITLE_EMPTY": "ArticleTitleEmpty",
|
|
@@ -1738,97 +1695,121 @@ exceptions = {
|
|
|
1738
1695
|
"AUTH_TOKEN_INVALID": "AuthTokenInvalid",
|
|
1739
1696
|
"AUTH_TOKEN_INVALIDX": "AuthTokenInvalidx",
|
|
1740
1697
|
"AUTOARCHIVE_NOT_AVAILABLE": "AutoarchiveNotAvailable",
|
|
1698
|
+
"BALANCE_TOO_LOW": "BalanceTooLow",
|
|
1741
1699
|
"BANK_CARD_NUMBER_INVALID": "BankCardNumberInvalid",
|
|
1742
1700
|
"BANNED_RIGHTS_INVALID": "BannedRightsInvalid",
|
|
1701
|
+
"BASE_PORT_LOC_INVALID": "BasePortLocInvalid",
|
|
1702
|
+
"BIRTHDAY_INVALID": "BirthdayInvalid",
|
|
1743
1703
|
"BOOSTS_EMPTY": "BoostsEmpty",
|
|
1744
1704
|
"BOOSTS_REQUIRED": "BoostsRequired",
|
|
1745
1705
|
"BOOST_NOT_MODIFIED": "BoostNotModified",
|
|
1746
1706
|
"BOOST_PEER_INVALID": "BoostPeerInvalid",
|
|
1747
1707
|
"BOTS_TOO_MUCH": "BotsTooMuch",
|
|
1708
|
+
"BOT_ALREADY_DISABLED": "BotAlreadyDisabled",
|
|
1709
|
+
"BOT_APP_BOT_INVALID": "BotAppBotInvalid",
|
|
1748
1710
|
"BOT_APP_INVALID": "BotAppInvalid",
|
|
1749
1711
|
"BOT_APP_SHORTNAME_INVALID": "BotAppShortnameInvalid",
|
|
1712
|
+
"BOT_BUSINESS_MISSING": "BotBusinessMissing",
|
|
1750
1713
|
"BOT_CHANNELS_NA": "BotChannelsNa",
|
|
1751
1714
|
"BOT_COMMAND_DESCRIPTION_INVALID": "BotCommandDescriptionInvalid",
|
|
1752
1715
|
"BOT_COMMAND_INVALID": "BotCommandInvalid",
|
|
1753
1716
|
"BOT_DOMAIN_INVALID": "BotDomainInvalid",
|
|
1717
|
+
"BOT_FALLBACK_UNSUPPORTED": "BotFallbackUnsupported",
|
|
1718
|
+
"BOT_GAMES_DISABLED": "BotGamesDisabled",
|
|
1754
1719
|
"BOT_GROUPS_BLOCKED": "BotGroupsBlocked",
|
|
1755
1720
|
"BOT_INLINE_DISABLED": "BotInlineDisabled",
|
|
1756
1721
|
"BOT_INVALID": "BotInvalid",
|
|
1722
|
+
"BOT_INVOICE_INVALID": "BotInvoiceInvalid",
|
|
1723
|
+
"BOT_METHOD_INVALID": "BotMethodInvalid",
|
|
1757
1724
|
"BOT_MISSING": "BotMissing",
|
|
1725
|
+
"BOT_NOT_CONNECTED_YET": "BotNotConnectedYet",
|
|
1758
1726
|
"BOT_ONESIDE_NOT_AVAIL": "BotOnesideNotAvail",
|
|
1759
1727
|
"BOT_PAYMENTS_DISABLED": "BotPaymentsDisabled",
|
|
1728
|
+
"BOT_POLLS_DISABLED": "BotPollsDisabled",
|
|
1760
1729
|
"BOT_RESPONSE_TIMEOUT": "BotResponseTimeout",
|
|
1761
1730
|
"BOT_SCORE_NOT_MODIFIED": "BotScoreNotModified",
|
|
1762
1731
|
"BOT_WEBVIEW_DISABLED": "BotWebviewDisabled",
|
|
1763
|
-
"BROADCAST_FORBIDDEN": "BroadcastForbidden",
|
|
1764
1732
|
"BROADCAST_ID_INVALID": "BroadcastIdInvalid",
|
|
1765
1733
|
"BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "BroadcastPublicVotersForbidden",
|
|
1766
1734
|
"BROADCAST_REQUIRED": "BroadcastRequired",
|
|
1735
|
+
"BUSINESS_CONNECTION_INVALID": "BusinessConnectionInvalid",
|
|
1736
|
+
"BUSINESS_CONNECTION_NOT_ALLOWED": "BusinessConnectionNotAllowed",
|
|
1737
|
+
"BUSINESS_PEER_INVALID": "BusinessPeerInvalid",
|
|
1738
|
+
"BUSINESS_PEER_USAGE_MISSING": "BusinessPeerUsageMissing",
|
|
1739
|
+
"BUSINESS_RECIPIENTS_EMPTY": "BusinessRecipientsEmpty",
|
|
1740
|
+
"BUSINESS_WORK_HOURS_EMPTY": "BusinessWorkHoursEmpty",
|
|
1741
|
+
"BUSINESS_WORK_HOURS_PERIOD_INVALID": "BusinessWorkHoursPeriodInvalid",
|
|
1742
|
+
"BUTTON_COPY_TEXT_INVALID": "ButtonCopyTextInvalid",
|
|
1767
1743
|
"BUTTON_DATA_INVALID": "ButtonDataInvalid",
|
|
1744
|
+
"BUTTON_ID_INVALID": "ButtonIdInvalid",
|
|
1745
|
+
"BUTTON_INVALID": "ButtonInvalid",
|
|
1746
|
+
"BUTTON_POS_INVALID": "ButtonPosInvalid",
|
|
1768
1747
|
"BUTTON_TEXT_INVALID": "ButtonTextInvalid",
|
|
1769
1748
|
"BUTTON_TYPE_INVALID": "ButtonTypeInvalid",
|
|
1770
1749
|
"BUTTON_URL_INVALID": "ButtonUrlInvalid",
|
|
1750
|
+
"BUTTON_USER_INVALID": "ButtonUserInvalid",
|
|
1771
1751
|
"BUTTON_USER_PRIVACY_RESTRICTED": "ButtonUserPrivacyRestricted",
|
|
1772
1752
|
"CALL_ALREADY_ACCEPTED": "CallAlreadyAccepted",
|
|
1773
1753
|
"CALL_ALREADY_DECLINED": "CallAlreadyDeclined",
|
|
1774
1754
|
"CALL_OCCUPY_FAILED": "CallOccupyFailed",
|
|
1775
1755
|
"CALL_PEER_INVALID": "CallPeerInvalid",
|
|
1776
1756
|
"CALL_PROTOCOL_FLAGS_INVALID": "CallProtocolFlagsInvalid",
|
|
1757
|
+
"CALL_PROTOCOL_LAYER_INVALID": "CallProtocolLayerInvalid",
|
|
1777
1758
|
"CDN_METHOD_INVALID": "CdnMethodInvalid",
|
|
1778
1759
|
"CHANNELS_ADMIN_LOCATED_TOO_MUCH": "ChannelsAdminLocatedTooMuch",
|
|
1779
1760
|
"CHANNELS_ADMIN_PUBLIC_TOO_MUCH": "ChannelsAdminPublicTooMuch",
|
|
1780
1761
|
"CHANNELS_TOO_MUCH": "ChannelsTooMuch",
|
|
1762
|
+
"CHANNEL_ADD_INVALID": "ChannelAddInvalid",
|
|
1763
|
+
"CHANNEL_BANNED": "ChannelBanned",
|
|
1781
1764
|
"CHANNEL_FORUM_MISSING": "ChannelForumMissing",
|
|
1782
1765
|
"CHANNEL_ID_INVALID": "ChannelIdInvalid",
|
|
1783
1766
|
"CHANNEL_INVALID": "ChannelInvalid",
|
|
1767
|
+
"CHANNEL_MONOFORUM_UNSUPPORTED": "ChannelMonoforumUnsupported",
|
|
1784
1768
|
"CHANNEL_PARICIPANT_MISSING": "ChannelParicipantMissing",
|
|
1785
1769
|
"CHANNEL_PRIVATE": "ChannelPrivate",
|
|
1786
|
-
"CHANNEL_PUBLIC_GROUP_NA": "ChannelPublicGroupNa",
|
|
1787
1770
|
"CHANNEL_TOO_BIG": "ChannelTooBig",
|
|
1788
1771
|
"CHANNEL_TOO_LARGE": "ChannelTooLarge",
|
|
1772
|
+
"CHARGE_ALREADY_REFUNDED": "ChargeAlreadyRefunded",
|
|
1773
|
+
"CHARGE_ID_EMPTY": "ChargeIdEmpty",
|
|
1774
|
+
"CHARGE_ID_INVALID": "ChargeIdInvalid",
|
|
1775
|
+
"CHATLINKS_TOO_MUCH": "ChatlinksTooMuch",
|
|
1776
|
+
"CHATLINK_SLUG_EMPTY": "ChatlinkSlugEmpty",
|
|
1777
|
+
"CHATLINK_SLUG_EXPIRED": "ChatlinkSlugExpired",
|
|
1778
|
+
"CHATLISTS_TOO_MUCH": "ChatlistsTooMuch",
|
|
1789
1779
|
"CHATLIST_EXCLUDE_INVALID": "ChatlistExcludeInvalid",
|
|
1790
1780
|
"CHAT_ABOUT_NOT_MODIFIED": "ChatAboutNotModified",
|
|
1791
1781
|
"CHAT_ABOUT_TOO_LONG": "ChatAboutTooLong",
|
|
1792
|
-
"CHAT_ACTION_FORBIDDEN": "ChatActionForbidden",
|
|
1793
|
-
"CHAT_ADMIN_INVITE_REQUIRED": "ChatAdminInviteRequired",
|
|
1794
1782
|
"CHAT_ADMIN_REQUIRED": "ChatAdminRequired",
|
|
1795
1783
|
"CHAT_DISCUSSION_UNALLOWED": "ChatDiscussionUnallowed",
|
|
1796
|
-
"CHAT_FORBIDDEN": "ChatForbidden",
|
|
1797
1784
|
"CHAT_FORWARDS_RESTRICTED": "ChatForwardsRestricted",
|
|
1798
|
-
"CHAT_GUEST_SEND_FORBIDDEN": "ChatGuestSendForbidden",
|
|
1799
1785
|
"CHAT_ID_EMPTY": "ChatIdEmpty",
|
|
1800
1786
|
"CHAT_ID_INVALID": "ChatIdInvalid",
|
|
1801
1787
|
"CHAT_INVALID": "ChatInvalid",
|
|
1802
1788
|
"CHAT_INVITE_PERMANENT": "ChatInvitePermanent",
|
|
1803
1789
|
"CHAT_LINK_EXISTS": "ChatLinkExists",
|
|
1790
|
+
"CHAT_MEMBER_ADD_FAILED": "ChatMemberAddFailed",
|
|
1804
1791
|
"CHAT_NOT_MODIFIED": "ChatNotModified",
|
|
1805
1792
|
"CHAT_PUBLIC_REQUIRED": "ChatPublicRequired",
|
|
1806
1793
|
"CHAT_RESTRICTED": "ChatRestricted",
|
|
1807
1794
|
"CHAT_REVOKE_DATE_UNSUPPORTED": "ChatRevokeDateUnsupported",
|
|
1808
|
-
"CHAT_SEND_AUDIOS_FORBIDDEN": "ChatSendAudiosForbidden",
|
|
1809
|
-
"CHAT_SEND_DOCS_FORBIDDEN": "ChatSendDocsForbidden",
|
|
1810
|
-
"CHAT_SEND_GAME_FORBIDDEN": "ChatSendGameForbidden",
|
|
1811
|
-
"CHAT_SEND_GIFS_FORBIDDEN": "ChatSendGifsForbidden",
|
|
1812
1795
|
"CHAT_SEND_INLINE_FORBIDDEN": "ChatSendInlineForbidden",
|
|
1813
|
-
"CHAT_SEND_MEDIA_FORBIDDEN": "ChatSendMediaForbidden",
|
|
1814
|
-
"CHAT_SEND_PHOTOS_FORBIDDEN": "ChatSendPhotosForbidden",
|
|
1815
|
-
"CHAT_SEND_PLAIN_FORBIDDEN": "ChatSendPlainForbidden",
|
|
1816
|
-
"CHAT_SEND_POLL_FORBIDDEN": "ChatSendPollForbidden",
|
|
1817
|
-
"CHAT_SEND_ROUNDVIDEOS_FORBIDDEN": "ChatSendRoundvideosForbidden",
|
|
1818
|
-
"CHAT_SEND_STICKERS_FORBIDDEN": "ChatSendStickersForbidden",
|
|
1819
|
-
"CHAT_SEND_VIDEOS_FORBIDDEN": "ChatSendVideosForbidden",
|
|
1820
|
-
"CHAT_SEND_VOICES_FORBIDDEN": "ChatSendVoicesForbidden",
|
|
1821
1796
|
"CHAT_TITLE_EMPTY": "ChatTitleEmpty",
|
|
1822
1797
|
"CHAT_TOO_BIG": "ChatTooBig",
|
|
1823
|
-
"CHAT_TYPE_INVALID": "ChatTypeInvalid",
|
|
1824
|
-
"CHAT_WRITE_FORBIDDEN": "ChatWriteForbidden",
|
|
1825
1798
|
"CODE_EMPTY": "CodeEmpty",
|
|
1826
1799
|
"CODE_HASH_INVALID": "CodeHashInvalid",
|
|
1827
1800
|
"CODE_INVALID": "CodeInvalid",
|
|
1801
|
+
"COLLECTIBLE_INVALID": "CollectibleInvalid",
|
|
1802
|
+
"COLLECTIBLE_NOT_FOUND": "CollectibleNotFound",
|
|
1828
1803
|
"COLOR_INVALID": "ColorInvalid",
|
|
1829
1804
|
"CONNECTION_API_ID_INVALID": "ConnectionApiIdInvalid",
|
|
1830
1805
|
"CONNECTION_APP_VERSION_EMPTY": "ConnectionAppVersionEmpty",
|
|
1806
|
+
"CONNECTION_DEVICE_MODEL_EMPTY": "ConnectionDeviceModelEmpty",
|
|
1807
|
+
"CONNECTION_ID_INVALID": "ConnectionIdInvalid",
|
|
1808
|
+
"CONNECTION_LANG_PACK_INVALID": "ConnectionLangPackInvalid",
|
|
1831
1809
|
"CONNECTION_LAYER_INVALID": "ConnectionLayerInvalid",
|
|
1810
|
+
"CONNECTION_NOT_INITED": "ConnectionNotInited",
|
|
1811
|
+
"CONNECTION_SYSTEM_EMPTY": "ConnectionSystemEmpty",
|
|
1812
|
+
"CONNECTION_SYSTEM_LANG_CODE_EMPTY": "ConnectionSystemLangCodeEmpty",
|
|
1832
1813
|
"CONTACT_ADD_MISSING": "ContactAddMissing",
|
|
1833
1814
|
"CONTACT_ID_INVALID": "ContactIdInvalid",
|
|
1834
1815
|
"CONTACT_MISSING": "ContactMissing",
|
|
@@ -1837,6 +1818,7 @@ exceptions = {
|
|
|
1837
1818
|
"CREATE_CALL_FAILED": "CreateCallFailed",
|
|
1838
1819
|
"CURRENCY_TOTAL_AMOUNT_INVALID": "CurrencyTotalAmountInvalid",
|
|
1839
1820
|
"CUSTOM_REACTIONS_TOO_MANY": "CustomReactionsTooMany",
|
|
1821
|
+
"DATA_HASH_SIZE_INVALID": "DataHashSizeInvalid",
|
|
1840
1822
|
"DATA_INVALID": "DataInvalid",
|
|
1841
1823
|
"DATA_JSON_INVALID": "DataJsonInvalid",
|
|
1842
1824
|
"DATA_TOO_LONG": "DataTooLong",
|
|
@@ -1844,9 +1826,10 @@ exceptions = {
|
|
|
1844
1826
|
"DC_ID_INVALID": "DcIdInvalid",
|
|
1845
1827
|
"DH_G_A_INVALID": "DhGAInvalid",
|
|
1846
1828
|
"DOCUMENT_INVALID": "DocumentInvalid",
|
|
1847
|
-
"
|
|
1829
|
+
"EFFECT_ID_INVALID": "EffectIdInvalid",
|
|
1848
1830
|
"EMAIL_HASH_EXPIRED": "EmailHashExpired",
|
|
1849
1831
|
"EMAIL_INVALID": "EmailInvalid",
|
|
1832
|
+
"EMAIL_NOT_ALLOWED": "EmailNotAllowed",
|
|
1850
1833
|
"EMAIL_NOT_SETUP": "EmailNotSetup",
|
|
1851
1834
|
"EMAIL_UNCONFIRMED": "EmailUnconfirmed",
|
|
1852
1835
|
"EMAIL_UNCONFIRMED_X": "EmailUnconfirmed",
|
|
@@ -1866,12 +1849,18 @@ exceptions = {
|
|
|
1866
1849
|
"ENTITY_BOUNDS_INVALID": "EntityBoundsInvalid",
|
|
1867
1850
|
"ENTITY_MENTION_USER_INVALID": "EntityMentionUserInvalid",
|
|
1868
1851
|
"ERROR_TEXT_EMPTY": "ErrorTextEmpty",
|
|
1852
|
+
"EXPIRES_AT_INVALID": "ExpiresAtInvalid",
|
|
1869
1853
|
"EXPIRE_DATE_INVALID": "ExpireDateInvalid",
|
|
1870
1854
|
"EXPORT_CARD_INVALID": "ExportCardInvalid",
|
|
1855
|
+
"EXTENDED_MEDIA_AMOUNT_INVALID": "ExtendedMediaAmountInvalid",
|
|
1856
|
+
"EXTENDED_MEDIA_INVALID": "ExtendedMediaInvalid",
|
|
1871
1857
|
"EXTERNAL_URL_INVALID": "ExternalUrlInvalid",
|
|
1858
|
+
"FIELD_NAME_EMPTY": "FieldNameEmpty",
|
|
1859
|
+
"FIELD_NAME_INVALID": "FieldNameInvalid",
|
|
1872
1860
|
"FILE_CONTENT_TYPE_INVALID": "FileContentTypeInvalid",
|
|
1873
1861
|
"FILE_EMTPY": "FileEmtpy",
|
|
1874
1862
|
"FILE_ID_INVALID": "FileIdInvalid",
|
|
1863
|
+
"FILE_MIGRATE_X": "FileMigrate",
|
|
1875
1864
|
"FILE_PARTS_INVALID": "FilePartsInvalid",
|
|
1876
1865
|
"FILE_PART_EMPTY": "FilePartEmpty",
|
|
1877
1866
|
"FILE_PART_INVALID": "FilePartInvalid",
|
|
@@ -1879,9 +1868,13 @@ exceptions = {
|
|
|
1879
1868
|
"FILE_PART_SIZE_CHANGED": "FilePartSizeChanged",
|
|
1880
1869
|
"FILE_PART_SIZE_INVALID": "FilePartSizeInvalid",
|
|
1881
1870
|
"FILE_PART_TOO_BIG": "FilePartTooBig",
|
|
1871
|
+
"FILE_PART_TOO_SMALL": "FilePartTooSmall",
|
|
1872
|
+
"FILE_PART_X_MISSING": "FilePartMissing",
|
|
1882
1873
|
"FILE_REFERENCE_EMPTY": "FileReferenceEmpty",
|
|
1883
1874
|
"FILE_REFERENCE_EXPIRED": "FileReferenceExpired",
|
|
1884
1875
|
"FILE_REFERENCE_INVALID": "FileReferenceInvalid",
|
|
1876
|
+
"FILE_REFERENCE_X_EXPIRED": "FileReferenceExpired",
|
|
1877
|
+
"FILE_REFERENCE_X_INVALID": "FileReferenceInvalid",
|
|
1885
1878
|
"FILE_TITLE_EMPTY": "FileTitleEmpty",
|
|
1886
1879
|
"FILE_TOKEN_INVALID": "FileTokenInvalid",
|
|
1887
1880
|
"FILTER_ID_INVALID": "FilterIdInvalid",
|
|
@@ -1891,39 +1884,60 @@ exceptions = {
|
|
|
1891
1884
|
"FIRSTNAME_INVALID": "FirstnameInvalid",
|
|
1892
1885
|
"FOLDER_ID_EMPTY": "FolderIdEmpty",
|
|
1893
1886
|
"FOLDER_ID_INVALID": "FolderIdInvalid",
|
|
1887
|
+
"FORM_EXPIRED": "FormExpired",
|
|
1888
|
+
"FORM_ID_EMPTY": "FormIdEmpty",
|
|
1889
|
+
"FORM_SUBMIT_DUPLICATE": "FormSubmitDuplicate",
|
|
1890
|
+
"FORM_UNSUPPORTED": "FormUnsupported",
|
|
1894
1891
|
"FORUM_ENABLED": "ForumEnabled",
|
|
1895
1892
|
"FRESH_CHANGE_ADMINS_FORBIDDEN": "FreshChangeAdminsForbidden",
|
|
1896
1893
|
"FROM_MESSAGE_BOT_DISABLED": "FromMessageBotDisabled",
|
|
1897
1894
|
"FROM_PEER_INVALID": "FromPeerInvalid",
|
|
1895
|
+
"FROZEN_PARTICIPANT_MISSING": "FrozenParticipantMissing",
|
|
1898
1896
|
"GAME_BOT_INVALID": "GameBotInvalid",
|
|
1899
1897
|
"GENERAL_MODIFY_ICON_FORBIDDEN": "GeneralModifyIconForbidden",
|
|
1900
1898
|
"GEO_POINT_INVALID": "GeoPointInvalid",
|
|
1899
|
+
"GIFT_MONTHS_INVALID": "GiftMonthsInvalid",
|
|
1901
1900
|
"GIFT_SLUG_EXPIRED": "GiftSlugExpired",
|
|
1902
1901
|
"GIFT_SLUG_INVALID": "GiftSlugInvalid",
|
|
1902
|
+
"GIFT_STARS_INVALID": "GiftStarsInvalid",
|
|
1903
1903
|
"GIF_CONTENT_TYPE_INVALID": "GifContentTypeInvalid",
|
|
1904
1904
|
"GIF_ID_INVALID": "GifIdInvalid",
|
|
1905
1905
|
"GRAPH_EXPIRED_RELOAD": "GraphExpiredReload",
|
|
1906
1906
|
"GRAPH_INVALID_RELOAD": "GraphInvalidReload",
|
|
1907
1907
|
"GRAPH_OUTDATED_RELOAD": "GraphOutdatedReload",
|
|
1908
1908
|
"GROUPCALL_ALREADY_DISCARDED": "GroupcallAlreadyDiscarded",
|
|
1909
|
-
"GROUPCALL_ALREADY_STARTED": "GroupcallAlreadyStarted",
|
|
1910
1909
|
"GROUPCALL_FORBIDDEN": "GroupcallForbidden",
|
|
1911
1910
|
"GROUPCALL_INVALID": "GroupcallInvalid",
|
|
1912
1911
|
"GROUPCALL_JOIN_MISSING": "GroupcallJoinMissing",
|
|
1913
1912
|
"GROUPCALL_NOT_MODIFIED": "GroupcallNotModified",
|
|
1913
|
+
"GROUPCALL_MESSAGE_FORBIDDEN": "GroupcallMessageForbidden",
|
|
1914
1914
|
"GROUPCALL_SSRC_DUPLICATE_MUCH": "GroupcallSsrcDuplicateMuch",
|
|
1915
1915
|
"GROUPED_MEDIA_INVALID": "GroupedMediaInvalid",
|
|
1916
|
+
"GROUP_CALL_INVALID": "GroupCallInvalid",
|
|
1917
|
+
"HASHTAG_INVALID": "HashtagInvalid",
|
|
1916
1918
|
"HASH_INVALID": "HashInvalid",
|
|
1919
|
+
"HASH_SIZE_INVALID": "HashSizeInvalid",
|
|
1917
1920
|
"HIDE_REQUESTER_MISSING": "HideRequesterMissing",
|
|
1921
|
+
"ID_EXPIRED": "IdExpired",
|
|
1922
|
+
"ID_INVALID": "IdInvalid",
|
|
1918
1923
|
"IMAGE_PROCESS_FAILED": "ImageProcessFailed",
|
|
1919
1924
|
"IMPORT_FILE_INVALID": "ImportFileInvalid",
|
|
1925
|
+
"IMPORT_FORMAT_DATE_INVALID": "ImportFormatDateInvalid",
|
|
1920
1926
|
"IMPORT_FORMAT_UNRECOGNIZED": "ImportFormatUnrecognized",
|
|
1921
1927
|
"IMPORT_ID_INVALID": "ImportIdInvalid",
|
|
1922
1928
|
"IMPORT_TOKEN_INVALID": "ImportTokenInvalid",
|
|
1923
|
-
"INLINE_BOT_REQUIRED": "InlineBotRequired",
|
|
1924
1929
|
"INLINE_RESULT_EXPIRED": "InlineResultExpired",
|
|
1925
1930
|
"INPUT_CHATLIST_INVALID": "InputChatlistInvalid",
|
|
1931
|
+
"INPUT_CONSTRUCTOR_INVALID": "InputConstructorInvalid",
|
|
1932
|
+
"INPUT_FETCH_ERROR": "InputFetchError",
|
|
1933
|
+
"INPUT_FETCH_FAIL": "InputFetchFail",
|
|
1934
|
+
"INPUT_FILE_INVALID": "InputFileInvalid",
|
|
1926
1935
|
"INPUT_FILTER_INVALID": "InputFilterInvalid",
|
|
1936
|
+
"INPUT_LAYER_INVALID": "InputLayerInvalid",
|
|
1937
|
+
"INPUT_METHOD_INVALID": "InputMethodInvalid",
|
|
1938
|
+
"INPUT_PEERS_EMPTY": "InputPeersEmpty",
|
|
1939
|
+
"INPUT_PURPOSE_INVALID": "InputPurposeInvalid",
|
|
1940
|
+
"INPUT_REQUEST_TOO_LONG": "InputRequestTooLong",
|
|
1927
1941
|
"INPUT_TEXT_EMPTY": "InputTextEmpty",
|
|
1928
1942
|
"INPUT_TEXT_TOO_LONG": "InputTextTooLong",
|
|
1929
1943
|
"INPUT_USER_DEACTIVATED": "InputUserDeactivated",
|
|
@@ -1936,8 +1950,11 @@ exceptions = {
|
|
|
1936
1950
|
"INVITE_REVOKED_MISSING": "InviteRevokedMissing",
|
|
1937
1951
|
"INVITE_SLUG_EMPTY": "InviteSlugEmpty",
|
|
1938
1952
|
"INVITE_SLUG_EXPIRED": "InviteSlugExpired",
|
|
1953
|
+
"INVITE_SLUG_INVALID": "InviteSlugInvalid",
|
|
1954
|
+
"INVOICE_INVALID": "InvoiceInvalid",
|
|
1939
1955
|
"INVOICE_PAYLOAD_INVALID": "InvoicePayloadInvalid",
|
|
1940
1956
|
"JOIN_AS_PEER_INVALID": "JoinAsPeerInvalid",
|
|
1957
|
+
"LANGUAGE_INVALID": "LanguageInvalid",
|
|
1941
1958
|
"LANG_CODE_INVALID": "LangCodeInvalid",
|
|
1942
1959
|
"LANG_CODE_NOT_SUPPORTED": "LangCodeNotSupported",
|
|
1943
1960
|
"LANG_PACK_INVALID": "LangPackInvalid",
|
|
@@ -1949,6 +1966,7 @@ exceptions = {
|
|
|
1949
1966
|
"MAX_ID_INVALID": "MaxIdInvalid",
|
|
1950
1967
|
"MAX_QTS_INVALID": "MaxQtsInvalid",
|
|
1951
1968
|
"MD5_CHECKSUM_INVALID": "Md5ChecksumInvalid",
|
|
1969
|
+
"MEDIA_ALREADY_PAID": "MediaAlreadyPaid",
|
|
1952
1970
|
"MEDIA_CAPTION_TOO_LONG": "MediaCaptionTooLong",
|
|
1953
1971
|
"MEDIA_EMPTY": "MediaEmpty",
|
|
1954
1972
|
"MEDIA_FILE_INVALID": "MediaFileInvalid",
|
|
@@ -1963,26 +1981,31 @@ exceptions = {
|
|
|
1963
1981
|
"MEGAGROUP_ID_INVALID": "MegagroupIdInvalid",
|
|
1964
1982
|
"MEGAGROUP_PREHISTORY_HIDDEN": "MegagroupPrehistoryHidden",
|
|
1965
1983
|
"MEGAGROUP_REQUIRED": "MegagroupRequired",
|
|
1966
|
-
"MESSAGE_AUTHOR_REQUIRED": "MessageAuthorRequired",
|
|
1967
|
-
"MESSAGE_DELETE_FORBIDDEN": "MessageDeleteForbidden",
|
|
1968
1984
|
"MESSAGE_EDIT_TIME_EXPIRED": "MessageEditTimeExpired",
|
|
1969
1985
|
"MESSAGE_EMPTY": "MessageEmpty",
|
|
1970
1986
|
"MESSAGE_IDS_EMPTY": "MessageIdsEmpty",
|
|
1971
1987
|
"MESSAGE_ID_INVALID": "MessageIdInvalid",
|
|
1972
1988
|
"MESSAGE_NOT_MODIFIED": "MessageNotModified",
|
|
1989
|
+
"MESSAGE_NOT_READ_YET": "MessageNotReadYet",
|
|
1973
1990
|
"MESSAGE_POLL_CLOSED": "MessagePollClosed",
|
|
1974
1991
|
"MESSAGE_TOO_LONG": "MessageTooLong",
|
|
1992
|
+
"MESSAGE_TOO_OLD": "MessageTooOld",
|
|
1975
1993
|
"METHOD_INVALID": "MethodInvalid",
|
|
1976
1994
|
"MIN_DATE_INVALID": "MinDateInvalid",
|
|
1995
|
+
"MONTH_INVALID": "MonthInvalid",
|
|
1977
1996
|
"MSG_ID_INVALID": "MsgIdInvalid",
|
|
1978
1997
|
"MSG_TOO_OLD": "MsgTooOld",
|
|
1998
|
+
"MSG_VOICE_MISSING": "MsgVoiceMissing",
|
|
1979
1999
|
"MSG_WAIT_FAILED": "MsgWaitFailed",
|
|
1980
2000
|
"MULTI_MEDIA_TOO_LONG": "MultiMediaTooLong",
|
|
1981
2001
|
"NEW_SALT_INVALID": "NewSaltInvalid",
|
|
1982
2002
|
"NEW_SETTINGS_EMPTY": "NewSettingsEmpty",
|
|
1983
2003
|
"NEW_SETTINGS_INVALID": "NewSettingsInvalid",
|
|
1984
2004
|
"NEXT_OFFSET_INVALID": "NextOffsetInvalid",
|
|
2005
|
+
"NOGENERAL_HIDE_FORBIDDEN": "NogeneralHideForbidden",
|
|
1985
2006
|
"NOT_ELIGIBLE": "NotEligible",
|
|
2007
|
+
"NOT_JOINED": "NotJoined",
|
|
2008
|
+
"NO_PAYMENT_NEEDED": "NoPaymentNeeded",
|
|
1986
2009
|
"OFFSET_INVALID": "OffsetInvalid",
|
|
1987
2010
|
"OFFSET_PEER_ID_INVALID": "OffsetPeerIdInvalid",
|
|
1988
2011
|
"OPTIONS_TOO_MUCH": "OptionsTooMuch",
|
|
@@ -1991,6 +2014,8 @@ exceptions = {
|
|
|
1991
2014
|
"PACK_SHORT_NAME_INVALID": "PackShortNameInvalid",
|
|
1992
2015
|
"PACK_SHORT_NAME_OCCUPIED": "PackShortNameOccupied",
|
|
1993
2016
|
"PACK_TITLE_INVALID": "PackTitleInvalid",
|
|
2017
|
+
"PACK_TYPE_INVALID": "PackTypeInvalid",
|
|
2018
|
+
"PARENT_PEER_INVALID": "ParentPeerInvalid",
|
|
1994
2019
|
"PARTICIPANTS_TOO_FEW": "ParticipantsTooFew",
|
|
1995
2020
|
"PARTICIPANT_ID_INVALID": "ParticipantIdInvalid",
|
|
1996
2021
|
"PARTICIPANT_JOIN_MISSING": "ParticipantJoinMissing",
|
|
@@ -2002,11 +2027,16 @@ exceptions = {
|
|
|
2002
2027
|
"PASSWORD_RECOVERY_NA": "PasswordRecoveryNa",
|
|
2003
2028
|
"PASSWORD_REQUIRED": "PasswordRequired",
|
|
2004
2029
|
"PASSWORD_TOO_FRESH_X": "PasswordTooFresh",
|
|
2030
|
+
"PAYMENT_CREDENTIALS_INVALID": "PaymentCredentialsInvalid",
|
|
2005
2031
|
"PAYMENT_PROVIDER_INVALID": "PaymentProviderInvalid",
|
|
2032
|
+
"PAYMENT_REQUIRED": "PaymentRequired",
|
|
2006
2033
|
"PEERS_LIST_EMPTY": "PeersListEmpty",
|
|
2034
|
+
"PEER_FLOOD": "PeerFlood",
|
|
2007
2035
|
"PEER_HISTORY_EMPTY": "PeerHistoryEmpty",
|
|
2008
2036
|
"PEER_ID_INVALID": "PeerIdInvalid",
|
|
2009
2037
|
"PEER_ID_NOT_SUPPORTED": "PeerIdNotSupported",
|
|
2038
|
+
"PEER_LINK_NOT_MODIFIED": "PeerLinkNotModified",
|
|
2039
|
+
"PEER_TYPES_INVALID": "PeerTypesInvalid",
|
|
2010
2040
|
"PERSISTENT_TIMESTAMP_EMPTY": "PersistentTimestampEmpty",
|
|
2011
2041
|
"PERSISTENT_TIMESTAMP_INVALID": "PersistentTimestampInvalid",
|
|
2012
2042
|
"PHONE_CODE_EMPTY": "PhoneCodeEmpty",
|
|
@@ -2033,43 +2063,62 @@ exceptions = {
|
|
|
2033
2063
|
"PHOTO_INVALID_DIMENSIONS": "PhotoInvalidDimensions",
|
|
2034
2064
|
"PHOTO_SAVE_FILE_INVALID": "PhotoSaveFileInvalid",
|
|
2035
2065
|
"PHOTO_THUMB_URL_EMPTY": "PhotoThumbUrlEmpty",
|
|
2066
|
+
"PHOTO_THUMB_URL_INVALID": "PhotoThumbUrlInvalid",
|
|
2036
2067
|
"PINNED_DIALOGS_TOO_MUCH": "PinnedDialogsTooMuch",
|
|
2068
|
+
"PINNED_TOO_MUCH": "PinnedTooMuch",
|
|
2037
2069
|
"PIN_RESTRICTED": "PinRestricted",
|
|
2070
|
+
"PLATFORM_INVALID": "PlatformInvalid",
|
|
2038
2071
|
"POLL_ANSWERS_INVALID": "PollAnswersInvalid",
|
|
2039
2072
|
"POLL_ANSWER_INVALID": "PollAnswerInvalid",
|
|
2040
2073
|
"POLL_OPTION_DUPLICATE": "PollOptionDuplicate",
|
|
2041
2074
|
"POLL_OPTION_INVALID": "PollOptionInvalid",
|
|
2042
2075
|
"POLL_QUESTION_INVALID": "PollQuestionInvalid",
|
|
2076
|
+
"POLL_UNSUPPORTED": "PollUnsupported",
|
|
2043
2077
|
"POLL_VOTE_REQUIRED": "PollVoteRequired",
|
|
2044
2078
|
"PREMIUM_ACCOUNT_REQUIRED": "PremiumAccountRequired",
|
|
2079
|
+
"PREMIUM_GIFTCODE_WAS_REFUNDED": "PremiumGiftcodeWasRefunded",
|
|
2045
2080
|
"PREMIUM_SUB_ACTIVE_UNTIL_X": "PremiumSubActiveUntil",
|
|
2081
|
+
"PRICING_CHAT_INVALID": "PricingChatInvalid",
|
|
2046
2082
|
"PRIVACY_KEY_INVALID": "PrivacyKeyInvalid",
|
|
2047
|
-
"PRIVACY_PREMIUM_REQUIRED": "PrivacyPremiumRequired",
|
|
2048
2083
|
"PRIVACY_TOO_LONG": "PrivacyTooLong",
|
|
2049
2084
|
"PRIVACY_VALUE_INVALID": "PrivacyValueInvalid",
|
|
2050
|
-
"
|
|
2085
|
+
"PUBLIC_KEY_INVALID": "PublicKeyInvalid",
|
|
2051
2086
|
"PUBLIC_KEY_REQUIRED": "PublicKeyRequired",
|
|
2087
|
+
"PURPOSE_INVALID": "PurposeInvalid",
|
|
2052
2088
|
"QUERY_ID_EMPTY": "QueryIdEmpty",
|
|
2053
2089
|
"QUERY_ID_INVALID": "QueryIdInvalid",
|
|
2054
2090
|
"QUERY_TOO_SHORT": "QueryTooShort",
|
|
2091
|
+
"QUICK_REPLIES_BOT_NOT_ALLOWED": "QuickRepliesBotNotAllowed",
|
|
2092
|
+
"QUICK_REPLIES_TOO_MUCH": "QuickRepliesTooMuch",
|
|
2055
2093
|
"QUIZ_ANSWER_MISSING": "QuizAnswerMissing",
|
|
2056
2094
|
"QUIZ_CORRECT_ANSWERS_EMPTY": "QuizCorrectAnswersEmpty",
|
|
2057
2095
|
"QUIZ_CORRECT_ANSWERS_TOO_MUCH": "QuizCorrectAnswersTooMuch",
|
|
2058
2096
|
"QUIZ_CORRECT_ANSWER_INVALID": "QuizCorrectAnswerInvalid",
|
|
2059
2097
|
"QUIZ_MULTIPLE_INVALID": "QuizMultipleInvalid",
|
|
2098
|
+
"QUOTE_TEXT_INVALID": "QuoteTextInvalid",
|
|
2099
|
+
"TEXTDRAFT_PEER_INVALID": "TextdraftPeerInvalid",
|
|
2100
|
+
"RAISE_HAND_FORBIDDEN": "RaiseHandForbidden",
|
|
2060
2101
|
"RANDOM_ID_EMPTY": "RandomIdEmpty",
|
|
2102
|
+
"RANDOM_ID_EXPIRED": "RandomIdExpired",
|
|
2061
2103
|
"RANDOM_ID_INVALID": "RandomIdInvalid",
|
|
2062
2104
|
"RANDOM_LENGTH_INVALID": "RandomLengthInvalid",
|
|
2063
2105
|
"RANGES_INVALID": "RangesInvalid",
|
|
2106
|
+
"REACTIONS_COUNT_INVALID": "ReactionsCountInvalid",
|
|
2064
2107
|
"REACTIONS_TOO_MANY": "ReactionsTooMany",
|
|
2065
2108
|
"REACTION_EMPTY": "ReactionEmpty",
|
|
2066
2109
|
"REACTION_INVALID": "ReactionInvalid",
|
|
2110
|
+
"RECEIPT_EMPTY": "ReceiptEmpty",
|
|
2111
|
+
"REFLECTOR_NOT_AVAILABLE": "ReflectorNotAvailable",
|
|
2067
2112
|
"REPLY_MARKUP_BUY_EMPTY": "ReplyMarkupBuyEmpty",
|
|
2113
|
+
"REPLY_MARKUP_GAME_EMPTY": "ReplyMarkupGameEmpty",
|
|
2068
2114
|
"REPLY_MARKUP_INVALID": "ReplyMarkupInvalid",
|
|
2069
2115
|
"REPLY_MARKUP_TOO_LONG": "ReplyMarkupTooLong",
|
|
2116
|
+
"REPLY_MESSAGES_TOO_MUCH": "ReplyMessagesTooMuch",
|
|
2070
2117
|
"REPLY_MESSAGE_ID_INVALID": "ReplyMessageIdInvalid",
|
|
2071
2118
|
"REPLY_TO_INVALID": "ReplyToInvalid",
|
|
2119
|
+
"REPLY_TO_MONOFORUM_PEER_INVALID": "ReplyToMonoforumPeerInvalid",
|
|
2072
2120
|
"REPLY_TO_USER_INVALID": "ReplyToUserInvalid",
|
|
2121
|
+
"REQUEST_TOKEN_INVALID": "RequestTokenInvalid",
|
|
2073
2122
|
"RESET_REQUEST_MISSING": "ResetRequestMissing",
|
|
2074
2123
|
"RESULTS_TOO_MUCH": "ResultsTooMuch",
|
|
2075
2124
|
"RESULT_ID_DUPLICATE": "ResultIdDuplicate",
|
|
@@ -2078,8 +2127,11 @@ exceptions = {
|
|
|
2078
2127
|
"RESULT_TYPE_INVALID": "ResultTypeInvalid",
|
|
2079
2128
|
"REVOTE_NOT_ALLOWED": "RevoteNotAllowed",
|
|
2080
2129
|
"RIGHTS_NOT_MODIFIED": "RightsNotModified",
|
|
2081
|
-
"
|
|
2130
|
+
"RINGTONE_INVALID": "RingtoneInvalid",
|
|
2131
|
+
"RINGTONE_MIME_INVALID": "RingtoneMimeInvalid",
|
|
2082
2132
|
"RSA_DECRYPT_FAILED": "RsaDecryptFailed",
|
|
2133
|
+
"SAVED_DIALOGS_UNSUPPORTED": "SavedDialogsUnsupported",
|
|
2134
|
+
"SAVED_ID_EMPTY": "SavedIdEmpty",
|
|
2083
2135
|
"SCHEDULE_BOT_NOT_ALLOWED": "ScheduleBotNotAllowed",
|
|
2084
2136
|
"SCHEDULE_DATE_INVALID": "ScheduleDateInvalid",
|
|
2085
2137
|
"SCHEDULE_DATE_TOO_LATE": "ScheduleDateTooLate",
|
|
@@ -2089,27 +2141,55 @@ exceptions = {
|
|
|
2089
2141
|
"SEARCH_QUERY_EMPTY": "SearchQueryEmpty",
|
|
2090
2142
|
"SEARCH_WITH_LINK_NOT_SUPPORTED": "SearchWithLinkNotSupported",
|
|
2091
2143
|
"SECONDS_INVALID": "SecondsInvalid",
|
|
2144
|
+
"SECURE_SECRET_REQUIRED": "SecureSecretRequired",
|
|
2145
|
+
"SELF_DELETE_RESTRICTED": "SelfDeleteRestricted",
|
|
2092
2146
|
"SEND_AS_PEER_INVALID": "SendAsPeerInvalid",
|
|
2147
|
+
"SEND_MESSAGE_GAME_INVALID": "SendMessageGameInvalid",
|
|
2093
2148
|
"SEND_MESSAGE_MEDIA_INVALID": "SendMessageMediaInvalid",
|
|
2094
2149
|
"SEND_MESSAGE_TYPE_INVALID": "SendMessageTypeInvalid",
|
|
2095
|
-
"SENSITIVE_CHANGE_FORBIDDEN": "SensitiveChangeForbidden",
|
|
2096
2150
|
"SESSION_TOO_FRESH_X": "SessionTooFresh",
|
|
2097
2151
|
"SETTINGS_INVALID": "SettingsInvalid",
|
|
2098
2152
|
"SHA256_HASH_INVALID": "Sha256HashInvalid",
|
|
2153
|
+
"SHORTCUT_INVALID": "ShortcutInvalid",
|
|
2154
|
+
"SHORTNAME_OCCUPY_FAILED": "ShortnameOccupyFailed",
|
|
2099
2155
|
"SHORT_NAME_INVALID": "ShortNameInvalid",
|
|
2100
2156
|
"SHORT_NAME_OCCUPIED": "ShortNameOccupied",
|
|
2101
2157
|
"SLOTS_EMPTY": "SlotsEmpty",
|
|
2102
2158
|
"SLOWMODE_MULTI_MSGS_DISABLED": "SlowmodeMultiMsgsDisabled",
|
|
2103
2159
|
"SLOWMODE_WAIT_X": "SlowmodeWait",
|
|
2104
2160
|
"SLUG_INVALID": "SlugInvalid",
|
|
2161
|
+
"SMSJOB_ID_INVALID": "SmsjobIdInvalid",
|
|
2105
2162
|
"SMS_CODE_CREATE_FAILED": "SmsCodeCreateFailed",
|
|
2163
|
+
"SRP_A_INVALID": "SrpAInvalid",
|
|
2106
2164
|
"SRP_ID_INVALID": "SrpIdInvalid",
|
|
2107
2165
|
"SRP_PASSWORD_CHANGED": "SrpPasswordChanged",
|
|
2166
|
+
"STARGIFT_ALREADY_CONVERTED": "StargiftAlreadyConverted",
|
|
2167
|
+
"STARGIFT_ALREADY_REFUNDED": "StargiftAlreadyRefunded",
|
|
2168
|
+
"STARGIFT_ALREADY_UPGRADED": "StargiftAlreadyUpgraded",
|
|
2169
|
+
"STARGIFT_INVALID": "StargiftInvalid",
|
|
2170
|
+
"STARGIFT_NOT_FOUND": "StargiftNotFound",
|
|
2171
|
+
"STARGIFT_OWNER_INVALID": "StargiftOwnerInvalid",
|
|
2172
|
+
"STARGIFT_PEER_INVALID": "StargiftPeerInvalid",
|
|
2173
|
+
"STARGIFT_RESELL_CURRENCY_NOT_ALLOWED": "StargiftResellCurrencyNotAllowed",
|
|
2174
|
+
"STARGIFT_SLUG_INVALID": "StargiftSlugInvalid",
|
|
2175
|
+
"STARGIFT_TRANSFER_TOO_EARLY_X": "StargiftTransferTooEarly",
|
|
2176
|
+
"STARGIFT_UPGRADE_UNAVAILABLE": "StargiftUpgradeUnavailable",
|
|
2177
|
+
"STARGIFT_USAGE_LIMITED": "StargiftUsageLimited",
|
|
2178
|
+
"STARGIFT_USER_USAGE_LIMITED": "StargiftUserUsageLimited",
|
|
2179
|
+
"STARREF_AWAITING_END": "StarrefAwaitingEnd",
|
|
2180
|
+
"STARREF_EXPIRED": "StarrefExpired",
|
|
2181
|
+
"STARREF_HASH_REVOKED": "StarrefHashRevoked",
|
|
2182
|
+
"STARREF_PERMILLE_INVALID": "StarrefPermilleInvalid",
|
|
2183
|
+
"STARREF_PERMILLE_TOO_LOW": "StarrefPermilleTooLow",
|
|
2184
|
+
"STARS_AMOUNT_INVALID": "StarsAmountInvalid",
|
|
2185
|
+
"STARS_INVOICE_INVALID": "StarsInvoiceInvalid",
|
|
2186
|
+
"STARS_PAYMENT_REQUIRED": "StarsPaymentRequired",
|
|
2108
2187
|
"START_PARAM_EMPTY": "StartParamEmpty",
|
|
2109
2188
|
"START_PARAM_INVALID": "StartParamInvalid",
|
|
2110
2189
|
"START_PARAM_TOO_LONG": "StartParamTooLong",
|
|
2111
2190
|
"STICKERPACK_STICKERS_TOO_MUCH": "StickerpackStickersTooMuch",
|
|
2112
2191
|
"STICKERSET_INVALID": "StickersetInvalid",
|
|
2192
|
+
"STICKERSET_NOT_MODIFIED": "StickersetNotModified",
|
|
2113
2193
|
"STICKERS_EMPTY": "StickersEmpty",
|
|
2114
2194
|
"STICKERS_TOO_MUCH": "StickersTooMuch",
|
|
2115
2195
|
"STICKER_DOCUMENT_INVALID": "StickerDocumentInvalid",
|
|
@@ -2136,20 +2216,34 @@ exceptions = {
|
|
|
2136
2216
|
"STORY_PERIOD_INVALID": "StoryPeriodInvalid",
|
|
2137
2217
|
"STORY_SEND_FLOOD_MONTHLY_X": "StorySendFloodMonthly",
|
|
2138
2218
|
"STORY_SEND_FLOOD_WEEKLY_X": "StorySendFloodWeekly",
|
|
2219
|
+
"SUBSCRIPTION_EXPORT_MISSING": "SubscriptionExportMissing",
|
|
2220
|
+
"SUBSCRIPTION_ID_INVALID": "SubscriptionIdInvalid",
|
|
2221
|
+
"SUBSCRIPTION_PERIOD_INVALID": "SubscriptionPeriodInvalid",
|
|
2222
|
+
"SUGGESTED_POST_AMOUNT_INVALID": "SuggestedPostAmountInvalid",
|
|
2223
|
+
"SUGGESTED_POST_PEER_INVALID": "SuggestedPostPeerInvalid",
|
|
2139
2224
|
"SWITCH_PM_TEXT_EMPTY": "SwitchPmTextEmpty",
|
|
2225
|
+
"SWITCH_WEBVIEW_URL_INVALID": "SwitchWebviewUrlInvalid",
|
|
2140
2226
|
"TAKEOUT_INIT_DELAY_X": "TakeoutInitDelay",
|
|
2141
2227
|
"TAKEOUT_INVALID": "TakeoutInvalid",
|
|
2142
2228
|
"TAKEOUT_REQUIRED": "TakeoutRequired",
|
|
2143
2229
|
"TASK_ALREADY_EXISTS": "TaskAlreadyExists",
|
|
2144
2230
|
"TEMP_AUTH_KEY_ALREADY_BOUND": "TempAuthKeyAlreadyBound",
|
|
2145
2231
|
"TEMP_AUTH_KEY_EMPTY": "TempAuthKeyEmpty",
|
|
2232
|
+
"TERMS_URL_INVALID": "TermsUrlInvalid",
|
|
2146
2233
|
"THEME_FILE_INVALID": "ThemeFileInvalid",
|
|
2147
2234
|
"THEME_FORMAT_INVALID": "ThemeFormatInvalid",
|
|
2148
2235
|
"THEME_INVALID": "ThemeInvalid",
|
|
2149
2236
|
"THEME_MIME_INVALID": "ThemeMimeInvalid",
|
|
2237
|
+
"THEME_PARAMS_INVALID": "ThemeParamsInvalid",
|
|
2238
|
+
"THEME_SLUG_INVALID": "ThemeSlugInvalid",
|
|
2150
2239
|
"THEME_TITLE_INVALID": "ThemeTitleInvalid",
|
|
2240
|
+
"TIMEZONE_INVALID": "TimezoneInvalid",
|
|
2151
2241
|
"TITLE_INVALID": "TitleInvalid",
|
|
2152
2242
|
"TMP_PASSWORD_DISABLED": "TmpPasswordDisabled",
|
|
2243
|
+
"TMP_PASSWORD_INVALID": "TmpPasswordInvalid",
|
|
2244
|
+
"TODO_ITEMS_EMPTY": "TodoItemsEmpty",
|
|
2245
|
+
"TODO_ITEM_DUPLICATE": "TodoItemDuplicate",
|
|
2246
|
+
"TODO_NOT_MODIFIED": "TodoNotModified",
|
|
2153
2247
|
"TOKEN_EMPTY": "TokenEmpty",
|
|
2154
2248
|
"TOKEN_INVALID": "TokenInvalid",
|
|
2155
2249
|
"TOKEN_TYPE_INVALID": "TokenTypeInvalid",
|
|
@@ -2161,12 +2255,17 @@ exceptions = {
|
|
|
2161
2255
|
"TOPIC_ID_INVALID": "TopicIdInvalid",
|
|
2162
2256
|
"TOPIC_NOT_MODIFIED": "TopicNotModified",
|
|
2163
2257
|
"TOPIC_TITLE_EMPTY": "TopicTitleEmpty",
|
|
2258
|
+
"TO_ID_INVALID": "ToIdInvalid",
|
|
2164
2259
|
"TO_LANG_INVALID": "ToLangInvalid",
|
|
2260
|
+
"TRANSACTION_ID_INVALID": "TransactionIdInvalid",
|
|
2165
2261
|
"TRANSCRIPTION_FAILED": "TranscriptionFailed",
|
|
2262
|
+
"TRANSLATE_REQ_QUOTA_EXCEEDED": "TranslateReqQuotaExceeded",
|
|
2166
2263
|
"TTL_DAYS_INVALID": "TtlDaysInvalid",
|
|
2167
2264
|
"TTL_MEDIA_INVALID": "TtlMediaInvalid",
|
|
2168
2265
|
"TTL_PERIOD_INVALID": "TtlPeriodInvalid",
|
|
2169
2266
|
"TYPES_EMPTY": "TypesEmpty",
|
|
2267
|
+
"TYPE_CONSTRUCTOR_INVALID": "TypeConstructorInvalid",
|
|
2268
|
+
"UNSUPPORTED": "Unsupported",
|
|
2170
2269
|
"UNTIL_DATE_INVALID": "UntilDateInvalid",
|
|
2171
2270
|
"URL_INVALID": "UrlInvalid",
|
|
2172
2271
|
"USAGE_LIMIT_INVALID": "UsageLimitInvalid",
|
|
@@ -2189,7 +2288,7 @@ exceptions = {
|
|
|
2189
2288
|
"USER_BOT_REQUIRED": "UserBotRequired",
|
|
2190
2289
|
"USER_CHANNELS_TOO_MUCH": "UserChannelsTooMuch",
|
|
2191
2290
|
"USER_CREATOR": "UserCreator",
|
|
2192
|
-
"
|
|
2291
|
+
"USER_GIFT_UNAVAILABLE": "UserGiftUnavailable",
|
|
2193
2292
|
"USER_ID_INVALID": "UserIdInvalid",
|
|
2194
2293
|
"USER_INVALID": "UserInvalid",
|
|
2195
2294
|
"USER_IS_BLOCKED": "UserIsBlocked",
|
|
@@ -2197,15 +2296,16 @@ exceptions = {
|
|
|
2197
2296
|
"USER_KICKED": "UserKicked",
|
|
2198
2297
|
"USER_NOT_MUTUAL_CONTACT": "UserNotMutualContact",
|
|
2199
2298
|
"USER_NOT_PARTICIPANT": "UserNotParticipant",
|
|
2200
|
-
"USER_PRIVACY_RESTRICTED": "UserPrivacyRestricted",
|
|
2201
2299
|
"USER_PUBLIC_MISSING": "UserPublicMissing",
|
|
2202
|
-
"USER_RESTRICTED": "UserRestricted",
|
|
2203
2300
|
"USER_VOLUME_INVALID": "UserVolumeInvalid",
|
|
2204
2301
|
"VENUE_ID_INVALID": "VenueIdInvalid",
|
|
2205
2302
|
"VIDEO_CONTENT_TYPE_INVALID": "VideoContentTypeInvalid",
|
|
2206
2303
|
"VIDEO_FILE_INVALID": "VideoFileInvalid",
|
|
2304
|
+
"VIDEO_PAUSE_FORBIDDEN": "VideoPauseForbidden",
|
|
2305
|
+
"VIDEO_STOP_FORBIDDEN": "VideoStopForbidden",
|
|
2207
2306
|
"VIDEO_TITLE_EMPTY": "VideoTitleEmpty",
|
|
2208
2307
|
"VOICE_MESSAGES_FORBIDDEN": "VoiceMessagesForbidden",
|
|
2308
|
+
"VOLUME_LOC_NOT_FOUND": "VolumeLocNotFound",
|
|
2209
2309
|
"WALLPAPER_FILE_INVALID": "WallpaperFileInvalid",
|
|
2210
2310
|
"WALLPAPER_INVALID": "WallpaperInvalid",
|
|
2211
2311
|
"WALLPAPER_MIME_INVALID": "WallpaperMimeInvalid",
|
|
@@ -2214,6 +2314,7 @@ exceptions = {
|
|
|
2214
2314
|
"WEBDOCUMENT_INVALID": "WebdocumentInvalid",
|
|
2215
2315
|
"WEBDOCUMENT_MIME_INVALID": "WebdocumentMimeInvalid",
|
|
2216
2316
|
"WEBDOCUMENT_SIZE_TOO_BIG": "WebdocumentSizeTooBig",
|
|
2317
|
+
"WEBDOCUMENT_URL_EMPTY": "WebdocumentUrlEmpty",
|
|
2217
2318
|
"WEBDOCUMENT_URL_INVALID": "WebdocumentUrlInvalid",
|
|
2218
2319
|
"WEBPAGE_CURL_FAILED": "WebpageCurlFailed",
|
|
2219
2320
|
"WEBPAGE_MEDIA_EMPTY": "WebpageMediaEmpty",
|
|
@@ -2222,27 +2323,8 @@ exceptions = {
|
|
|
2222
2323
|
"WEBPUSH_AUTH_INVALID": "WebpushAuthInvalid",
|
|
2223
2324
|
"WEBPUSH_KEY_INVALID": "WebpushKeyInvalid",
|
|
2224
2325
|
"WEBPUSH_TOKEN_INVALID": "WebpushTokenInvalid",
|
|
2225
|
-
"YOUR_PRIVACY_RESTRICTED": "YourPrivacyRestricted",
|
|
2226
2326
|
"YOU_BLOCKED_USER": "YouBlockedUser",
|
|
2227
2327
|
},
|
|
2228
|
-
401: {
|
|
2229
|
-
"_": "Unauthorized",
|
|
2230
|
-
"ACTIVE_USER_REQUIRED": "ActiveUserRequired",
|
|
2231
|
-
"AUTH_KEY_INVALID": "AuthKeyInvalid",
|
|
2232
|
-
"AUTH_KEY_PERM_EMPTY": "AuthKeyPermEmpty",
|
|
2233
|
-
"AUTH_KEY_UNREGISTERED": "AuthKeyUnregistered",
|
|
2234
|
-
"SESSION_EXPIRED": "SessionExpired",
|
|
2235
|
-
"SESSION_PASSWORD_NEEDED": "SessionPasswordNeeded",
|
|
2236
|
-
"SESSION_REVOKED": "SessionRevoked",
|
|
2237
|
-
"USER_DEACTIVATED": "UserDeactivated",
|
|
2238
|
-
"USER_DEACTIVATED_BAN": "UserDeactivatedBan",
|
|
2239
|
-
},
|
|
2240
|
-
503: {
|
|
2241
|
-
"_": "ServiceUnavailable",
|
|
2242
|
-
"ApiCallError": "ApiCallError",
|
|
2243
|
-
"Timedout": "Timedout",
|
|
2244
|
-
"Timeout": "Timeout",
|
|
2245
|
-
},
|
|
2246
2328
|
303: {
|
|
2247
2329
|
"_": "SeeOther",
|
|
2248
2330
|
"FILE_MIGRATE_X": "FileMigrate",
|