pyrogrammod 2.1.5__py3-none-any.whl → 2.2.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.
- pyrogram/__init__.py +1 -1
- pyrogram/errors/exceptions/__init__.py +3 -3
- pyrogram/errors/exceptions/all.py +249 -215
- pyrogram/errors/exceptions/bad_request_400.py +246 -36
- pyrogram/errors/exceptions/flood_420.py +5 -5
- pyrogram/errors/exceptions/forbidden_403.py +12 -5
- pyrogram/errors/exceptions/internal_server_error_500.py +21 -0
- pyrogram/errors/exceptions/not_acceptable_406.py +3 -3
- pyrogram/errors/exceptions/see_other_303.py +4 -4
- pyrogram/errors/exceptions/unauthorized_401.py +8 -8
- pyrogram/methods/chats/join_chat.py +4 -4
- pyrogram/raw/all.py +165 -78
- pyrogram/raw/base/__init__.py +17 -5
- pyrogram/raw/base/access_point_rule.py +1 -26
- pyrogram/raw/base/account/__init__.py +1 -0
- pyrogram/raw/base/account/authorization_form.py +1 -36
- pyrogram/raw/base/account/authorizations.py +1 -36
- pyrogram/raw/base/account/auto_download_settings.py +1 -36
- pyrogram/raw/base/account/auto_save_settings.py +1 -36
- pyrogram/raw/base/account/business_chat_links.py +1 -36
- pyrogram/raw/base/account/connected_bots.py +1 -36
- pyrogram/raw/base/account/content_settings.py +1 -36
- pyrogram/raw/base/account/email_verified.py +1 -37
- pyrogram/raw/base/account/emoji_statuses.py +1 -39
- pyrogram/raw/base/{user_star_gift.py → account/paid_messages_revenue.py} +1 -26
- pyrogram/raw/base/account/password.py +1 -36
- pyrogram/raw/base/account/password_input_settings.py +1 -26
- pyrogram/raw/base/account/password_settings.py +1 -36
- pyrogram/raw/base/account/privacy_rules.py +1 -37
- pyrogram/raw/base/account/reset_password_result.py +1 -38
- pyrogram/raw/base/account/resolved_business_chat_links.py +1 -36
- pyrogram/raw/base/account/saved_ringtone.py +1 -37
- pyrogram/raw/base/account/saved_ringtones.py +1 -37
- pyrogram/raw/base/account/sent_email_code.py +1 -36
- pyrogram/raw/base/account/takeout.py +1 -36
- pyrogram/raw/base/account/themes.py +1 -38
- pyrogram/raw/base/account/tmp_password.py +1 -36
- pyrogram/raw/base/account/wall_papers.py +1 -37
- pyrogram/raw/base/account/web_authorizations.py +1 -36
- pyrogram/raw/base/account_days_ttl.py +1 -36
- pyrogram/raw/base/attach_menu_bot.py +1 -26
- pyrogram/raw/base/attach_menu_bot_icon.py +1 -26
- pyrogram/raw/base/attach_menu_bot_icon_color.py +1 -26
- pyrogram/raw/base/attach_menu_bots.py +1 -37
- pyrogram/raw/base/attach_menu_bots_bot.py +1 -36
- pyrogram/raw/base/attach_menu_peer_type.py +1 -30
- pyrogram/raw/base/auth/authorization.py +1 -43
- pyrogram/raw/base/auth/code_type.py +1 -30
- pyrogram/raw/base/auth/exported_authorization.py +1 -36
- pyrogram/raw/base/auth/logged_out.py +1 -36
- pyrogram/raw/base/auth/login_token.py +1 -39
- pyrogram/raw/base/auth/password_recovery.py +1 -36
- pyrogram/raw/base/auth/sent_code.py +1 -42
- pyrogram/raw/base/auth/sent_code_type.py +1 -36
- pyrogram/raw/base/authorization.py +1 -36
- pyrogram/raw/base/auto_download_settings.py +1 -26
- pyrogram/raw/base/auto_save_exception.py +1 -26
- pyrogram/raw/base/auto_save_settings.py +1 -26
- pyrogram/raw/base/available_effect.py +1 -26
- pyrogram/raw/base/available_reaction.py +1 -26
- pyrogram/raw/base/bad_msg_notification.py +1 -27
- pyrogram/raw/base/bank_card_open_url.py +1 -26
- pyrogram/raw/base/base_theme.py +1 -30
- pyrogram/raw/base/bind_auth_key_inner.py +1 -26
- pyrogram/raw/base/birthday.py +1 -26
- pyrogram/raw/base/boost.py +1 -26
- pyrogram/raw/base/bot_app.py +1 -27
- pyrogram/raw/base/bot_app_settings.py +1 -26
- pyrogram/raw/base/bot_business_connection.py +1 -26
- pyrogram/raw/base/bot_command.py +1 -36
- pyrogram/raw/base/bot_command_scope.py +1 -32
- pyrogram/raw/base/bot_info.py +1 -26
- pyrogram/raw/base/bot_inline_message.py +1 -32
- pyrogram/raw/base/bot_inline_result.py +1 -27
- pyrogram/raw/base/bot_menu_button.py +1 -38
- pyrogram/raw/base/bot_preview_media.py +1 -38
- pyrogram/raw/base/{file_location.py → bot_verification.py} +1 -26
- pyrogram/raw/base/{app_web_view_result_url.py → bot_verifier_settings.py} +1 -26
- pyrogram/raw/base/bots/bot_info.py +1 -36
- pyrogram/raw/base/bots/popular_app_bots.py +1 -36
- pyrogram/raw/base/bots/preview_info.py +1 -36
- pyrogram/raw/base/broadcast_revenue_balances.py +1 -26
- pyrogram/raw/base/broadcast_revenue_transaction.py +1 -28
- pyrogram/raw/base/business_away_message.py +1 -26
- pyrogram/raw/base/business_away_message_schedule.py +1 -28
- pyrogram/raw/base/business_bot_recipients.py +1 -26
- pyrogram/raw/base/{simple_web_view_result_url.py → business_bot_rights.py} +1 -26
- pyrogram/raw/base/business_chat_link.py +1 -37
- pyrogram/raw/base/business_greeting_message.py +1 -26
- pyrogram/raw/base/business_intro.py +1 -26
- pyrogram/raw/base/business_location.py +1 -26
- pyrogram/raw/base/business_recipients.py +1 -26
- pyrogram/raw/base/business_weekly_open.py +1 -26
- pyrogram/raw/base/business_work_hours.py +1 -26
- pyrogram/raw/base/cdn_config.py +1 -36
- pyrogram/raw/base/cdn_public_key.py +1 -26
- pyrogram/raw/base/channel_admin_log_event.py +1 -26
- pyrogram/raw/base/channel_admin_log_event_action.py +1 -78
- pyrogram/raw/base/channel_admin_log_events_filter.py +1 -26
- pyrogram/raw/base/channel_location.py +1 -27
- pyrogram/raw/base/channel_messages_filter.py +1 -27
- pyrogram/raw/base/channel_participant.py +1 -31
- pyrogram/raw/base/channel_participants_filter.py +1 -33
- pyrogram/raw/base/channels/admin_log_results.py +1 -36
- pyrogram/raw/base/channels/channel_participant.py +1 -36
- pyrogram/raw/base/channels/channel_participants.py +1 -37
- pyrogram/raw/base/channels/send_as_peers.py +1 -36
- pyrogram/raw/base/channels/sponsored_message_report_result.py +1 -38
- pyrogram/raw/base/chat.py +1 -30
- pyrogram/raw/base/chat_admin_rights.py +1 -26
- pyrogram/raw/base/chat_admin_with_invites.py +1 -26
- pyrogram/raw/base/chat_banned_rights.py +1 -26
- pyrogram/raw/base/chat_full.py +1 -27
- pyrogram/raw/base/chat_invite.py +1 -38
- pyrogram/raw/base/chat_invite_importer.py +1 -26
- pyrogram/raw/base/chat_onlines.py +1 -36
- pyrogram/raw/base/chat_participant.py +1 -29
- pyrogram/raw/base/chat_participants.py +1 -27
- pyrogram/raw/base/chat_photo.py +1 -27
- pyrogram/raw/base/chat_reactions.py +1 -28
- pyrogram/raw/base/chatlists/chatlist_invite.py +1 -37
- pyrogram/raw/base/chatlists/chatlist_updates.py +1 -36
- pyrogram/raw/base/chatlists/exported_chatlist_invite.py +1 -36
- pyrogram/raw/base/chatlists/exported_invites.py +1 -36
- pyrogram/raw/base/client_dh_inner_data.py +1 -26
- pyrogram/raw/base/code_settings.py +1 -26
- pyrogram/raw/base/config.py +1 -36
- pyrogram/raw/base/connected_bot.py +1 -26
- pyrogram/raw/base/connected_bot_star_ref.py +28 -0
- pyrogram/raw/base/contact.py +1 -26
- pyrogram/raw/base/contact_birthday.py +1 -26
- pyrogram/raw/base/contact_status.py +1 -36
- pyrogram/raw/base/contacts/__init__.py +1 -0
- pyrogram/raw/base/contacts/blocked.py +1 -37
- pyrogram/raw/base/contacts/contact_birthdays.py +1 -36
- pyrogram/raw/base/contacts/contacts.py +1 -37
- pyrogram/raw/base/contacts/found.py +1 -36
- pyrogram/raw/base/contacts/imported_contacts.py +1 -36
- pyrogram/raw/base/contacts/resolved_peer.py +1 -37
- pyrogram/raw/base/contacts/sponsored_peers.py +28 -0
- pyrogram/raw/base/contacts/top_peers.py +1 -38
- pyrogram/raw/base/data_json.py +1 -38
- pyrogram/raw/base/dc_option.py +1 -26
- pyrogram/raw/base/default_history_ttl.py +1 -36
- pyrogram/raw/base/destroy_auth_key_res.py +1 -38
- pyrogram/raw/base/destroy_session_res.py +1 -37
- pyrogram/raw/base/dialog.py +1 -27
- pyrogram/raw/base/dialog_filter.py +1 -28
- pyrogram/raw/base/dialog_filter_suggested.py +1 -36
- pyrogram/raw/base/dialog_peer.py +1 -37
- pyrogram/raw/base/disallowed_gifts_settings.py +28 -0
- pyrogram/raw/base/document.py +1 -40
- pyrogram/raw/base/document_attribute.py +1 -33
- pyrogram/raw/base/draft_message.py +1 -27
- pyrogram/raw/base/email_verification.py +1 -28
- pyrogram/raw/base/email_verify_purpose.py +1 -28
- pyrogram/raw/base/emoji_group.py +1 -28
- pyrogram/raw/base/emoji_keyword.py +1 -27
- pyrogram/raw/base/emoji_keywords_difference.py +1 -37
- pyrogram/raw/base/emoji_language.py +1 -36
- pyrogram/raw/base/emoji_list.py +1 -41
- pyrogram/raw/base/emoji_status.py +1 -28
- pyrogram/raw/base/emoji_url.py +1 -36
- pyrogram/raw/base/encrypted_chat.py +1 -41
- pyrogram/raw/base/encrypted_file.py +1 -37
- pyrogram/raw/base/encrypted_message.py +1 -27
- pyrogram/raw/base/exported_chat_invite.py +1 -37
- pyrogram/raw/base/exported_chatlist_invite.py +1 -36
- pyrogram/raw/base/exported_contact_token.py +1 -36
- pyrogram/raw/base/exported_message_link.py +1 -36
- pyrogram/raw/base/exported_story_link.py +1 -36
- pyrogram/raw/base/fact_check.py +1 -36
- pyrogram/raw/base/file_hash.py +1 -38
- pyrogram/raw/base/folder.py +1 -26
- pyrogram/raw/base/folder_peer.py +1 -26
- pyrogram/raw/base/forum_topic.py +1 -27
- pyrogram/raw/base/found_story.py +1 -26
- pyrogram/raw/base/fragment/collectible_info.py +1 -36
- pyrogram/raw/base/game.py +1 -26
- pyrogram/raw/base/geo_point.py +1 -27
- pyrogram/raw/base/geo_point_address.py +1 -26
- pyrogram/raw/base/global_privacy_settings.py +1 -37
- pyrogram/raw/base/group_call.py +1 -27
- pyrogram/raw/base/group_call_participant.py +1 -26
- pyrogram/raw/base/group_call_participant_video.py +1 -26
- pyrogram/raw/base/group_call_participant_video_source_group.py +1 -26
- pyrogram/raw/base/group_call_stream_channel.py +1 -26
- pyrogram/raw/base/help/app_config.py +1 -37
- pyrogram/raw/base/help/app_update.py +1 -37
- pyrogram/raw/base/help/config_simple.py +1 -26
- pyrogram/raw/base/help/countries_list.py +1 -37
- pyrogram/raw/base/help/country.py +1 -26
- pyrogram/raw/base/help/country_code.py +1 -26
- pyrogram/raw/base/help/deep_link_info.py +1 -37
- pyrogram/raw/base/help/invite_text.py +1 -36
- pyrogram/raw/base/help/passport_config.py +1 -37
- pyrogram/raw/base/help/peer_color_option.py +1 -26
- pyrogram/raw/base/help/peer_color_set.py +1 -27
- pyrogram/raw/base/help/peer_colors.py +1 -38
- pyrogram/raw/base/help/premium_promo.py +1 -36
- pyrogram/raw/base/help/promo_data.py +1 -37
- pyrogram/raw/base/help/recent_me_urls.py +1 -36
- pyrogram/raw/base/help/support.py +1 -36
- pyrogram/raw/base/help/support_name.py +1 -36
- pyrogram/raw/base/help/terms_of_service.py +1 -26
- pyrogram/raw/base/help/terms_of_service_update.py +1 -37
- pyrogram/raw/base/help/timezones_list.py +1 -37
- pyrogram/raw/base/help/user_info.py +1 -38
- pyrogram/raw/base/high_score.py +1 -26
- pyrogram/raw/base/http_wait.py +1 -26
- pyrogram/raw/base/imported_contact.py +1 -26
- pyrogram/raw/base/inline_bot_switch_pm.py +1 -26
- pyrogram/raw/base/inline_bot_web_view.py +1 -26
- pyrogram/raw/base/inline_query_peer_type.py +1 -31
- pyrogram/raw/base/input_app_event.py +1 -26
- pyrogram/raw/base/input_bot_app.py +1 -27
- pyrogram/raw/base/input_bot_inline_message.py +1 -33
- pyrogram/raw/base/input_bot_inline_message_id.py +1 -27
- pyrogram/raw/base/input_bot_inline_result.py +1 -29
- pyrogram/raw/base/input_business_away_message.py +1 -26
- pyrogram/raw/base/input_business_bot_recipients.py +1 -26
- pyrogram/raw/base/input_business_chat_link.py +1 -26
- pyrogram/raw/base/input_business_greeting_message.py +1 -26
- pyrogram/raw/base/input_business_intro.py +1 -26
- pyrogram/raw/base/input_business_recipients.py +1 -26
- pyrogram/raw/base/input_channel.py +1 -28
- pyrogram/raw/base/input_chat_photo.py +1 -28
- pyrogram/raw/base/input_chatlist.py +1 -26
- pyrogram/raw/base/input_check_password_srp.py +1 -27
- pyrogram/raw/base/input_client_proxy.py +1 -26
- pyrogram/raw/base/input_collectible.py +1 -27
- pyrogram/raw/base/input_contact.py +1 -26
- pyrogram/raw/base/input_dialog_peer.py +1 -27
- pyrogram/raw/base/input_document.py +1 -27
- pyrogram/raw/base/input_encrypted_chat.py +1 -26
- pyrogram/raw/base/input_encrypted_file.py +1 -29
- pyrogram/raw/base/input_file.py +1 -28
- pyrogram/raw/base/input_file_location.py +1 -35
- pyrogram/raw/base/input_folder_peer.py +1 -26
- pyrogram/raw/base/input_game.py +1 -27
- pyrogram/raw/base/input_geo_point.py +1 -27
- pyrogram/raw/base/input_group_call.py +1 -26
- pyrogram/raw/base/input_invoice.py +1 -31
- pyrogram/raw/base/input_media.py +1 -43
- pyrogram/raw/base/input_message.py +1 -29
- pyrogram/raw/base/input_notify_peer.py +1 -30
- pyrogram/raw/base/input_payment_credentials.py +1 -29
- pyrogram/raw/base/input_peer.py +1 -32
- pyrogram/raw/base/input_peer_notify_settings.py +1 -26
- pyrogram/raw/base/input_phone_call.py +1 -26
- pyrogram/raw/base/input_photo.py +1 -27
- pyrogram/raw/base/input_privacy_key.py +1 -37
- pyrogram/raw/base/input_privacy_rule.py +1 -37
- pyrogram/raw/base/input_quick_reply_shortcut.py +1 -27
- pyrogram/raw/base/input_reply_to.py +1 -27
- pyrogram/raw/base/input_saved_star_gift.py +28 -0
- pyrogram/raw/base/input_secure_file.py +1 -27
- pyrogram/raw/base/input_secure_value.py +1 -26
- pyrogram/raw/base/input_single_media.py +1 -26
- pyrogram/raw/base/input_stars_transaction.py +1 -26
- pyrogram/raw/base/input_sticker_set.py +1 -36
- pyrogram/raw/base/input_sticker_set_item.py +1 -26
- pyrogram/raw/base/input_stickered_media.py +1 -27
- pyrogram/raw/base/input_store_payment_purpose.py +1 -32
- pyrogram/raw/base/input_theme.py +1 -27
- pyrogram/raw/base/input_theme_settings.py +1 -26
- pyrogram/raw/base/input_user.py +1 -29
- pyrogram/raw/base/input_wall_paper.py +1 -28
- pyrogram/raw/base/input_web_document.py +1 -26
- pyrogram/raw/base/input_web_file_location.py +1 -28
- pyrogram/raw/base/invoice.py +1 -26
- pyrogram/raw/base/ip_port.py +1 -27
- pyrogram/raw/base/json_object_value.py +1 -26
- pyrogram/raw/base/json_value.py +1 -31
- pyrogram/raw/base/keyboard_button.py +1 -43
- pyrogram/raw/base/keyboard_button_row.py +1 -26
- pyrogram/raw/base/labeled_price.py +1 -26
- pyrogram/raw/base/lang_pack_difference.py +1 -37
- pyrogram/raw/base/lang_pack_language.py +1 -37
- pyrogram/raw/base/lang_pack_string.py +1 -38
- pyrogram/raw/base/mask_coords.py +1 -26
- pyrogram/raw/base/media_area.py +1 -33
- pyrogram/raw/base/media_area_coordinates.py +1 -26
- pyrogram/raw/base/message.py +1 -28
- pyrogram/raw/base/message_action.py +1 -80
- pyrogram/raw/base/message_entity.py +1 -46
- pyrogram/raw/base/message_extended_media.py +1 -27
- pyrogram/raw/base/message_fwd_header.py +1 -26
- pyrogram/raw/base/message_media.py +1 -54
- pyrogram/raw/base/message_peer_reaction.py +1 -26
- pyrogram/raw/base/message_peer_vote.py +1 -28
- pyrogram/raw/base/message_range.py +1 -36
- pyrogram/raw/base/message_reactions.py +1 -26
- pyrogram/raw/base/message_reactor.py +1 -26
- pyrogram/raw/base/message_replies.py +1 -26
- pyrogram/raw/base/message_reply_header.py +1 -27
- pyrogram/raw/base/message_report_option.py +1 -26
- pyrogram/raw/base/message_views.py +1 -26
- pyrogram/raw/base/messages/__init__.py +4 -2
- pyrogram/raw/base/messages/affected_found_messages.py +1 -36
- pyrogram/raw/base/messages/affected_history.py +1 -42
- pyrogram/raw/base/messages/affected_messages.py +1 -39
- pyrogram/raw/base/messages/all_stickers.py +1 -39
- pyrogram/raw/base/messages/archived_stickers.py +1 -36
- pyrogram/raw/base/messages/available_effects.py +1 -37
- pyrogram/raw/base/messages/available_reactions.py +1 -37
- pyrogram/raw/base/messages/bot_app.py +1 -36
- pyrogram/raw/base/messages/bot_callback_answer.py +1 -36
- pyrogram/raw/base/messages/bot_prepared_inline_message.py +1 -36
- pyrogram/raw/base/messages/bot_results.py +1 -36
- pyrogram/raw/base/messages/chat_admins_with_invites.py +1 -36
- pyrogram/raw/base/messages/chat_full.py +1 -37
- pyrogram/raw/base/messages/chat_invite_importers.py +1 -36
- pyrogram/raw/base/messages/chats.py +1 -45
- pyrogram/raw/base/messages/checked_history_import_peer.py +1 -36
- pyrogram/raw/base/messages/dh_config.py +1 -37
- pyrogram/raw/base/messages/dialog_filters.py +1 -36
- pyrogram/raw/base/messages/dialogs.py +1 -38
- pyrogram/raw/base/messages/discussion_message.py +1 -36
- pyrogram/raw/base/messages/emoji_groups.py +1 -40
- pyrogram/raw/base/messages/exported_chat_invite.py +1 -38
- pyrogram/raw/base/messages/exported_chat_invites.py +1 -36
- pyrogram/raw/base/messages/faved_stickers.py +1 -37
- pyrogram/raw/base/messages/featured_stickers.py +1 -39
- pyrogram/raw/base/messages/forum_topics.py +1 -37
- pyrogram/raw/base/messages/found_sticker_sets.py +1 -38
- pyrogram/raw/base/messages/found_stickers.py +28 -0
- pyrogram/raw/base/messages/high_scores.py +1 -37
- pyrogram/raw/base/messages/history_import.py +1 -36
- pyrogram/raw/base/messages/history_import_parsed.py +1 -36
- pyrogram/raw/base/messages/inactive_chats.py +1 -36
- pyrogram/raw/base/messages/invited_users.py +1 -38
- pyrogram/raw/base/messages/message_edit_data.py +1 -36
- pyrogram/raw/base/messages/message_empty.py +1 -26
- pyrogram/raw/base/messages/message_reactions_list.py +1 -36
- pyrogram/raw/base/messages/message_views.py +1 -36
- pyrogram/raw/base/messages/messages.py +1 -53
- pyrogram/raw/base/messages/my_stickers.py +1 -36
- pyrogram/raw/base/messages/peer_dialogs.py +1 -37
- pyrogram/raw/base/messages/peer_settings.py +1 -36
- pyrogram/raw/base/messages/prepared_inline_message.py +1 -36
- pyrogram/raw/base/messages/quick_replies.py +1 -37
- pyrogram/raw/base/messages/reactions.py +1 -39
- pyrogram/raw/base/messages/recent_stickers.py +1 -37
- pyrogram/raw/base/messages/saved_dialogs.py +1 -39
- pyrogram/raw/base/messages/saved_gifs.py +1 -37
- pyrogram/raw/base/messages/saved_reaction_tags.py +1 -37
- pyrogram/raw/base/messages/search_counter.py +1 -36
- pyrogram/raw/base/messages/search_results_calendar.py +1 -36
- pyrogram/raw/base/messages/search_results_positions.py +1 -36
- pyrogram/raw/base/messages/sent_encrypted_message.py +1 -40
- pyrogram/raw/base/messages/sponsored_messages.py +1 -37
- pyrogram/raw/base/messages/sticker_set.py +1 -45
- pyrogram/raw/base/messages/sticker_set_install_result.py +1 -37
- pyrogram/raw/base/messages/stickers.py +1 -37
- pyrogram/raw/base/messages/transcribed_audio.py +1 -36
- pyrogram/raw/base/messages/translated_text.py +1 -36
- pyrogram/raw/base/messages/votes_list.py +1 -36
- pyrogram/raw/base/messages/web_page.py +1 -36
- pyrogram/raw/base/messages/web_page_preview.py +28 -0
- pyrogram/raw/base/messages/web_view_result.py +1 -36
- pyrogram/raw/base/messages_filter.py +1 -43
- pyrogram/raw/base/missing_invitee.py +1 -26
- pyrogram/raw/base/msg_detailed_info.py +1 -27
- pyrogram/raw/base/msg_resend_req.py +1 -27
- pyrogram/raw/base/msgs_ack.py +1 -26
- pyrogram/raw/base/msgs_all_info.py +1 -26
- pyrogram/raw/base/msgs_state_info.py +1 -26
- pyrogram/raw/base/msgs_state_req.py +1 -26
- pyrogram/raw/base/my_boost.py +1 -26
- pyrogram/raw/base/nearest_dc.py +1 -36
- pyrogram/raw/base/new_session.py +1 -26
- pyrogram/raw/base/notification_sound.py +1 -29
- pyrogram/raw/base/notify_peer.py +1 -30
- pyrogram/raw/base/outbox_read_date.py +1 -36
- pyrogram/raw/base/page.py +1 -26
- pyrogram/raw/base/page_block.py +1 -54
- pyrogram/raw/base/page_caption.py +1 -26
- pyrogram/raw/base/page_list_item.py +1 -27
- pyrogram/raw/base/page_list_ordered_item.py +1 -27
- pyrogram/raw/base/page_related_article.py +1 -26
- pyrogram/raw/base/page_table_cell.py +1 -26
- pyrogram/raw/base/page_table_row.py +1 -26
- pyrogram/raw/base/paid_reaction_privacy.py +28 -0
- pyrogram/raw/base/password_kdf_algo.py +1 -27
- pyrogram/raw/base/payment_charge.py +1 -26
- pyrogram/raw/base/payment_form_method.py +1 -26
- pyrogram/raw/base/payment_requested_info.py +1 -26
- pyrogram/raw/base/payment_saved_credentials.py +1 -26
- pyrogram/raw/base/payments/__init__.py +7 -1
- pyrogram/raw/base/payments/bank_card_data.py +1 -36
- pyrogram/raw/base/payments/checked_gift_code.py +1 -36
- pyrogram/raw/base/payments/connected_star_ref_bots.py +28 -0
- pyrogram/raw/base/payments/exported_invoice.py +1 -36
- pyrogram/raw/base/payments/giveaway_info.py +1 -37
- pyrogram/raw/base/payments/payment_form.py +1 -38
- pyrogram/raw/base/payments/payment_receipt.py +1 -37
- pyrogram/raw/base/payments/payment_result.py +1 -38
- pyrogram/raw/base/payments/resale_star_gifts.py +28 -0
- pyrogram/raw/base/payments/saved_info.py +1 -36
- pyrogram/raw/base/payments/saved_star_gifts.py +28 -0
- pyrogram/raw/base/payments/star_gift_upgrade_preview.py +28 -0
- pyrogram/raw/base/payments/star_gift_withdrawal_url.py +28 -0
- pyrogram/raw/base/payments/star_gifts.py +1 -37
- pyrogram/raw/base/payments/stars_revenue_ads_account_url.py +1 -36
- pyrogram/raw/base/payments/stars_revenue_stats.py +1 -36
- pyrogram/raw/base/payments/stars_revenue_withdrawal_url.py +1 -36
- pyrogram/raw/base/payments/stars_status.py +1 -39
- pyrogram/raw/base/payments/suggested_star_ref_bots.py +28 -0
- pyrogram/raw/base/payments/unique_star_gift.py +28 -0
- pyrogram/raw/base/payments/validated_requested_info.py +1 -36
- pyrogram/raw/base/peer.py +1 -38
- pyrogram/raw/base/peer_blocked.py +1 -26
- pyrogram/raw/base/peer_color.py +1 -26
- pyrogram/raw/base/peer_located.py +1 -27
- pyrogram/raw/base/peer_notify_settings.py +1 -36
- pyrogram/raw/base/peer_settings.py +1 -26
- pyrogram/raw/base/peer_stories.py +1 -26
- pyrogram/raw/base/pending_suggestion.py +28 -0
- pyrogram/raw/base/phone/exported_group_call_invite.py +1 -36
- pyrogram/raw/base/phone/group_call.py +1 -36
- pyrogram/raw/base/phone/group_call_stream_channels.py +1 -36
- pyrogram/raw/base/phone/group_call_stream_rtmp_url.py +1 -36
- pyrogram/raw/base/phone/group_participants.py +1 -36
- pyrogram/raw/base/phone/join_as_peers.py +1 -36
- pyrogram/raw/base/phone/phone_call.py +1 -38
- pyrogram/raw/base/phone_call.py +1 -31
- pyrogram/raw/base/phone_call_discard_reason.py +1 -29
- pyrogram/raw/base/phone_call_protocol.py +1 -26
- pyrogram/raw/base/phone_connection.py +1 -27
- pyrogram/raw/base/photo.py +1 -27
- pyrogram/raw/base/photo_size.py +1 -31
- pyrogram/raw/base/photos/photo.py +1 -38
- pyrogram/raw/base/photos/photos.py +1 -37
- pyrogram/raw/base/poll.py +1 -26
- pyrogram/raw/base/poll_answer.py +1 -26
- pyrogram/raw/base/poll_answer_voters.py +1 -26
- pyrogram/raw/base/poll_results.py +1 -26
- pyrogram/raw/base/pong.py +1 -37
- pyrogram/raw/base/popular_contact.py +1 -26
- pyrogram/raw/base/post_address.py +1 -26
- pyrogram/raw/base/post_interaction_counters.py +1 -27
- pyrogram/raw/base/pq_inner_data.py +1 -29
- pyrogram/raw/base/premium/boosts_list.py +1 -37
- pyrogram/raw/base/premium/boosts_status.py +1 -36
- pyrogram/raw/base/premium/my_boosts.py +1 -37
- pyrogram/raw/base/premium_gift_code_option.py +1 -36
- pyrogram/raw/base/premium_gift_option.py +1 -26
- pyrogram/raw/base/premium_subscription_option.py +1 -26
- pyrogram/raw/base/prepaid_giveaway.py +1 -27
- pyrogram/raw/base/privacy_key.py +1 -37
- pyrogram/raw/base/privacy_rule.py +1 -37
- pyrogram/raw/base/public_forward.py +1 -27
- pyrogram/raw/base/quick_reply.py +1 -26
- pyrogram/raw/base/reaction.py +1 -29
- pyrogram/raw/base/reaction_count.py +1 -26
- pyrogram/raw/base/reaction_notifications_from.py +1 -27
- pyrogram/raw/base/reactions_notify_settings.py +1 -37
- pyrogram/raw/base/read_participant_date.py +1 -36
- pyrogram/raw/base/received_notify_message.py +1 -36
- pyrogram/raw/base/recent_me_url.py +1 -30
- pyrogram/raw/base/reply_markup.py +1 -29
- pyrogram/raw/base/report_reason.py +1 -35
- pyrogram/raw/base/report_result.py +1 -39
- pyrogram/raw/base/request_peer_type.py +1 -28
- pyrogram/raw/base/requested_peer.py +1 -28
- pyrogram/raw/base/requirement_to_contact.py +28 -0
- pyrogram/raw/base/res_pq.py +1 -37
- pyrogram/raw/base/restriction_reason.py +1 -26
- pyrogram/raw/base/rich_text.py +1 -41
- pyrogram/raw/base/rpc_drop_answer.py +1 -38
- pyrogram/raw/base/rpc_error.py +1 -26
- pyrogram/raw/base/rpc_result.py +1 -26
- pyrogram/raw/base/saved_contact.py +1 -36
- pyrogram/raw/base/saved_dialog.py +1 -26
- pyrogram/raw/base/saved_reaction_tag.py +1 -26
- pyrogram/raw/base/saved_star_gift.py +28 -0
- pyrogram/raw/base/search_results_calendar_period.py +1 -26
- pyrogram/raw/base/search_results_position.py +1 -26
- pyrogram/raw/base/secure_credentials_encrypted.py +1 -26
- pyrogram/raw/base/secure_data.py +1 -26
- pyrogram/raw/base/secure_file.py +1 -27
- pyrogram/raw/base/secure_password_kdf_algo.py +1 -28
- pyrogram/raw/base/secure_plain_data.py +1 -27
- pyrogram/raw/base/secure_required_type.py +1 -27
- pyrogram/raw/base/secure_secret_settings.py +1 -26
- pyrogram/raw/base/secure_value.py +1 -38
- pyrogram/raw/base/secure_value_error.py +1 -34
- pyrogram/raw/base/secure_value_hash.py +1 -26
- pyrogram/raw/base/secure_value_type.py +1 -38
- pyrogram/raw/base/send_as_peer.py +1 -26
- pyrogram/raw/base/send_message_action.py +1 -43
- pyrogram/raw/base/server_dh_inner_data.py +1 -26
- pyrogram/raw/base/server_dh_params.py +1 -37
- pyrogram/raw/base/set_client_dh_params_answer.py +1 -38
- pyrogram/raw/base/shipping_option.py +1 -26
- pyrogram/raw/base/sms_job.py +1 -36
- pyrogram/raw/base/smsjobs/eligibility_to_join.py +1 -36
- pyrogram/raw/base/smsjobs/status.py +1 -36
- pyrogram/raw/base/sponsored_message.py +1 -26
- pyrogram/raw/base/sponsored_message_report_option.py +1 -26
- pyrogram/raw/base/sponsored_peer.py +28 -0
- pyrogram/raw/base/star_gift.py +1 -26
- pyrogram/raw/base/star_gift_attribute.py +28 -0
- pyrogram/raw/base/star_gift_attribute_counter.py +28 -0
- pyrogram/raw/base/star_gift_attribute_id.py +28 -0
- pyrogram/raw/base/star_ref_program.py +28 -0
- pyrogram/raw/base/stars_amount.py +28 -0
- pyrogram/raw/base/stars_gift_option.py +1 -36
- pyrogram/raw/base/stars_giveaway_option.py +1 -36
- pyrogram/raw/base/stars_giveaway_winners_option.py +1 -26
- pyrogram/raw/base/stars_revenue_status.py +1 -26
- pyrogram/raw/base/stars_subscription.py +1 -26
- pyrogram/raw/base/stars_subscription_pricing.py +1 -26
- pyrogram/raw/base/stars_topup_option.py +1 -36
- pyrogram/raw/base/stars_transaction.py +1 -26
- pyrogram/raw/base/stars_transaction_peer.py +1 -33
- pyrogram/raw/base/stats/broadcast_revenue_stats.py +1 -36
- pyrogram/raw/base/stats/broadcast_revenue_transactions.py +1 -36
- pyrogram/raw/base/stats/broadcast_revenue_withdrawal_url.py +1 -36
- pyrogram/raw/base/stats/broadcast_stats.py +1 -36
- pyrogram/raw/base/stats/megagroup_stats.py +1 -36
- pyrogram/raw/base/stats/message_stats.py +1 -36
- pyrogram/raw/base/stats/public_forwards.py +1 -37
- pyrogram/raw/base/stats/story_stats.py +1 -36
- pyrogram/raw/base/stats_abs_value_and_prev.py +1 -26
- pyrogram/raw/base/stats_date_range_days.py +1 -26
- pyrogram/raw/base/stats_graph.py +1 -38
- pyrogram/raw/base/stats_group_top_admin.py +1 -26
- pyrogram/raw/base/stats_group_top_inviter.py +1 -26
- pyrogram/raw/base/stats_group_top_poster.py +1 -26
- pyrogram/raw/base/stats_percent_value.py +1 -26
- pyrogram/raw/base/stats_url.py +1 -36
- pyrogram/raw/base/sticker_keyword.py +1 -26
- pyrogram/raw/base/sticker_pack.py +1 -26
- pyrogram/raw/base/sticker_set.py +1 -26
- pyrogram/raw/base/sticker_set_covered.py +1 -39
- pyrogram/raw/base/stickers/suggested_short_name.py +1 -36
- pyrogram/raw/base/storage/file_type.py +1 -35
- pyrogram/raw/base/stories/__init__.py +1 -0
- pyrogram/raw/base/stories/all_stories.py +1 -37
- pyrogram/raw/base/stories/can_send_story_count.py +28 -0
- pyrogram/raw/base/stories/found_stories.py +1 -36
- pyrogram/raw/base/stories/peer_stories.py +1 -36
- pyrogram/raw/base/stories/stories.py +1 -38
- pyrogram/raw/base/stories/story_reactions_list.py +1 -36
- pyrogram/raw/base/stories/story_views.py +1 -36
- pyrogram/raw/base/stories/story_views_list.py +1 -36
- pyrogram/raw/base/stories_stealth_mode.py +1 -26
- pyrogram/raw/base/story_fwd_header.py +1 -26
- pyrogram/raw/base/story_item.py +1 -28
- pyrogram/raw/base/story_reaction.py +1 -28
- pyrogram/raw/base/story_view.py +1 -28
- pyrogram/raw/base/story_views.py +1 -26
- pyrogram/raw/base/text_with_entities.py +1 -26
- pyrogram/raw/base/theme.py +1 -38
- pyrogram/raw/base/theme_settings.py +1 -26
- pyrogram/raw/base/timezone.py +1 -26
- pyrogram/raw/base/top_peer.py +1 -26
- pyrogram/raw/base/top_peer_category.py +1 -34
- pyrogram/raw/base/top_peer_category_peers.py +1 -26
- pyrogram/raw/base/update.py +1 -169
- pyrogram/raw/base/updates/channel_difference.py +1 -38
- pyrogram/raw/base/updates/difference.py +1 -39
- pyrogram/raw/base/updates/state.py +1 -36
- pyrogram/raw/base/updates_t.py +1 -150
- pyrogram/raw/base/upload/cdn_file.py +1 -37
- pyrogram/raw/base/upload/file.py +1 -37
- pyrogram/raw/base/upload/web_file.py +1 -36
- pyrogram/raw/base/url_auth_result.py +1 -39
- pyrogram/raw/base/user.py +1 -42
- pyrogram/raw/base/user_full.py +1 -26
- pyrogram/raw/base/user_profile_photo.py +1 -27
- pyrogram/raw/base/user_status.py +1 -32
- pyrogram/raw/base/username.py +1 -26
- pyrogram/raw/base/users/__init__.py +1 -0
- pyrogram/raw/base/users/user_full.py +1 -36
- pyrogram/raw/base/users/users.py +28 -0
- pyrogram/raw/base/video_size.py +1 -28
- pyrogram/raw/base/wall_paper.py +1 -39
- pyrogram/raw/base/wall_paper_settings.py +1 -26
- pyrogram/raw/base/web_authorization.py +1 -26
- pyrogram/raw/base/web_document.py +1 -27
- pyrogram/raw/base/web_page.py +1 -30
- pyrogram/raw/base/web_page_attribute.py +1 -28
- pyrogram/raw/base/web_view_message_sent.py +1 -36
- pyrogram/raw/base/web_view_result.py +1 -39
- pyrogram/raw/functions/__init__.py +1 -0
- pyrogram/raw/functions/account/__init__.py +3 -0
- pyrogram/raw/functions/account/accept_authorization.py +1 -1
- pyrogram/raw/functions/{payments/get_user_star_gifts.py → account/add_no_paid_messages_exception.py} +18 -26
- pyrogram/raw/functions/account/cancel_password_email.py +1 -1
- pyrogram/raw/functions/account/change_authorization_settings.py +1 -1
- pyrogram/raw/functions/account/change_phone.py +1 -1
- pyrogram/raw/functions/account/check_username.py +1 -1
- pyrogram/raw/functions/account/clear_recent_emoji_statuses.py +1 -1
- pyrogram/raw/functions/account/confirm_password_email.py +1 -1
- pyrogram/raw/functions/account/confirm_phone.py +1 -1
- pyrogram/raw/functions/account/create_business_chat_link.py +1 -1
- pyrogram/raw/functions/account/create_theme.py +1 -1
- pyrogram/raw/functions/account/decline_password_reset.py +1 -1
- pyrogram/raw/functions/account/delete_account.py +1 -1
- pyrogram/raw/functions/account/delete_auto_save_exceptions.py +1 -1
- pyrogram/raw/functions/account/delete_business_chat_link.py +1 -1
- pyrogram/raw/functions/account/delete_secure_value.py +1 -1
- pyrogram/raw/functions/account/disable_peer_connected_bot.py +1 -1
- pyrogram/raw/functions/account/edit_business_chat_link.py +1 -1
- pyrogram/raw/functions/account/finish_takeout_session.py +1 -1
- pyrogram/raw/functions/account/get_account_ttl.py +1 -1
- pyrogram/raw/functions/account/get_all_secure_values.py +1 -1
- pyrogram/raw/functions/account/get_authorization_form.py +1 -1
- pyrogram/raw/functions/account/get_authorizations.py +1 -1
- pyrogram/raw/functions/account/get_auto_download_settings.py +1 -1
- pyrogram/raw/functions/account/get_auto_save_settings.py +1 -1
- pyrogram/raw/functions/account/get_bot_business_connection.py +1 -1
- pyrogram/raw/functions/account/get_business_chat_links.py +1 -1
- pyrogram/raw/functions/account/get_channel_default_emoji_statuses.py +1 -1
- pyrogram/raw/functions/account/get_channel_restricted_status_emojis.py +1 -1
- pyrogram/raw/functions/account/get_chat_themes.py +1 -1
- pyrogram/raw/functions/account/get_collectible_emoji_statuses.py +72 -0
- pyrogram/raw/functions/account/get_connected_bots.py +1 -1
- pyrogram/raw/functions/account/get_contact_sign_up_notification.py +1 -1
- pyrogram/raw/functions/account/get_content_settings.py +1 -1
- pyrogram/raw/functions/account/get_default_background_emojis.py +1 -1
- pyrogram/raw/functions/account/get_default_emoji_statuses.py +1 -1
- pyrogram/raw/functions/account/get_default_group_photo_emojis.py +1 -1
- pyrogram/raw/functions/account/get_default_profile_photo_emojis.py +1 -1
- pyrogram/raw/functions/account/get_global_privacy_settings.py +1 -1
- pyrogram/raw/functions/account/get_multi_wall_papers.py +1 -1
- pyrogram/raw/functions/account/get_notify_exceptions.py +1 -1
- pyrogram/raw/functions/account/get_notify_settings.py +1 -1
- pyrogram/raw/functions/account/get_paid_messages_revenue.py +72 -0
- pyrogram/raw/functions/account/get_password.py +1 -1
- pyrogram/raw/functions/account/get_password_settings.py +1 -1
- pyrogram/raw/functions/account/get_privacy.py +1 -1
- pyrogram/raw/functions/account/get_reactions_notify_settings.py +1 -1
- pyrogram/raw/functions/account/get_recent_emoji_statuses.py +1 -1
- pyrogram/raw/functions/account/get_saved_ringtones.py +1 -1
- pyrogram/raw/functions/account/get_secure_value.py +1 -1
- pyrogram/raw/functions/account/get_theme.py +1 -1
- pyrogram/raw/functions/account/get_themes.py +1 -1
- pyrogram/raw/functions/account/get_tmp_password.py +1 -1
- pyrogram/raw/functions/account/get_wall_paper.py +1 -1
- pyrogram/raw/functions/account/get_wall_papers.py +1 -1
- pyrogram/raw/functions/account/get_web_authorizations.py +1 -1
- pyrogram/raw/functions/account/init_takeout_session.py +1 -1
- pyrogram/raw/functions/account/install_theme.py +1 -1
- pyrogram/raw/functions/account/install_wall_paper.py +1 -1
- pyrogram/raw/functions/account/invalidate_sign_in_codes.py +1 -1
- pyrogram/raw/functions/account/register_device.py +1 -1
- pyrogram/raw/functions/account/reorder_usernames.py +1 -1
- pyrogram/raw/functions/account/report_peer.py +1 -1
- pyrogram/raw/functions/account/report_profile_photo.py +1 -1
- pyrogram/raw/functions/account/resend_password_email.py +1 -1
- pyrogram/raw/functions/account/reset_authorization.py +1 -1
- pyrogram/raw/functions/account/reset_notify_settings.py +1 -1
- pyrogram/raw/functions/account/reset_password.py +1 -1
- pyrogram/raw/functions/account/reset_wall_papers.py +1 -1
- pyrogram/raw/functions/account/reset_web_authorization.py +1 -1
- pyrogram/raw/functions/account/reset_web_authorizations.py +1 -1
- pyrogram/raw/functions/account/resolve_business_chat_link.py +1 -1
- pyrogram/raw/functions/account/save_auto_download_settings.py +1 -1
- pyrogram/raw/functions/account/save_auto_save_settings.py +1 -1
- pyrogram/raw/functions/account/save_ringtone.py +1 -1
- pyrogram/raw/functions/account/save_secure_value.py +1 -1
- pyrogram/raw/functions/account/save_theme.py +1 -1
- pyrogram/raw/functions/account/save_wall_paper.py +1 -1
- pyrogram/raw/functions/account/send_change_phone_code.py +1 -1
- pyrogram/raw/functions/account/send_confirm_phone_code.py +1 -1
- pyrogram/raw/functions/account/send_verify_email_code.py +1 -1
- pyrogram/raw/functions/account/send_verify_phone_code.py +1 -1
- pyrogram/raw/functions/account/set_account_ttl.py +1 -1
- pyrogram/raw/functions/account/set_authorization_ttl.py +1 -1
- pyrogram/raw/functions/account/set_contact_sign_up_notification.py +1 -1
- pyrogram/raw/functions/account/set_content_settings.py +1 -1
- pyrogram/raw/functions/account/set_global_privacy_settings.py +1 -1
- pyrogram/raw/functions/account/set_privacy.py +1 -1
- pyrogram/raw/functions/account/set_reactions_notify_settings.py +1 -1
- pyrogram/raw/functions/account/toggle_connected_bot_paused.py +1 -1
- pyrogram/raw/functions/account/toggle_sponsored_messages.py +1 -1
- pyrogram/raw/functions/account/toggle_username.py +1 -1
- pyrogram/raw/functions/account/unregister_device.py +1 -1
- pyrogram/raw/functions/account/update_birthday.py +1 -1
- pyrogram/raw/functions/account/update_business_away_message.py +1 -1
- pyrogram/raw/functions/account/update_business_greeting_message.py +1 -1
- pyrogram/raw/functions/account/update_business_intro.py +1 -1
- pyrogram/raw/functions/account/update_business_location.py +1 -1
- pyrogram/raw/functions/account/update_business_work_hours.py +1 -1
- pyrogram/raw/functions/account/update_color.py +1 -1
- pyrogram/raw/functions/account/update_connected_bot.py +15 -11
- pyrogram/raw/functions/account/update_device_locked.py +1 -1
- pyrogram/raw/functions/account/update_emoji_status.py +1 -1
- pyrogram/raw/functions/account/update_notify_settings.py +1 -1
- pyrogram/raw/functions/account/update_password_settings.py +1 -1
- pyrogram/raw/functions/account/update_personal_channel.py +1 -1
- pyrogram/raw/functions/account/update_profile.py +1 -1
- pyrogram/raw/functions/account/update_status.py +1 -1
- pyrogram/raw/functions/account/update_theme.py +1 -1
- pyrogram/raw/functions/account/update_username.py +1 -1
- pyrogram/raw/functions/account/upload_ringtone.py +1 -1
- pyrogram/raw/functions/account/upload_theme.py +1 -1
- pyrogram/raw/functions/account/upload_wall_paper.py +1 -1
- pyrogram/raw/functions/account/verify_email.py +1 -1
- pyrogram/raw/functions/account/verify_phone.py +1 -1
- pyrogram/raw/functions/auth/accept_login_token.py +1 -1
- pyrogram/raw/functions/auth/bind_temp_auth_key.py +1 -1
- pyrogram/raw/functions/auth/cancel_code.py +1 -1
- pyrogram/raw/functions/auth/check_password.py +1 -1
- pyrogram/raw/functions/auth/check_recovery_password.py +1 -1
- pyrogram/raw/functions/auth/drop_temp_auth_keys.py +1 -1
- pyrogram/raw/functions/auth/export_authorization.py +1 -1
- pyrogram/raw/functions/auth/export_login_token.py +1 -1
- pyrogram/raw/functions/auth/import_authorization.py +1 -1
- pyrogram/raw/functions/auth/import_bot_authorization.py +1 -1
- pyrogram/raw/functions/auth/import_login_token.py +1 -1
- pyrogram/raw/functions/auth/import_web_token_authorization.py +1 -1
- pyrogram/raw/functions/auth/log_out.py +1 -1
- pyrogram/raw/functions/auth/recover_password.py +1 -1
- pyrogram/raw/functions/auth/report_missing_code.py +1 -1
- pyrogram/raw/functions/auth/request_firebase_sms.py +1 -1
- pyrogram/raw/functions/auth/request_password_recovery.py +1 -1
- pyrogram/raw/functions/auth/resend_code.py +1 -1
- pyrogram/raw/functions/auth/reset_authorizations.py +1 -1
- pyrogram/raw/functions/auth/reset_login_email.py +1 -1
- pyrogram/raw/functions/auth/send_code.py +1 -1
- pyrogram/raw/functions/auth/sign_in.py +1 -1
- pyrogram/raw/functions/auth/sign_up.py +1 -1
- pyrogram/raw/functions/bots/__init__.py +6 -0
- pyrogram/raw/functions/bots/add_preview_media.py +1 -1
- pyrogram/raw/functions/bots/allow_send_message.py +1 -1
- pyrogram/raw/functions/bots/answer_webhook_json_query.py +1 -1
- pyrogram/raw/functions/bots/can_send_message.py +1 -1
- pyrogram/raw/functions/{messages → bots}/check_download_file_params.py +2 -2
- pyrogram/raw/functions/bots/delete_preview_media.py +1 -1
- pyrogram/raw/functions/bots/edit_preview_media.py +1 -1
- pyrogram/raw/functions/{contacts/export_card.py → bots/get_admined_bots.py} +8 -8
- pyrogram/raw/functions/bots/get_bot_commands.py +1 -1
- pyrogram/raw/functions/bots/get_bot_info.py +1 -1
- pyrogram/raw/functions/bots/get_bot_menu_button.py +1 -1
- pyrogram/raw/functions/bots/get_bot_recommendations.py +72 -0
- pyrogram/raw/functions/bots/get_popular_app_bots.py +1 -1
- pyrogram/raw/functions/bots/get_preview_info.py +1 -1
- pyrogram/raw/functions/bots/get_preview_medias.py +1 -1
- pyrogram/raw/functions/bots/invoke_web_view_custom_method.py +1 -1
- pyrogram/raw/functions/bots/reorder_preview_medias.py +1 -1
- pyrogram/raw/functions/bots/reorder_usernames.py +1 -1
- pyrogram/raw/functions/bots/reset_bot_commands.py +1 -1
- pyrogram/raw/functions/bots/send_custom_request.py +1 -1
- pyrogram/raw/functions/bots/set_bot_broadcast_default_admin_rights.py +1 -1
- pyrogram/raw/functions/bots/set_bot_commands.py +1 -1
- pyrogram/raw/functions/bots/set_bot_group_default_admin_rights.py +1 -1
- pyrogram/raw/functions/bots/set_bot_info.py +1 -1
- pyrogram/raw/functions/bots/set_bot_menu_button.py +1 -1
- pyrogram/raw/functions/bots/set_custom_verification.py +99 -0
- pyrogram/raw/functions/{messages → bots}/toggle_user_emoji_status_permission.py +2 -2
- pyrogram/raw/functions/bots/toggle_username.py +1 -1
- pyrogram/raw/functions/bots/update_star_ref_program.py +91 -0
- pyrogram/raw/functions/bots/update_user_emoji_status.py +1 -1
- pyrogram/raw/functions/channels/__init__.py +2 -0
- pyrogram/raw/functions/channels/check_username.py +1 -1
- pyrogram/raw/functions/channels/convert_to_gigagroup.py +1 -1
- pyrogram/raw/functions/channels/create_channel.py +1 -1
- pyrogram/raw/functions/channels/create_forum_topic.py +1 -1
- pyrogram/raw/functions/channels/deactivate_all_usernames.py +1 -1
- pyrogram/raw/functions/channels/delete_channel.py +1 -1
- pyrogram/raw/functions/channels/delete_history.py +1 -1
- pyrogram/raw/functions/channels/delete_messages.py +1 -1
- pyrogram/raw/functions/channels/delete_participant_history.py +1 -1
- pyrogram/raw/functions/channels/delete_topic_history.py +1 -1
- pyrogram/raw/functions/channels/edit_admin.py +1 -1
- pyrogram/raw/functions/channels/edit_banned.py +1 -1
- pyrogram/raw/functions/channels/edit_creator.py +1 -1
- pyrogram/raw/functions/channels/edit_forum_topic.py +1 -1
- pyrogram/raw/functions/channels/edit_location.py +1 -1
- pyrogram/raw/functions/channels/edit_photo.py +1 -1
- pyrogram/raw/functions/channels/edit_title.py +1 -1
- pyrogram/raw/functions/channels/export_message_link.py +1 -1
- pyrogram/raw/functions/channels/get_admin_log.py +1 -1
- pyrogram/raw/functions/channels/get_admined_public_channels.py +1 -1
- pyrogram/raw/functions/channels/get_channel_recommendations.py +1 -1
- pyrogram/raw/functions/channels/get_channels.py +1 -1
- pyrogram/raw/functions/channels/get_forum_topics.py +1 -1
- pyrogram/raw/functions/channels/get_forum_topics_by_id.py +1 -1
- pyrogram/raw/functions/channels/get_full_channel.py +1 -1
- pyrogram/raw/functions/channels/get_groups_for_discussion.py +1 -1
- pyrogram/raw/functions/channels/get_inactive_channels.py +1 -1
- pyrogram/raw/functions/channels/get_left_channels.py +1 -1
- pyrogram/raw/functions/channels/get_messages.py +1 -1
- pyrogram/raw/functions/channels/get_participant.py +1 -1
- pyrogram/raw/functions/channels/get_participants.py +1 -1
- pyrogram/raw/functions/channels/get_send_as.py +16 -8
- pyrogram/raw/functions/channels/invite_to_channel.py +1 -1
- pyrogram/raw/functions/channels/join_channel.py +1 -1
- pyrogram/raw/functions/channels/leave_channel.py +1 -1
- pyrogram/raw/functions/channels/read_history.py +1 -1
- pyrogram/raw/functions/channels/read_message_contents.py +1 -1
- pyrogram/raw/functions/channels/reorder_pinned_forum_topics.py +1 -1
- pyrogram/raw/functions/channels/reorder_usernames.py +1 -1
- pyrogram/raw/functions/channels/report_anti_spam_false_positive.py +1 -1
- pyrogram/raw/functions/channels/report_spam.py +1 -1
- pyrogram/raw/functions/channels/restrict_sponsored_messages.py +1 -1
- pyrogram/raw/functions/channels/search_posts.py +1 -1
- pyrogram/raw/functions/channels/set_boosts_to_unblock_restrictions.py +1 -1
- pyrogram/raw/functions/channels/set_discussion_group.py +1 -1
- pyrogram/raw/functions/channels/set_emoji_stickers.py +1 -1
- pyrogram/raw/functions/channels/set_stickers.py +1 -1
- pyrogram/raw/functions/channels/toggle_anti_spam.py +1 -1
- pyrogram/raw/functions/channels/toggle_autotranslation.py +80 -0
- pyrogram/raw/functions/channels/toggle_forum.py +1 -1
- pyrogram/raw/functions/channels/toggle_join_request.py +1 -1
- pyrogram/raw/functions/channels/toggle_join_to_send.py +1 -1
- pyrogram/raw/functions/channels/toggle_participants_hidden.py +1 -1
- pyrogram/raw/functions/channels/toggle_pre_history_hidden.py +1 -1
- pyrogram/raw/functions/channels/toggle_signatures.py +1 -1
- pyrogram/raw/functions/channels/toggle_slow_mode.py +1 -1
- pyrogram/raw/functions/channels/toggle_username.py +1 -1
- pyrogram/raw/functions/channels/toggle_view_forum_as_messages.py +1 -1
- pyrogram/raw/functions/channels/update_color.py +1 -1
- pyrogram/raw/functions/channels/update_emoji_status.py +1 -1
- pyrogram/raw/functions/channels/update_paid_messages_price.py +80 -0
- pyrogram/raw/functions/channels/update_pinned_forum_topic.py +1 -1
- pyrogram/raw/functions/channels/update_username.py +1 -1
- pyrogram/raw/functions/chatlists/check_chatlist_invite.py +1 -1
- pyrogram/raw/functions/chatlists/delete_exported_invite.py +1 -1
- pyrogram/raw/functions/chatlists/edit_exported_invite.py +1 -1
- pyrogram/raw/functions/chatlists/export_chatlist_invite.py +1 -1
- pyrogram/raw/functions/chatlists/get_chatlist_updates.py +1 -1
- pyrogram/raw/functions/chatlists/get_exported_invites.py +1 -1
- pyrogram/raw/functions/chatlists/get_leave_chatlist_suggestions.py +1 -1
- pyrogram/raw/functions/chatlists/hide_chatlist_updates.py +1 -1
- pyrogram/raw/functions/chatlists/join_chatlist_invite.py +1 -1
- pyrogram/raw/functions/chatlists/join_chatlist_updates.py +1 -1
- pyrogram/raw/functions/chatlists/leave_chatlist.py +1 -1
- pyrogram/raw/functions/contacts/__init__.py +1 -1
- pyrogram/raw/functions/contacts/accept_contact.py +1 -1
- pyrogram/raw/functions/contacts/add_contact.py +1 -1
- pyrogram/raw/functions/contacts/block.py +1 -1
- pyrogram/raw/functions/contacts/block_from_replies.py +1 -1
- pyrogram/raw/functions/contacts/delete_by_phones.py +1 -1
- pyrogram/raw/functions/contacts/delete_contacts.py +1 -1
- pyrogram/raw/functions/contacts/edit_close_friends.py +1 -1
- pyrogram/raw/functions/contacts/export_contact_token.py +1 -1
- pyrogram/raw/functions/contacts/get_birthdays.py +1 -1
- pyrogram/raw/functions/contacts/get_blocked.py +1 -1
- pyrogram/raw/functions/contacts/get_contact_i_ds.py +1 -1
- pyrogram/raw/functions/contacts/get_contacts.py +1 -1
- pyrogram/raw/functions/contacts/get_located.py +1 -1
- pyrogram/raw/functions/contacts/get_saved.py +1 -1
- pyrogram/raw/functions/contacts/get_sponsored_peers.py +72 -0
- pyrogram/raw/functions/contacts/get_statuses.py +1 -1
- pyrogram/raw/functions/contacts/get_top_peers.py +1 -1
- pyrogram/raw/functions/contacts/import_card.py +1 -1
- pyrogram/raw/functions/contacts/import_contact_token.py +1 -1
- pyrogram/raw/functions/contacts/import_contacts.py +1 -1
- pyrogram/raw/functions/contacts/reset_saved.py +1 -1
- pyrogram/raw/functions/contacts/reset_top_peer_rating.py +1 -1
- pyrogram/raw/functions/contacts/resolve_phone.py +1 -1
- pyrogram/raw/functions/contacts/resolve_username.py +19 -8
- pyrogram/raw/functions/contacts/search.py +1 -1
- pyrogram/raw/functions/contacts/set_blocked.py +1 -1
- pyrogram/raw/functions/contacts/toggle_top_peers.py +1 -1
- pyrogram/raw/functions/contacts/unblock.py +1 -1
- pyrogram/raw/functions/contest/save_developer_info.py +1 -1
- pyrogram/raw/functions/destroy_auth_key.py +1 -1
- pyrogram/raw/functions/destroy_session.py +1 -1
- pyrogram/raw/functions/folders/delete_folder.py +1 -1
- pyrogram/raw/functions/folders/edit_peer_folders.py +1 -1
- pyrogram/raw/functions/fragment/get_collectible_info.py +1 -1
- pyrogram/raw/functions/get_future_salts.py +1 -1
- pyrogram/raw/functions/help/__init__.py +0 -1
- pyrogram/raw/functions/help/accept_terms_of_service.py +1 -1
- pyrogram/raw/functions/help/dismiss_suggestion.py +1 -1
- pyrogram/raw/functions/help/edit_user_info.py +1 -1
- pyrogram/raw/functions/help/get_app_config.py +1 -1
- pyrogram/raw/functions/help/get_app_update.py +1 -1
- pyrogram/raw/functions/help/get_cdn_config.py +1 -1
- pyrogram/raw/functions/help/get_config.py +1 -1
- pyrogram/raw/functions/help/get_countries_list.py +1 -1
- pyrogram/raw/functions/help/get_deep_link_info.py +1 -1
- pyrogram/raw/functions/help/get_invite_text.py +1 -1
- pyrogram/raw/functions/help/get_nearest_dc.py +1 -1
- pyrogram/raw/functions/help/get_passport_config.py +1 -1
- pyrogram/raw/functions/help/get_peer_colors.py +1 -1
- pyrogram/raw/functions/help/get_peer_profile_colors.py +1 -1
- pyrogram/raw/functions/help/get_premium_promo.py +1 -1
- pyrogram/raw/functions/help/get_promo_data.py +1 -1
- pyrogram/raw/functions/help/get_recent_me_urls.py +1 -1
- pyrogram/raw/functions/help/get_support.py +1 -1
- pyrogram/raw/functions/help/get_support_name.py +1 -1
- pyrogram/raw/functions/help/get_terms_of_service_update.py +1 -1
- pyrogram/raw/functions/help/get_timezones_list.py +1 -1
- pyrogram/raw/functions/help/get_user_info.py +1 -1
- pyrogram/raw/functions/help/hide_promo_data.py +1 -1
- pyrogram/raw/functions/help/save_app_log.py +1 -1
- pyrogram/raw/functions/help/set_bot_updates_status.py +1 -1
- pyrogram/raw/functions/init_connection.py +1 -1
- pyrogram/raw/functions/invoke_after_msg.py +1 -1
- pyrogram/raw/functions/invoke_after_msgs.py +1 -1
- pyrogram/raw/functions/invoke_with_apns_secret.py +1 -1
- pyrogram/raw/functions/invoke_with_business_connection.py +1 -1
- pyrogram/raw/functions/invoke_with_google_play_integrity.py +1 -1
- pyrogram/raw/functions/invoke_with_layer.py +1 -1
- pyrogram/raw/functions/invoke_with_messages_range.py +1 -1
- pyrogram/raw/functions/invoke_with_re_captcha.py +80 -0
- pyrogram/raw/functions/invoke_with_takeout.py +1 -1
- pyrogram/raw/functions/invoke_without_updates.py +1 -1
- pyrogram/raw/functions/langpack/get_difference.py +1 -1
- pyrogram/raw/functions/langpack/get_lang_pack.py +1 -1
- pyrogram/raw/functions/langpack/get_language.py +1 -1
- pyrogram/raw/functions/langpack/get_languages.py +1 -1
- pyrogram/raw/functions/langpack/get_strings.py +1 -1
- pyrogram/raw/functions/messages/__init__.py +4 -4
- pyrogram/raw/functions/messages/accept_encryption.py +1 -1
- pyrogram/raw/functions/messages/accept_url_auth.py +1 -1
- pyrogram/raw/functions/messages/add_chat_user.py +1 -1
- pyrogram/raw/functions/messages/check_chat_invite.py +1 -1
- pyrogram/raw/functions/messages/check_history_import.py +1 -1
- pyrogram/raw/functions/messages/check_history_import_peer.py +1 -1
- pyrogram/raw/functions/messages/check_quick_reply_shortcut.py +1 -1
- pyrogram/raw/functions/messages/clear_all_drafts.py +1 -1
- pyrogram/raw/functions/messages/clear_recent_reactions.py +1 -1
- pyrogram/raw/functions/messages/clear_recent_stickers.py +1 -1
- pyrogram/raw/functions/messages/click_sponsored_message.py +6 -14
- pyrogram/raw/functions/messages/create_chat.py +1 -1
- pyrogram/raw/functions/messages/delete_chat.py +1 -1
- pyrogram/raw/functions/messages/delete_chat_user.py +1 -1
- pyrogram/raw/functions/messages/delete_exported_chat_invite.py +1 -1
- pyrogram/raw/functions/messages/delete_fact_check.py +1 -1
- pyrogram/raw/functions/messages/delete_history.py +1 -1
- pyrogram/raw/functions/messages/delete_messages.py +1 -1
- pyrogram/raw/functions/messages/delete_phone_call_history.py +1 -1
- pyrogram/raw/functions/messages/delete_quick_reply_messages.py +1 -1
- pyrogram/raw/functions/messages/delete_quick_reply_shortcut.py +1 -1
- pyrogram/raw/functions/messages/delete_revoked_exported_chat_invites.py +1 -1
- pyrogram/raw/functions/messages/delete_saved_history.py +1 -1
- pyrogram/raw/functions/messages/delete_scheduled_messages.py +1 -1
- pyrogram/raw/functions/messages/discard_encryption.py +1 -1
- pyrogram/raw/functions/messages/edit_chat_about.py +1 -1
- pyrogram/raw/functions/messages/edit_chat_admin.py +1 -1
- pyrogram/raw/functions/messages/edit_chat_default_banned_rights.py +1 -1
- pyrogram/raw/functions/messages/edit_chat_photo.py +1 -1
- pyrogram/raw/functions/messages/edit_chat_title.py +1 -1
- pyrogram/raw/functions/messages/edit_exported_chat_invite.py +1 -1
- pyrogram/raw/functions/messages/edit_fact_check.py +1 -1
- pyrogram/raw/functions/messages/edit_inline_bot_message.py +1 -1
- pyrogram/raw/functions/messages/edit_message.py +1 -1
- pyrogram/raw/functions/messages/edit_quick_reply_shortcut.py +1 -1
- pyrogram/raw/functions/messages/export_chat_invite.py +1 -1
- pyrogram/raw/functions/messages/fave_sticker.py +1 -1
- pyrogram/raw/functions/messages/forward_message.py +1 -1
- pyrogram/raw/functions/messages/forward_messages.py +24 -6
- pyrogram/raw/functions/messages/get_admins_with_invites.py +1 -1
- pyrogram/raw/functions/messages/get_all_chats.py +1 -1
- pyrogram/raw/functions/messages/get_all_drafts.py +1 -1
- pyrogram/raw/functions/messages/get_all_stickers.py +1 -1
- pyrogram/raw/functions/messages/get_archived_stickers.py +1 -1
- pyrogram/raw/functions/messages/get_attach_menu_bot.py +1 -1
- pyrogram/raw/functions/messages/get_attach_menu_bots.py +1 -1
- pyrogram/raw/functions/messages/get_attached_stickers.py +1 -1
- pyrogram/raw/functions/messages/get_available_effects.py +1 -1
- pyrogram/raw/functions/messages/get_available_reactions.py +1 -1
- pyrogram/raw/functions/messages/get_bot_app.py +1 -1
- pyrogram/raw/functions/messages/get_bot_callback_answer.py +1 -1
- pyrogram/raw/functions/messages/get_chat_invite_importers.py +1 -1
- pyrogram/raw/functions/messages/get_chats.py +1 -1
- pyrogram/raw/functions/messages/get_common_chats.py +1 -1
- pyrogram/raw/functions/messages/get_custom_emoji_documents.py +1 -1
- pyrogram/raw/functions/messages/get_default_history_ttl.py +1 -1
- pyrogram/raw/functions/messages/get_default_tag_reactions.py +1 -1
- pyrogram/raw/functions/messages/get_dh_config.py +1 -1
- pyrogram/raw/functions/messages/get_dialog_filters.py +1 -1
- pyrogram/raw/functions/messages/get_dialog_unread_marks.py +1 -1
- pyrogram/raw/functions/messages/get_dialogs.py +1 -1
- pyrogram/raw/functions/messages/get_discussion_message.py +1 -1
- pyrogram/raw/functions/messages/get_document_by_hash.py +1 -1
- pyrogram/raw/functions/messages/get_emoji_groups.py +1 -1
- pyrogram/raw/functions/messages/get_emoji_keywords.py +1 -1
- pyrogram/raw/functions/messages/get_emoji_keywords_difference.py +1 -1
- pyrogram/raw/functions/messages/get_emoji_keywords_languages.py +1 -1
- pyrogram/raw/functions/messages/get_emoji_profile_photo_groups.py +1 -1
- pyrogram/raw/functions/messages/get_emoji_status_groups.py +1 -1
- pyrogram/raw/functions/messages/get_emoji_sticker_groups.py +1 -1
- pyrogram/raw/functions/messages/get_emoji_stickers.py +1 -1
- pyrogram/raw/functions/messages/get_emoji_url.py +1 -1
- pyrogram/raw/functions/messages/get_exported_chat_invite.py +1 -1
- pyrogram/raw/functions/messages/get_exported_chat_invites.py +1 -1
- pyrogram/raw/functions/messages/get_extended_media.py +1 -1
- pyrogram/raw/functions/messages/get_fact_check.py +1 -1
- pyrogram/raw/functions/messages/get_faved_stickers.py +1 -1
- pyrogram/raw/functions/messages/get_featured_emoji_stickers.py +1 -1
- pyrogram/raw/functions/messages/get_featured_stickers.py +1 -1
- pyrogram/raw/functions/messages/get_full_chat.py +1 -1
- pyrogram/raw/functions/messages/get_game_high_scores.py +1 -1
- pyrogram/raw/functions/messages/get_history.py +1 -1
- pyrogram/raw/functions/messages/get_inline_bot_results.py +1 -1
- pyrogram/raw/functions/messages/get_inline_game_high_scores.py +1 -1
- pyrogram/raw/functions/messages/get_mask_stickers.py +1 -1
- pyrogram/raw/functions/messages/get_message_edit_data.py +1 -1
- pyrogram/raw/functions/messages/get_message_reactions_list.py +1 -1
- pyrogram/raw/functions/messages/get_message_read_participants.py +1 -1
- pyrogram/raw/functions/messages/get_messages.py +1 -1
- pyrogram/raw/functions/messages/get_messages_reactions.py +1 -1
- pyrogram/raw/functions/messages/get_messages_views.py +1 -1
- pyrogram/raw/functions/messages/get_my_stickers.py +1 -1
- pyrogram/raw/functions/messages/get_old_featured_stickers.py +1 -1
- pyrogram/raw/functions/messages/get_onlines.py +1 -1
- pyrogram/raw/functions/messages/get_outbox_read_date.py +1 -1
- pyrogram/raw/functions/messages/get_paid_reaction_privacy.py +1 -1
- pyrogram/raw/functions/messages/get_peer_dialogs.py +1 -1
- pyrogram/raw/functions/messages/get_peer_settings.py +1 -1
- pyrogram/raw/functions/messages/get_pinned_dialogs.py +1 -1
- pyrogram/raw/functions/messages/get_pinned_saved_dialogs.py +1 -1
- pyrogram/raw/functions/messages/get_poll_results.py +1 -1
- pyrogram/raw/functions/messages/get_poll_votes.py +1 -1
- pyrogram/raw/functions/messages/get_prepared_inline_message.py +1 -1
- pyrogram/raw/functions/messages/get_quick_replies.py +1 -1
- pyrogram/raw/functions/messages/get_quick_reply_messages.py +1 -1
- pyrogram/raw/functions/messages/get_recent_locations.py +1 -1
- pyrogram/raw/functions/messages/get_recent_reactions.py +1 -1
- pyrogram/raw/functions/messages/get_recent_stickers.py +1 -1
- pyrogram/raw/functions/messages/get_replies.py +1 -1
- pyrogram/raw/functions/messages/get_saved_dialogs.py +1 -1
- pyrogram/raw/functions/messages/get_saved_gifs.py +1 -1
- pyrogram/raw/functions/messages/get_saved_history.py +1 -1
- pyrogram/raw/functions/messages/get_saved_reaction_tags.py +1 -1
- pyrogram/raw/functions/messages/get_scheduled_history.py +1 -1
- pyrogram/raw/functions/messages/get_scheduled_messages.py +1 -1
- pyrogram/raw/functions/messages/get_search_counters.py +1 -1
- pyrogram/raw/functions/messages/get_search_results_calendar.py +1 -1
- pyrogram/raw/functions/messages/get_search_results_positions.py +1 -1
- pyrogram/raw/functions/messages/get_split_ranges.py +1 -1
- pyrogram/raw/functions/messages/get_sponsored_messages.py +1 -1
- pyrogram/raw/functions/messages/get_stats_url.py +1 -1
- pyrogram/raw/functions/messages/get_sticker_set.py +1 -1
- pyrogram/raw/functions/messages/get_stickers.py +1 -1
- pyrogram/raw/functions/messages/get_suggested_dialog_filters.py +1 -1
- pyrogram/raw/functions/messages/get_top_reactions.py +1 -1
- pyrogram/raw/functions/messages/get_unread_mentions.py +1 -1
- pyrogram/raw/functions/messages/get_unread_reactions.py +1 -1
- pyrogram/raw/functions/messages/get_web_page.py +1 -1
- pyrogram/raw/functions/messages/get_web_page_preview.py +4 -4
- pyrogram/raw/functions/messages/get_web_view_result.py +1 -1
- pyrogram/raw/functions/messages/hide_all_chat_join_requests.py +1 -1
- pyrogram/raw/functions/messages/hide_chat_join_request.py +1 -1
- pyrogram/raw/functions/messages/hide_peer_settings_bar.py +1 -1
- pyrogram/raw/functions/messages/import_chat_invite.py +1 -1
- pyrogram/raw/functions/messages/init_history_import.py +1 -1
- pyrogram/raw/functions/messages/install_sticker_set.py +1 -1
- pyrogram/raw/functions/messages/mark_dialog_unread.py +1 -1
- pyrogram/raw/functions/messages/migrate_chat.py +1 -1
- pyrogram/raw/functions/messages/prolong_web_view.py +1 -1
- pyrogram/raw/functions/messages/rate_transcribed_audio.py +1 -1
- pyrogram/raw/functions/messages/read_discussion.py +1 -1
- pyrogram/raw/functions/messages/read_encrypted_history.py +1 -1
- pyrogram/raw/functions/messages/read_featured_stickers.py +1 -1
- pyrogram/raw/functions/messages/read_history.py +1 -1
- pyrogram/raw/functions/messages/read_mentions.py +1 -1
- pyrogram/raw/functions/messages/read_message_contents.py +1 -1
- pyrogram/raw/functions/messages/read_reactions.py +1 -1
- pyrogram/raw/functions/messages/received_messages.py +1 -1
- pyrogram/raw/functions/messages/received_queue.py +1 -1
- pyrogram/raw/functions/messages/reorder_pinned_dialogs.py +1 -1
- pyrogram/raw/functions/messages/reorder_pinned_saved_dialogs.py +1 -1
- pyrogram/raw/functions/messages/reorder_quick_replies.py +1 -1
- pyrogram/raw/functions/messages/reorder_sticker_sets.py +1 -1
- pyrogram/raw/functions/messages/report.py +1 -1
- pyrogram/raw/functions/messages/report_encrypted_spam.py +1 -1
- pyrogram/raw/functions/messages/report_messages_delivery.py +88 -0
- pyrogram/raw/functions/messages/report_reaction.py +1 -1
- pyrogram/raw/functions/messages/report_spam.py +1 -1
- pyrogram/raw/functions/messages/report_sponsored_message.py +6 -14
- pyrogram/raw/functions/messages/request_app_web_view.py +1 -1
- pyrogram/raw/functions/messages/request_encryption.py +1 -1
- pyrogram/raw/functions/messages/request_main_web_view.py +1 -1
- pyrogram/raw/functions/messages/request_simple_web_view.py +1 -1
- pyrogram/raw/functions/messages/request_url_auth.py +1 -1
- pyrogram/raw/functions/messages/request_web_view.py +1 -1
- pyrogram/raw/functions/messages/save_default_send_as.py +1 -1
- pyrogram/raw/functions/messages/save_draft.py +1 -1
- pyrogram/raw/functions/messages/save_gif.py +1 -1
- pyrogram/raw/functions/messages/save_prepared_inline_message.py +1 -1
- pyrogram/raw/functions/messages/save_recent_sticker.py +1 -1
- pyrogram/raw/functions/messages/search.py +1 -1
- pyrogram/raw/functions/messages/search_custom_emoji.py +1 -1
- pyrogram/raw/functions/messages/search_emoji_sticker_sets.py +1 -1
- pyrogram/raw/functions/messages/search_global.py +16 -4
- pyrogram/raw/functions/messages/search_sent_media.py +1 -1
- pyrogram/raw/functions/messages/search_sticker_sets.py +1 -1
- pyrogram/raw/functions/messages/search_stickers.py +120 -0
- pyrogram/raw/functions/messages/send_bot_requested_peer.py +1 -1
- pyrogram/raw/functions/messages/send_encrypted.py +1 -1
- pyrogram/raw/functions/messages/send_encrypted_file.py +1 -1
- pyrogram/raw/functions/messages/send_encrypted_multi_media.py +1 -1
- pyrogram/raw/functions/messages/send_encrypted_service.py +1 -1
- pyrogram/raw/functions/messages/send_inline_bot_result.py +15 -6
- pyrogram/raw/functions/messages/send_media.py +15 -6
- pyrogram/raw/functions/messages/send_message.py +15 -6
- pyrogram/raw/functions/messages/send_multi_media.py +15 -6
- pyrogram/raw/functions/messages/send_paid_reaction.py +9 -8
- pyrogram/raw/functions/messages/send_quick_reply_messages.py +1 -1
- pyrogram/raw/functions/messages/send_reaction.py +1 -1
- pyrogram/raw/functions/messages/send_scheduled_messages.py +1 -1
- pyrogram/raw/functions/messages/send_screenshot_notification.py +1 -1
- pyrogram/raw/functions/messages/send_vote.py +1 -1
- pyrogram/raw/functions/messages/send_web_view_data.py +1 -1
- pyrogram/raw/functions/messages/send_web_view_result_message.py +1 -1
- pyrogram/raw/functions/messages/set_bot_callback_answer.py +1 -1
- pyrogram/raw/functions/messages/set_bot_precheckout_results.py +1 -1
- pyrogram/raw/functions/messages/set_bot_shipping_results.py +1 -1
- pyrogram/raw/functions/messages/set_chat_available_reactions.py +1 -1
- pyrogram/raw/functions/messages/set_chat_theme.py +1 -1
- pyrogram/raw/functions/messages/set_chat_wall_paper.py +1 -1
- pyrogram/raw/functions/messages/set_default_history_ttl.py +1 -1
- pyrogram/raw/functions/messages/set_default_reaction.py +1 -1
- pyrogram/raw/functions/messages/set_encrypted_typing.py +1 -1
- pyrogram/raw/functions/messages/set_game_score.py +1 -1
- pyrogram/raw/functions/messages/set_history_ttl.py +1 -1
- pyrogram/raw/functions/messages/set_inline_bot_results.py +1 -1
- pyrogram/raw/functions/messages/set_inline_game_score.py +1 -1
- pyrogram/raw/functions/messages/set_typing.py +1 -1
- pyrogram/raw/functions/messages/set_web_view_result.py +1 -1
- pyrogram/raw/functions/messages/start_bot.py +1 -1
- pyrogram/raw/functions/messages/start_history_import.py +1 -1
- pyrogram/raw/functions/messages/toggle_bot_in_attach_menu.py +1 -1
- pyrogram/raw/functions/messages/toggle_dialog_filter_tags.py +1 -1
- pyrogram/raw/functions/messages/toggle_dialog_pin.py +1 -1
- pyrogram/raw/functions/messages/toggle_no_forwards.py +1 -1
- pyrogram/raw/functions/messages/toggle_paid_reaction_privacy.py +8 -8
- pyrogram/raw/functions/messages/toggle_peer_translations.py +1 -1
- pyrogram/raw/functions/messages/toggle_saved_dialog_pin.py +1 -1
- pyrogram/raw/functions/messages/toggle_sticker_sets.py +1 -1
- pyrogram/raw/functions/messages/transcribe_audio.py +1 -1
- pyrogram/raw/functions/messages/translate_text.py +1 -1
- pyrogram/raw/functions/messages/uninstall_sticker_set.py +1 -1
- pyrogram/raw/functions/messages/unpin_all_messages.py +1 -1
- pyrogram/raw/functions/messages/update_dialog_filter.py +1 -1
- pyrogram/raw/functions/messages/update_dialog_filters_order.py +1 -1
- pyrogram/raw/functions/messages/update_pinned_message.py +1 -1
- pyrogram/raw/functions/messages/update_saved_reaction_tag.py +1 -1
- pyrogram/raw/functions/messages/upload_encrypted_file.py +1 -1
- pyrogram/raw/functions/messages/upload_imported_media.py +1 -1
- pyrogram/raw/functions/messages/upload_media.py +1 -1
- pyrogram/raw/functions/messages/view_sponsored_message.py +6 -14
- pyrogram/raw/functions/payments/__init__.py +18 -3
- pyrogram/raw/functions/payments/apply_gift_code.py +1 -1
- pyrogram/raw/functions/payments/assign_app_store_transaction.py +1 -1
- pyrogram/raw/functions/payments/assign_play_market_transaction.py +1 -1
- pyrogram/raw/functions/payments/bot_cancel_stars_subscription.py +12 -22
- pyrogram/raw/functions/payments/{can_purchase_premium.py → can_purchase_store.py} +7 -7
- pyrogram/raw/functions/payments/change_stars_subscription.py +1 -1
- pyrogram/raw/functions/payments/check_gift_code.py +1 -1
- pyrogram/raw/functions/payments/clear_saved_info.py +1 -1
- pyrogram/raw/functions/payments/connect_star_ref_bot.py +80 -0
- pyrogram/raw/functions/payments/convert_star_gift.py +10 -18
- pyrogram/raw/functions/payments/edit_connected_star_ref_bot.py +88 -0
- pyrogram/raw/functions/payments/export_invoice.py +1 -1
- pyrogram/raw/functions/payments/fulfill_stars_subscription.py +1 -1
- pyrogram/raw/functions/payments/get_bank_card_data.py +1 -1
- pyrogram/raw/functions/payments/get_connected_star_ref_bot.py +80 -0
- pyrogram/raw/functions/payments/get_connected_star_ref_bots.py +100 -0
- pyrogram/raw/functions/payments/get_giveaway_info.py +1 -1
- pyrogram/raw/functions/payments/get_payment_form.py +1 -1
- pyrogram/raw/functions/payments/get_payment_receipt.py +1 -1
- pyrogram/raw/functions/payments/get_premium_gift_code_options.py +1 -1
- pyrogram/raw/functions/payments/get_resale_star_gifts.py +121 -0
- pyrogram/raw/functions/payments/get_saved_info.py +1 -1
- pyrogram/raw/functions/payments/get_saved_star_gift.py +72 -0
- pyrogram/raw/functions/payments/get_saved_star_gifts.py +126 -0
- pyrogram/raw/functions/payments/get_star_gift_upgrade_preview.py +72 -0
- pyrogram/raw/functions/payments/get_star_gift_withdrawal_url.py +80 -0
- pyrogram/raw/functions/payments/get_star_gifts.py +1 -1
- pyrogram/raw/functions/payments/get_stars_gift_options.py +1 -1
- pyrogram/raw/functions/payments/get_stars_giveaway_options.py +1 -1
- pyrogram/raw/functions/payments/get_stars_revenue_ads_account_url.py +1 -1
- pyrogram/raw/functions/payments/get_stars_revenue_stats.py +1 -1
- pyrogram/raw/functions/payments/get_stars_revenue_withdrawal_url.py +1 -1
- pyrogram/raw/functions/payments/get_stars_status.py +1 -1
- pyrogram/raw/functions/payments/get_stars_subscriptions.py +1 -1
- pyrogram/raw/functions/payments/get_stars_topup_options.py +1 -1
- pyrogram/raw/functions/payments/get_stars_transactions.py +1 -1
- pyrogram/raw/functions/payments/get_stars_transactions_by_id.py +1 -1
- pyrogram/raw/functions/payments/get_suggested_star_ref_bots.py +102 -0
- pyrogram/raw/functions/payments/get_unique_star_gift.py +72 -0
- pyrogram/raw/functions/payments/launch_prepaid_giveaway.py +1 -1
- pyrogram/raw/functions/payments/refund_stars_charge.py +1 -1
- pyrogram/raw/functions/payments/request_recurring_payment.py +1 -1
- pyrogram/raw/functions/payments/save_star_gift.py +10 -18
- pyrogram/raw/functions/payments/send_payment_form.py +1 -1
- pyrogram/raw/functions/payments/send_stars_form.py +1 -1
- pyrogram/raw/functions/payments/toggle_chat_star_gift_notifications.py +80 -0
- pyrogram/raw/functions/payments/toggle_star_gifts_pinned_to_top.py +80 -0
- pyrogram/raw/functions/payments/transfer_star_gift.py +80 -0
- pyrogram/raw/functions/payments/update_star_gift_price.py +80 -0
- pyrogram/raw/functions/payments/upgrade_star_gift.py +80 -0
- pyrogram/raw/functions/payments/validate_requested_info.py +1 -1
- pyrogram/raw/functions/phone/__init__.py +6 -0
- pyrogram/raw/functions/phone/accept_call.py +1 -1
- pyrogram/raw/functions/phone/check_group_call.py +1 -1
- pyrogram/raw/functions/phone/confirm_call.py +1 -1
- pyrogram/raw/functions/phone/create_conference_call.py +120 -0
- pyrogram/raw/functions/phone/create_group_call.py +1 -1
- pyrogram/raw/functions/{help/get_app_changelog.py → phone/decline_conference_call_invite.py} +13 -13
- pyrogram/raw/functions/phone/delete_conference_call_participants.py +102 -0
- pyrogram/raw/functions/phone/discard_call.py +1 -1
- pyrogram/raw/functions/phone/discard_group_call.py +1 -1
- pyrogram/raw/functions/phone/edit_group_call_participant.py +1 -1
- pyrogram/raw/functions/phone/edit_group_call_title.py +1 -1
- pyrogram/raw/functions/phone/export_group_call_invite.py +1 -1
- pyrogram/raw/functions/phone/get_call_config.py +1 -1
- pyrogram/raw/functions/phone/get_group_call.py +1 -1
- pyrogram/raw/functions/phone/get_group_call_chain_blocks.py +96 -0
- pyrogram/raw/functions/phone/get_group_call_join_as.py +1 -1
- pyrogram/raw/functions/phone/get_group_call_stream_channels.py +1 -1
- pyrogram/raw/functions/phone/get_group_call_stream_rtmp_url.py +1 -1
- pyrogram/raw/functions/phone/get_group_participants.py +1 -1
- pyrogram/raw/functions/phone/invite_conference_call_participant.py +88 -0
- pyrogram/raw/functions/phone/invite_to_group_call.py +1 -1
- pyrogram/raw/functions/phone/join_group_call.py +24 -6
- pyrogram/raw/functions/phone/join_group_call_presentation.py +1 -1
- pyrogram/raw/functions/phone/leave_group_call.py +1 -1
- pyrogram/raw/functions/phone/leave_group_call_presentation.py +1 -1
- pyrogram/raw/functions/phone/received_call.py +1 -1
- pyrogram/raw/functions/phone/request_call.py +1 -1
- pyrogram/raw/functions/phone/save_call_debug.py +1 -1
- pyrogram/raw/functions/phone/save_call_log.py +1 -1
- pyrogram/raw/functions/phone/save_default_group_call_join_as.py +1 -1
- pyrogram/raw/functions/phone/send_conference_call_broadcast.py +80 -0
- pyrogram/raw/functions/phone/send_signaling_data.py +1 -1
- pyrogram/raw/functions/phone/set_call_rating.py +1 -1
- pyrogram/raw/functions/phone/start_scheduled_group_call.py +1 -1
- pyrogram/raw/functions/phone/toggle_group_call_record.py +1 -1
- pyrogram/raw/functions/phone/toggle_group_call_settings.py +1 -1
- pyrogram/raw/functions/phone/toggle_group_call_start_subscription.py +1 -1
- pyrogram/raw/functions/photos/delete_photos.py +1 -1
- pyrogram/raw/functions/photos/get_user_photos.py +1 -1
- pyrogram/raw/functions/photos/update_profile_photo.py +1 -1
- pyrogram/raw/functions/photos/upload_contact_profile_photo.py +1 -1
- pyrogram/raw/functions/photos/upload_profile_photo.py +1 -1
- pyrogram/raw/functions/ping.py +1 -1
- pyrogram/raw/functions/ping_delay_disconnect.py +1 -1
- pyrogram/raw/functions/premium/apply_boost.py +1 -1
- pyrogram/raw/functions/premium/get_boosts_list.py +1 -1
- pyrogram/raw/functions/premium/get_boosts_status.py +1 -1
- pyrogram/raw/functions/premium/get_my_boosts.py +1 -1
- pyrogram/raw/functions/premium/get_user_boosts.py +1 -1
- pyrogram/raw/functions/req_dh_params.py +1 -1
- pyrogram/raw/functions/req_pq.py +1 -1
- pyrogram/raw/functions/req_pq_multi.py +1 -1
- pyrogram/raw/functions/rpc_drop_answer.py +1 -1
- pyrogram/raw/functions/set_client_dh_params.py +1 -1
- pyrogram/raw/functions/smsjobs/finish_job.py +1 -1
- pyrogram/raw/functions/smsjobs/get_sms_job.py +1 -1
- pyrogram/raw/functions/smsjobs/get_status.py +1 -1
- pyrogram/raw/functions/smsjobs/is_eligible_to_join.py +1 -1
- pyrogram/raw/functions/smsjobs/join.py +1 -1
- pyrogram/raw/functions/smsjobs/leave.py +1 -1
- pyrogram/raw/functions/smsjobs/update_settings.py +1 -1
- pyrogram/raw/functions/stats/get_broadcast_revenue_stats.py +1 -1
- pyrogram/raw/functions/stats/get_broadcast_revenue_transactions.py +1 -1
- pyrogram/raw/functions/stats/get_broadcast_revenue_withdrawal_url.py +1 -1
- pyrogram/raw/functions/stats/get_broadcast_stats.py +1 -1
- pyrogram/raw/functions/stats/get_megagroup_stats.py +1 -1
- pyrogram/raw/functions/stats/get_message_public_forwards.py +1 -1
- pyrogram/raw/functions/stats/get_message_stats.py +1 -1
- pyrogram/raw/functions/stats/get_story_public_forwards.py +1 -1
- pyrogram/raw/functions/stats/get_story_stats.py +1 -1
- pyrogram/raw/functions/stats/load_async_graph.py +1 -1
- pyrogram/raw/functions/stickers/add_sticker_to_set.py +1 -1
- pyrogram/raw/functions/stickers/change_sticker.py +1 -1
- pyrogram/raw/functions/stickers/change_sticker_position.py +1 -1
- pyrogram/raw/functions/stickers/check_short_name.py +1 -1
- pyrogram/raw/functions/stickers/create_sticker_set.py +1 -1
- pyrogram/raw/functions/stickers/delete_sticker_set.py +1 -1
- pyrogram/raw/functions/stickers/remove_sticker_from_set.py +1 -1
- pyrogram/raw/functions/stickers/rename_sticker_set.py +1 -1
- pyrogram/raw/functions/stickers/replace_sticker.py +1 -1
- pyrogram/raw/functions/stickers/set_sticker_set_thumb.py +1 -1
- pyrogram/raw/functions/stickers/suggest_short_name.py +1 -1
- pyrogram/raw/functions/stories/activate_stealth_mode.py +1 -1
- pyrogram/raw/functions/stories/can_send_story.py +4 -4
- pyrogram/raw/functions/stories/delete_stories.py +1 -1
- pyrogram/raw/functions/stories/edit_story.py +1 -1
- pyrogram/raw/functions/stories/export_story_link.py +1 -1
- pyrogram/raw/functions/stories/get_all_read_peer_stories.py +1 -1
- pyrogram/raw/functions/stories/get_all_stories.py +1 -1
- pyrogram/raw/functions/stories/get_chats_to_send.py +1 -1
- pyrogram/raw/functions/stories/get_peer_max_i_ds.py +1 -1
- pyrogram/raw/functions/stories/get_peer_stories.py +1 -1
- pyrogram/raw/functions/stories/get_pinned_stories.py +1 -1
- pyrogram/raw/functions/stories/get_stories_archive.py +1 -1
- pyrogram/raw/functions/stories/get_stories_by_id.py +1 -1
- pyrogram/raw/functions/stories/get_stories_views.py +1 -1
- pyrogram/raw/functions/stories/get_story_reactions_list.py +1 -1
- pyrogram/raw/functions/stories/get_story_views_list.py +1 -1
- pyrogram/raw/functions/stories/increment_story_views.py +1 -1
- pyrogram/raw/functions/stories/read_stories.py +1 -1
- pyrogram/raw/functions/stories/report.py +1 -1
- pyrogram/raw/functions/stories/search_posts.py +1 -1
- pyrogram/raw/functions/stories/send_reaction.py +1 -1
- pyrogram/raw/functions/stories/send_story.py +1 -1
- pyrogram/raw/functions/stories/toggle_all_stories_hidden.py +1 -1
- pyrogram/raw/functions/stories/toggle_peer_stories_hidden.py +1 -1
- pyrogram/raw/functions/stories/toggle_pinned.py +1 -1
- pyrogram/raw/functions/stories/toggle_pinned_to_top.py +1 -1
- pyrogram/raw/functions/updates/get_channel_difference.py +1 -1
- pyrogram/raw/functions/updates/get_difference.py +1 -1
- pyrogram/raw/functions/updates/get_state.py +1 -1
- pyrogram/raw/functions/upload/get_cdn_file.py +1 -1
- pyrogram/raw/functions/upload/get_cdn_file_hashes.py +1 -1
- pyrogram/raw/functions/upload/get_file.py +1 -1
- pyrogram/raw/functions/upload/get_file_hashes.py +1 -1
- pyrogram/raw/functions/upload/get_web_file.py +1 -1
- pyrogram/raw/functions/upload/reupload_cdn_file.py +1 -1
- pyrogram/raw/functions/upload/save_big_file_part.py +1 -1
- pyrogram/raw/functions/upload/save_file_part.py +1 -1
- pyrogram/raw/functions/users/__init__.py +1 -1
- pyrogram/raw/functions/users/get_full_user.py +1 -1
- pyrogram/raw/functions/users/{get_is_premium_required_to_contact.py → get_requirements_to_contact.py} +8 -8
- pyrogram/raw/functions/users/get_users.py +1 -1
- pyrogram/raw/functions/users/set_secure_value_errors.py +1 -1
- pyrogram/raw/types/__init__.py +51 -12
- pyrogram/raw/types/access_point_rule.py +1 -1
- pyrogram/raw/types/account/__init__.py +1 -0
- pyrogram/raw/types/account/authorization_form.py +1 -1
- pyrogram/raw/types/account/authorizations.py +1 -1
- pyrogram/raw/types/account/auto_download_settings.py +1 -1
- pyrogram/raw/types/account/auto_save_settings.py +1 -1
- pyrogram/raw/types/account/business_chat_links.py +1 -1
- pyrogram/raw/types/account/connected_bots.py +1 -1
- pyrogram/raw/types/account/content_settings.py +1 -1
- pyrogram/raw/types/account/email_verified.py +1 -1
- pyrogram/raw/types/account/email_verified_login.py +1 -1
- pyrogram/raw/types/account/emoji_statuses.py +3 -2
- pyrogram/raw/types/account/emoji_statuses_not_modified.py +3 -2
- pyrogram/raw/types/account/paid_messages_revenue.py +81 -0
- pyrogram/raw/types/account/password.py +1 -1
- pyrogram/raw/types/account/password_input_settings.py +1 -1
- pyrogram/raw/types/account/password_settings.py +1 -1
- pyrogram/raw/types/account/privacy_rules.py +1 -1
- pyrogram/raw/types/account/reset_password_failed_wait.py +1 -1
- pyrogram/raw/types/account/reset_password_ok.py +1 -1
- pyrogram/raw/types/account/reset_password_requested_wait.py +1 -1
- pyrogram/raw/types/account/resolved_business_chat_links.py +1 -1
- pyrogram/raw/types/account/saved_ringtone.py +1 -1
- pyrogram/raw/types/account/saved_ringtone_converted.py +1 -1
- pyrogram/raw/types/account/saved_ringtones.py +1 -1
- pyrogram/raw/types/account/saved_ringtones_not_modified.py +1 -1
- pyrogram/raw/types/account/sent_email_code.py +1 -1
- pyrogram/raw/types/account/takeout.py +1 -1
- pyrogram/raw/types/account/themes.py +1 -1
- pyrogram/raw/types/account/themes_not_modified.py +1 -1
- pyrogram/raw/types/account/tmp_password.py +1 -1
- pyrogram/raw/types/account/wall_papers.py +1 -1
- pyrogram/raw/types/account/wall_papers_not_modified.py +1 -1
- pyrogram/raw/types/account/web_authorizations.py +1 -1
- pyrogram/raw/types/account_days_ttl.py +1 -1
- pyrogram/raw/types/attach_menu_bot.py +1 -1
- pyrogram/raw/types/attach_menu_bot_icon.py +1 -1
- pyrogram/raw/types/attach_menu_bot_icon_color.py +1 -1
- pyrogram/raw/types/attach_menu_bots.py +1 -1
- pyrogram/raw/types/attach_menu_bots_bot.py +1 -1
- pyrogram/raw/types/attach_menu_bots_not_modified.py +1 -1
- pyrogram/raw/types/attach_menu_peer_type_bot_pm.py +1 -1
- pyrogram/raw/types/attach_menu_peer_type_broadcast.py +1 -1
- pyrogram/raw/types/attach_menu_peer_type_chat.py +1 -1
- pyrogram/raw/types/attach_menu_peer_type_pm.py +1 -1
- pyrogram/raw/types/attach_menu_peer_type_same_bot_pm.py +1 -1
- pyrogram/raw/types/auth/__init__.py +1 -0
- pyrogram/raw/types/auth/authorization.py +1 -1
- pyrogram/raw/types/auth/authorization_sign_up_required.py +1 -1
- pyrogram/raw/types/auth/code_type_call.py +1 -1
- pyrogram/raw/types/auth/code_type_flash_call.py +1 -1
- pyrogram/raw/types/auth/code_type_fragment_sms.py +1 -1
- pyrogram/raw/types/auth/code_type_missed_call.py +1 -1
- pyrogram/raw/types/auth/code_type_sms.py +1 -1
- pyrogram/raw/types/auth/exported_authorization.py +1 -1
- pyrogram/raw/types/auth/logged_out.py +1 -1
- pyrogram/raw/types/auth/login_token.py +1 -1
- pyrogram/raw/types/auth/login_token_migrate_to.py +1 -1
- pyrogram/raw/types/auth/login_token_success.py +1 -1
- pyrogram/raw/types/auth/password_recovery.py +1 -1
- pyrogram/raw/types/auth/sent_code.py +1 -1
- pyrogram/raw/types/auth/sent_code_payment_required.py +94 -0
- pyrogram/raw/types/auth/sent_code_success.py +1 -1
- pyrogram/raw/types/auth/sent_code_type_app.py +1 -1
- pyrogram/raw/types/auth/sent_code_type_call.py +1 -1
- pyrogram/raw/types/auth/sent_code_type_email_code.py +1 -1
- pyrogram/raw/types/auth/sent_code_type_firebase_sms.py +1 -1
- pyrogram/raw/types/auth/sent_code_type_flash_call.py +1 -1
- pyrogram/raw/types/auth/sent_code_type_fragment_sms.py +1 -1
- pyrogram/raw/types/auth/sent_code_type_missed_call.py +1 -1
- pyrogram/raw/types/auth/sent_code_type_set_up_email_required.py +1 -1
- pyrogram/raw/types/auth/sent_code_type_sms.py +1 -1
- pyrogram/raw/types/auth/sent_code_type_sms_phrase.py +1 -1
- pyrogram/raw/types/auth/sent_code_type_sms_word.py +1 -1
- pyrogram/raw/types/authorization.py +1 -1
- pyrogram/raw/types/auto_download_settings.py +1 -1
- pyrogram/raw/types/auto_save_exception.py +1 -1
- pyrogram/raw/types/auto_save_settings.py +1 -1
- pyrogram/raw/types/available_effect.py +1 -1
- pyrogram/raw/types/available_reaction.py +1 -1
- pyrogram/raw/types/bad_msg_notification.py +1 -1
- pyrogram/raw/types/bad_server_salt.py +1 -1
- pyrogram/raw/types/bank_card_open_url.py +1 -1
- pyrogram/raw/types/base_theme_arctic.py +1 -1
- pyrogram/raw/types/base_theme_classic.py +1 -1
- pyrogram/raw/types/base_theme_day.py +1 -1
- pyrogram/raw/types/base_theme_night.py +1 -1
- pyrogram/raw/types/base_theme_tinted.py +1 -1
- pyrogram/raw/types/bind_auth_key_inner.py +1 -1
- pyrogram/raw/types/birthday.py +1 -1
- pyrogram/raw/types/boost.py +1 -1
- pyrogram/raw/types/bot_app.py +1 -1
- pyrogram/raw/types/bot_app_not_modified.py +1 -1
- pyrogram/raw/types/bot_app_settings.py +1 -1
- pyrogram/raw/types/bot_business_connection.py +15 -11
- pyrogram/raw/types/bot_command.py +1 -1
- pyrogram/raw/types/bot_command_scope_chat_admins.py +1 -1
- pyrogram/raw/types/bot_command_scope_chats.py +1 -1
- pyrogram/raw/types/bot_command_scope_default.py +1 -1
- pyrogram/raw/types/bot_command_scope_peer.py +1 -1
- pyrogram/raw/types/bot_command_scope_peer_admins.py +1 -1
- pyrogram/raw/types/bot_command_scope_peer_user.py +1 -1
- pyrogram/raw/types/bot_command_scope_users.py +1 -1
- pyrogram/raw/types/bot_info.py +16 -6
- pyrogram/raw/types/bot_inline_media_result.py +1 -1
- pyrogram/raw/types/bot_inline_message_media_auto.py +1 -1
- pyrogram/raw/types/bot_inline_message_media_contact.py +1 -1
- pyrogram/raw/types/bot_inline_message_media_geo.py +1 -1
- pyrogram/raw/types/bot_inline_message_media_invoice.py +1 -1
- pyrogram/raw/types/bot_inline_message_media_venue.py +1 -1
- pyrogram/raw/types/bot_inline_message_media_web_page.py +1 -1
- pyrogram/raw/types/bot_inline_message_text.py +1 -1
- pyrogram/raw/types/bot_inline_result.py +1 -1
- pyrogram/raw/types/bot_menu_button.py +1 -1
- pyrogram/raw/types/bot_menu_button_commands.py +1 -1
- pyrogram/raw/types/bot_menu_button_default.py +1 -1
- pyrogram/raw/types/bot_preview_media.py +1 -1
- pyrogram/raw/types/{file_location_unavailable.py → bot_verification.py} +22 -22
- pyrogram/raw/types/bot_verifier_settings.py +97 -0
- pyrogram/raw/types/bots/bot_info.py +1 -1
- pyrogram/raw/types/bots/popular_app_bots.py +1 -1
- pyrogram/raw/types/bots/preview_info.py +1 -1
- pyrogram/raw/types/broadcast_revenue_balances.py +1 -1
- pyrogram/raw/types/broadcast_revenue_transaction_proceeds.py +1 -1
- pyrogram/raw/types/broadcast_revenue_transaction_refund.py +1 -1
- pyrogram/raw/types/broadcast_revenue_transaction_withdrawal.py +1 -1
- pyrogram/raw/types/business_away_message.py +1 -1
- pyrogram/raw/types/business_away_message_schedule_always.py +1 -1
- pyrogram/raw/types/business_away_message_schedule_custom.py +1 -1
- pyrogram/raw/types/business_away_message_schedule_outside_work_hours.py +1 -1
- pyrogram/raw/types/business_bot_recipients.py +1 -1
- pyrogram/raw/types/business_bot_rights.py +150 -0
- pyrogram/raw/types/business_chat_link.py +1 -1
- pyrogram/raw/types/business_greeting_message.py +1 -1
- pyrogram/raw/types/business_intro.py +1 -1
- pyrogram/raw/types/business_location.py +1 -1
- pyrogram/raw/types/business_recipients.py +1 -1
- pyrogram/raw/types/business_weekly_open.py +1 -1
- pyrogram/raw/types/business_work_hours.py +1 -1
- pyrogram/raw/types/cdn_config.py +1 -1
- pyrogram/raw/types/cdn_public_key.py +1 -1
- pyrogram/raw/types/channel.py +30 -6
- pyrogram/raw/types/channel_admin_log_event.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_about.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_available_reactions.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_emoji_status.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_emoji_sticker_set.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_history_ttl.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_linked_chat.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_location.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_peer_color.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_photo.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_profile_peer_color.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_sticker_set.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_theme.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_title.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_username.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_usernames.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_change_wallpaper.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_create_topic.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_default_banned_rights.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_delete_message.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_delete_topic.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_discard_group_call.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_edit_message.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_edit_topic.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_exported_invite_delete.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_exported_invite_edit.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_exported_invite_revoke.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_participant_invite.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_participant_join.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_invite.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_request.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_participant_leave.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_participant_mute.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_participant_sub_extend.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_admin.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_ban.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_participant_unmute.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_participant_volume.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_pin_topic.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_send_message.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_start_group_call.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_stop_poll.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_toggle_anti_spam.py +1 -1
- pyrogram/raw/types/{channel_admin_log_event_action_change_color.py → channel_admin_log_event_action_toggle_autotranslation.py} +13 -21
- pyrogram/raw/types/channel_admin_log_event_action_toggle_forum.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_toggle_group_call_setting.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_toggle_invites.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_toggle_no_forwards.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_toggle_pre_history_hidden.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_toggle_signature_profiles.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_toggle_signatures.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_toggle_slow_mode.py +1 -1
- pyrogram/raw/types/channel_admin_log_event_action_update_pinned.py +1 -1
- pyrogram/raw/types/channel_admin_log_events_filter.py +1 -1
- pyrogram/raw/types/channel_forbidden.py +1 -1
- pyrogram/raw/types/channel_full.py +37 -6
- pyrogram/raw/types/channel_location.py +1 -1
- pyrogram/raw/types/channel_location_empty.py +1 -1
- pyrogram/raw/types/channel_messages_filter.py +1 -1
- pyrogram/raw/types/channel_messages_filter_empty.py +1 -1
- pyrogram/raw/types/channel_participant.py +1 -1
- pyrogram/raw/types/channel_participant_admin.py +1 -1
- pyrogram/raw/types/channel_participant_banned.py +1 -1
- pyrogram/raw/types/channel_participant_creator.py +1 -1
- pyrogram/raw/types/channel_participant_left.py +1 -1
- pyrogram/raw/types/channel_participant_self.py +1 -1
- pyrogram/raw/types/channel_participants_admins.py +1 -1
- pyrogram/raw/types/channel_participants_banned.py +1 -1
- pyrogram/raw/types/channel_participants_bots.py +1 -1
- pyrogram/raw/types/channel_participants_contacts.py +1 -1
- pyrogram/raw/types/channel_participants_kicked.py +1 -1
- pyrogram/raw/types/channel_participants_mentions.py +1 -1
- pyrogram/raw/types/channel_participants_recent.py +1 -1
- pyrogram/raw/types/channel_participants_search.py +1 -1
- pyrogram/raw/types/channels/admin_log_results.py +1 -1
- pyrogram/raw/types/channels/channel_participant.py +1 -1
- pyrogram/raw/types/channels/channel_participants.py +1 -1
- pyrogram/raw/types/channels/channel_participants_not_modified.py +1 -1
- pyrogram/raw/types/channels/send_as_peers.py +1 -1
- pyrogram/raw/types/channels/sponsored_message_report_result_ads_hidden.py +1 -1
- pyrogram/raw/types/channels/sponsored_message_report_result_choose_option.py +1 -1
- pyrogram/raw/types/channels/sponsored_message_report_result_reported.py +1 -1
- pyrogram/raw/types/chat.py +1 -1
- pyrogram/raw/types/chat_admin_rights.py +1 -1
- pyrogram/raw/types/chat_admin_with_invites.py +1 -1
- pyrogram/raw/types/chat_banned_rights.py +1 -1
- pyrogram/raw/types/chat_empty.py +1 -1
- pyrogram/raw/types/chat_forbidden.py +1 -1
- pyrogram/raw/types/chat_full.py +1 -1
- pyrogram/raw/types/chat_invite.py +16 -6
- pyrogram/raw/types/chat_invite_already.py +1 -1
- pyrogram/raw/types/chat_invite_exported.py +1 -1
- pyrogram/raw/types/chat_invite_importer.py +1 -1
- pyrogram/raw/types/chat_invite_peek.py +1 -1
- pyrogram/raw/types/chat_invite_public_join_requests.py +1 -1
- pyrogram/raw/types/chat_onlines.py +1 -1
- pyrogram/raw/types/chat_participant.py +1 -1
- pyrogram/raw/types/chat_participant_admin.py +1 -1
- pyrogram/raw/types/chat_participant_creator.py +1 -1
- pyrogram/raw/types/chat_participants.py +1 -1
- pyrogram/raw/types/chat_participants_forbidden.py +1 -1
- pyrogram/raw/types/chat_photo.py +1 -1
- pyrogram/raw/types/chat_photo_empty.py +1 -1
- pyrogram/raw/types/chat_reactions_all.py +1 -1
- pyrogram/raw/types/chat_reactions_none.py +1 -1
- pyrogram/raw/types/chat_reactions_some.py +1 -1
- pyrogram/raw/types/chatlists/chatlist_invite.py +16 -10
- pyrogram/raw/types/chatlists/chatlist_invite_already.py +1 -1
- pyrogram/raw/types/chatlists/chatlist_updates.py +1 -1
- pyrogram/raw/types/chatlists/exported_chatlist_invite.py +1 -1
- pyrogram/raw/types/chatlists/exported_invites.py +1 -1
- pyrogram/raw/types/client_dh_inner_data.py +1 -1
- pyrogram/raw/types/code_settings.py +1 -1
- pyrogram/raw/types/config.py +1 -1
- pyrogram/raw/types/connected_bot.py +13 -10
- pyrogram/raw/types/connected_bot_star_ref.py +129 -0
- pyrogram/raw/types/contact.py +1 -1
- pyrogram/raw/types/contact_birthday.py +1 -1
- pyrogram/raw/types/contact_status.py +1 -1
- pyrogram/raw/types/contacts/__init__.py +2 -0
- pyrogram/raw/types/contacts/blocked.py +1 -1
- pyrogram/raw/types/contacts/blocked_slice.py +1 -1
- pyrogram/raw/types/contacts/contact_birthdays.py +1 -1
- pyrogram/raw/types/contacts/contacts.py +1 -1
- pyrogram/raw/types/contacts/contacts_not_modified.py +1 -1
- pyrogram/raw/types/contacts/found.py +1 -1
- pyrogram/raw/types/contacts/imported_contacts.py +1 -1
- pyrogram/raw/types/contacts/resolved_peer.py +1 -1
- pyrogram/raw/types/contacts/sponsored_peers.py +97 -0
- pyrogram/raw/types/contacts/sponsored_peers_empty.py +76 -0
- pyrogram/raw/types/contacts/top_peers.py +1 -1
- pyrogram/raw/types/contacts/top_peers_disabled.py +1 -1
- pyrogram/raw/types/contacts/top_peers_not_modified.py +1 -1
- pyrogram/raw/types/data_json.py +1 -1
- pyrogram/raw/types/dc_option.py +1 -1
- pyrogram/raw/types/default_history_ttl.py +1 -1
- pyrogram/raw/types/destroy_auth_key_fail.py +1 -1
- pyrogram/raw/types/destroy_auth_key_none.py +1 -1
- pyrogram/raw/types/destroy_auth_key_ok.py +1 -1
- pyrogram/raw/types/destroy_session_none.py +1 -1
- pyrogram/raw/types/destroy_session_ok.py +1 -1
- pyrogram/raw/types/dh_gen_fail.py +1 -1
- pyrogram/raw/types/dh_gen_ok.py +1 -1
- pyrogram/raw/types/dh_gen_retry.py +1 -1
- pyrogram/raw/types/dialog.py +1 -1
- pyrogram/raw/types/dialog_filter.py +16 -10
- pyrogram/raw/types/dialog_filter_chatlist.py +16 -10
- pyrogram/raw/types/dialog_filter_default.py +1 -1
- pyrogram/raw/types/dialog_filter_suggested.py +1 -1
- pyrogram/raw/types/dialog_folder.py +1 -1
- pyrogram/raw/types/dialog_peer.py +1 -1
- pyrogram/raw/types/dialog_peer_folder.py +1 -1
- pyrogram/raw/types/disallowed_gifts_settings.py +90 -0
- pyrogram/raw/types/document.py +1 -1
- pyrogram/raw/types/document_attribute_animated.py +1 -1
- pyrogram/raw/types/document_attribute_audio.py +1 -1
- pyrogram/raw/types/document_attribute_custom_emoji.py +1 -1
- pyrogram/raw/types/document_attribute_filename.py +1 -1
- pyrogram/raw/types/document_attribute_has_stickers.py +1 -1
- pyrogram/raw/types/document_attribute_image_size.py +1 -1
- pyrogram/raw/types/document_attribute_sticker.py +1 -1
- pyrogram/raw/types/document_attribute_video.py +1 -1
- pyrogram/raw/types/document_empty.py +1 -1
- pyrogram/raw/types/draft_message.py +1 -1
- pyrogram/raw/types/draft_message_empty.py +1 -1
- pyrogram/raw/types/email_verification_apple.py +1 -1
- pyrogram/raw/types/email_verification_code.py +1 -1
- pyrogram/raw/types/email_verification_google.py +1 -1
- pyrogram/raw/types/email_verify_purpose_login_change.py +1 -1
- pyrogram/raw/types/email_verify_purpose_login_setup.py +1 -1
- pyrogram/raw/types/email_verify_purpose_passport.py +1 -1
- pyrogram/raw/types/emoji_group.py +1 -1
- pyrogram/raw/types/emoji_group_greeting.py +1 -1
- pyrogram/raw/types/emoji_group_premium.py +1 -1
- pyrogram/raw/types/emoji_keyword.py +1 -1
- pyrogram/raw/types/emoji_keyword_deleted.py +1 -1
- pyrogram/raw/types/emoji_keywords_difference.py +1 -1
- pyrogram/raw/types/emoji_language.py +1 -1
- pyrogram/raw/types/emoji_list.py +1 -1
- pyrogram/raw/types/emoji_list_not_modified.py +1 -1
- pyrogram/raw/types/emoji_status.py +19 -8
- pyrogram/raw/types/emoji_status_collectible.py +147 -0
- pyrogram/raw/types/emoji_status_empty.py +1 -1
- pyrogram/raw/types/emoji_url.py +1 -1
- pyrogram/raw/types/encrypted_chat.py +1 -1
- pyrogram/raw/types/encrypted_chat_discarded.py +1 -1
- pyrogram/raw/types/encrypted_chat_empty.py +1 -1
- pyrogram/raw/types/encrypted_chat_requested.py +1 -1
- pyrogram/raw/types/encrypted_chat_waiting.py +1 -1
- pyrogram/raw/types/encrypted_file.py +1 -1
- pyrogram/raw/types/encrypted_file_empty.py +1 -1
- pyrogram/raw/types/encrypted_message.py +1 -1
- pyrogram/raw/types/encrypted_message_service.py +1 -1
- pyrogram/raw/types/exported_chatlist_invite.py +1 -1
- pyrogram/raw/types/exported_contact_token.py +1 -1
- pyrogram/raw/types/exported_message_link.py +1 -1
- pyrogram/raw/types/exported_story_link.py +1 -1
- pyrogram/raw/types/fact_check.py +1 -1
- pyrogram/raw/types/file_hash.py +1 -1
- pyrogram/raw/types/folder.py +1 -1
- pyrogram/raw/types/folder_peer.py +1 -1
- pyrogram/raw/types/forum_topic.py +1 -1
- pyrogram/raw/types/forum_topic_deleted.py +1 -1
- pyrogram/raw/types/found_story.py +1 -1
- pyrogram/raw/types/fragment/collectible_info.py +1 -1
- pyrogram/raw/types/game.py +1 -1
- pyrogram/raw/types/geo_point.py +1 -1
- pyrogram/raw/types/geo_point_address.py +1 -1
- pyrogram/raw/types/geo_point_empty.py +1 -1
- pyrogram/raw/types/global_privacy_settings.py +31 -6
- pyrogram/raw/types/group_call.py +27 -6
- pyrogram/raw/types/group_call_discarded.py +1 -1
- pyrogram/raw/types/group_call_participant.py +1 -1
- pyrogram/raw/types/group_call_participant_video.py +1 -1
- pyrogram/raw/types/group_call_participant_video_source_group.py +1 -1
- pyrogram/raw/types/group_call_stream_channel.py +1 -1
- pyrogram/raw/types/help/app_config.py +1 -1
- pyrogram/raw/types/help/app_config_not_modified.py +1 -1
- pyrogram/raw/types/help/app_update.py +1 -1
- pyrogram/raw/types/help/config_simple.py +1 -1
- pyrogram/raw/types/help/countries_list.py +1 -1
- pyrogram/raw/types/help/countries_list_not_modified.py +1 -1
- pyrogram/raw/types/help/country.py +1 -1
- pyrogram/raw/types/help/country_code.py +1 -1
- pyrogram/raw/types/help/deep_link_info.py +1 -1
- pyrogram/raw/types/help/deep_link_info_empty.py +1 -1
- pyrogram/raw/types/help/invite_text.py +1 -1
- pyrogram/raw/types/help/no_app_update.py +1 -1
- pyrogram/raw/types/help/passport_config.py +1 -1
- pyrogram/raw/types/help/passport_config_not_modified.py +1 -1
- pyrogram/raw/types/help/peer_color_option.py +1 -1
- pyrogram/raw/types/help/peer_color_profile_set.py +1 -1
- pyrogram/raw/types/help/peer_color_set.py +1 -1
- pyrogram/raw/types/help/peer_colors.py +1 -1
- pyrogram/raw/types/help/peer_colors_not_modified.py +1 -1
- pyrogram/raw/types/help/premium_promo.py +1 -1
- pyrogram/raw/types/help/promo_data.py +44 -16
- pyrogram/raw/types/help/promo_data_empty.py +1 -1
- pyrogram/raw/types/help/recent_me_urls.py +1 -1
- pyrogram/raw/types/help/support.py +1 -1
- pyrogram/raw/types/help/support_name.py +1 -1
- pyrogram/raw/types/help/terms_of_service.py +1 -1
- pyrogram/raw/types/help/terms_of_service_update.py +1 -1
- pyrogram/raw/types/help/terms_of_service_update_empty.py +1 -1
- pyrogram/raw/types/help/timezones_list.py +1 -1
- pyrogram/raw/types/help/timezones_list_not_modified.py +1 -1
- pyrogram/raw/types/help/user_info.py +1 -1
- pyrogram/raw/types/help/user_info_empty.py +1 -1
- pyrogram/raw/types/high_score.py +1 -1
- pyrogram/raw/types/http_wait.py +1 -1
- pyrogram/raw/types/imported_contact.py +1 -1
- pyrogram/raw/types/inline_bot_switch_pm.py +1 -1
- pyrogram/raw/types/inline_bot_web_view.py +1 -1
- pyrogram/raw/types/inline_query_peer_type_bot_pm.py +1 -1
- pyrogram/raw/types/inline_query_peer_type_broadcast.py +1 -1
- pyrogram/raw/types/inline_query_peer_type_chat.py +1 -1
- pyrogram/raw/types/inline_query_peer_type_megagroup.py +1 -1
- pyrogram/raw/types/inline_query_peer_type_pm.py +1 -1
- pyrogram/raw/types/inline_query_peer_type_same_bot_pm.py +1 -1
- pyrogram/raw/types/input_app_event.py +1 -1
- pyrogram/raw/types/input_bot_app_id.py +1 -1
- pyrogram/raw/types/input_bot_app_short_name.py +1 -1
- pyrogram/raw/types/input_bot_inline_message_game.py +1 -1
- pyrogram/raw/types/input_bot_inline_message_id.py +1 -1
- pyrogram/raw/types/input_bot_inline_message_id64.py +1 -1
- pyrogram/raw/types/input_bot_inline_message_media_auto.py +1 -1
- pyrogram/raw/types/input_bot_inline_message_media_contact.py +1 -1
- pyrogram/raw/types/input_bot_inline_message_media_geo.py +1 -1
- pyrogram/raw/types/input_bot_inline_message_media_invoice.py +1 -1
- pyrogram/raw/types/input_bot_inline_message_media_venue.py +1 -1
- pyrogram/raw/types/input_bot_inline_message_media_web_page.py +1 -1
- pyrogram/raw/types/input_bot_inline_message_text.py +1 -1
- pyrogram/raw/types/input_bot_inline_result.py +1 -1
- pyrogram/raw/types/input_bot_inline_result_document.py +1 -1
- pyrogram/raw/types/input_bot_inline_result_game.py +1 -1
- pyrogram/raw/types/input_bot_inline_result_photo.py +1 -1
- pyrogram/raw/types/input_business_away_message.py +1 -1
- pyrogram/raw/types/input_business_bot_recipients.py +1 -1
- pyrogram/raw/types/input_business_chat_link.py +1 -1
- pyrogram/raw/types/input_business_greeting_message.py +1 -1
- pyrogram/raw/types/input_business_intro.py +1 -1
- pyrogram/raw/types/input_business_recipients.py +1 -1
- pyrogram/raw/types/input_channel.py +1 -1
- pyrogram/raw/types/input_channel_empty.py +1 -1
- pyrogram/raw/types/input_channel_from_message.py +1 -1
- pyrogram/raw/types/input_chat_photo.py +1 -1
- pyrogram/raw/types/input_chat_photo_empty.py +1 -1
- pyrogram/raw/types/input_chat_uploaded_photo.py +1 -1
- pyrogram/raw/types/input_chatlist_dialog_filter.py +1 -1
- pyrogram/raw/types/input_check_password_empty.py +1 -1
- pyrogram/raw/types/input_check_password_srp.py +1 -1
- pyrogram/raw/types/input_client_proxy.py +1 -1
- pyrogram/raw/types/input_collectible_phone.py +1 -1
- pyrogram/raw/types/input_collectible_username.py +1 -1
- pyrogram/raw/types/input_dialog_peer.py +1 -1
- pyrogram/raw/types/input_dialog_peer_folder.py +1 -1
- pyrogram/raw/types/input_document.py +1 -1
- pyrogram/raw/types/input_document_empty.py +1 -1
- pyrogram/raw/types/input_document_file_location.py +1 -1
- pyrogram/raw/types/input_emoji_status_collectible.py +83 -0
- pyrogram/raw/types/input_encrypted_chat.py +1 -1
- pyrogram/raw/types/input_encrypted_file.py +1 -1
- pyrogram/raw/types/input_encrypted_file_big_uploaded.py +1 -1
- pyrogram/raw/types/input_encrypted_file_empty.py +1 -1
- pyrogram/raw/types/input_encrypted_file_location.py +1 -1
- pyrogram/raw/types/input_encrypted_file_uploaded.py +1 -1
- pyrogram/raw/types/input_file.py +1 -1
- pyrogram/raw/types/input_file_big.py +1 -1
- pyrogram/raw/types/input_file_location.py +1 -1
- pyrogram/raw/types/input_file_story_document.py +1 -1
- pyrogram/raw/types/input_folder_peer.py +1 -1
- pyrogram/raw/types/input_game_id.py +1 -1
- pyrogram/raw/types/input_game_short_name.py +1 -1
- pyrogram/raw/types/input_geo_point.py +1 -1
- pyrogram/raw/types/input_geo_point_empty.py +1 -1
- pyrogram/raw/types/input_group_call.py +1 -1
- pyrogram/raw/types/input_group_call_invite_message.py +72 -0
- pyrogram/raw/types/{app_web_view_result_url.py → input_group_call_slug.py} +14 -14
- pyrogram/raw/types/input_group_call_stream.py +1 -1
- pyrogram/raw/types/input_invoice_business_bot_transfer_stars.py +80 -0
- pyrogram/raw/types/input_invoice_chat_invite_subscription.py +1 -1
- pyrogram/raw/types/input_invoice_message.py +1 -1
- pyrogram/raw/types/input_invoice_premium_gift_code.py +1 -1
- pyrogram/raw/types/input_invoice_premium_gift_stars.py +92 -0
- pyrogram/raw/types/input_invoice_slug.py +1 -1
- pyrogram/raw/types/input_invoice_star_gift.py +16 -10
- pyrogram/raw/types/input_invoice_star_gift_resale.py +80 -0
- pyrogram/raw/types/input_invoice_star_gift_transfer.py +80 -0
- pyrogram/raw/types/input_invoice_star_gift_upgrade.py +80 -0
- pyrogram/raw/types/input_invoice_stars.py +1 -1
- pyrogram/raw/types/input_keyboard_button_request_peer.py +1 -1
- pyrogram/raw/types/input_keyboard_button_url_auth.py +1 -1
- pyrogram/raw/types/input_keyboard_button_user_profile.py +1 -1
- pyrogram/raw/types/input_media_area_channel_post.py +1 -1
- pyrogram/raw/types/input_media_area_venue.py +1 -1
- pyrogram/raw/types/input_media_contact.py +1 -1
- pyrogram/raw/types/input_media_dice.py +1 -1
- pyrogram/raw/types/input_media_document.py +25 -6
- pyrogram/raw/types/input_media_document_external.py +25 -6
- pyrogram/raw/types/input_media_empty.py +1 -1
- pyrogram/raw/types/input_media_game.py +1 -1
- pyrogram/raw/types/input_media_geo_live.py +1 -1
- pyrogram/raw/types/input_media_geo_point.py +1 -1
- pyrogram/raw/types/input_media_invoice.py +1 -1
- pyrogram/raw/types/input_media_paid_media.py +1 -1
- pyrogram/raw/types/input_media_photo.py +1 -1
- pyrogram/raw/types/input_media_photo_external.py +1 -1
- pyrogram/raw/types/input_media_poll.py +1 -1
- pyrogram/raw/types/input_media_story.py +1 -1
- pyrogram/raw/types/input_media_uploaded_document.py +25 -6
- pyrogram/raw/types/input_media_uploaded_photo.py +1 -1
- pyrogram/raw/types/input_media_venue.py +1 -1
- pyrogram/raw/types/input_media_web_page.py +1 -1
- pyrogram/raw/types/input_message_callback_query.py +1 -1
- pyrogram/raw/types/input_message_entity_mention_name.py +1 -1
- pyrogram/raw/types/input_message_id.py +1 -1
- pyrogram/raw/types/input_message_pinned.py +1 -1
- pyrogram/raw/types/input_message_reply_to.py +1 -1
- pyrogram/raw/types/input_messages_filter_chat_photos.py +1 -1
- pyrogram/raw/types/input_messages_filter_contacts.py +1 -1
- pyrogram/raw/types/input_messages_filter_document.py +1 -1
- pyrogram/raw/types/input_messages_filter_empty.py +1 -1
- pyrogram/raw/types/input_messages_filter_geo.py +1 -1
- pyrogram/raw/types/input_messages_filter_gif.py +1 -1
- pyrogram/raw/types/input_messages_filter_music.py +1 -1
- pyrogram/raw/types/input_messages_filter_my_mentions.py +1 -1
- pyrogram/raw/types/input_messages_filter_phone_calls.py +1 -1
- pyrogram/raw/types/input_messages_filter_photo_video.py +1 -1
- pyrogram/raw/types/input_messages_filter_photo_video_documents.py +1 -1
- pyrogram/raw/types/input_messages_filter_photos.py +1 -1
- pyrogram/raw/types/input_messages_filter_pinned.py +1 -1
- pyrogram/raw/types/input_messages_filter_round_video.py +1 -1
- pyrogram/raw/types/input_messages_filter_round_voice.py +1 -1
- pyrogram/raw/types/input_messages_filter_url.py +1 -1
- pyrogram/raw/types/input_messages_filter_video.py +1 -1
- pyrogram/raw/types/input_messages_filter_voice.py +1 -1
- pyrogram/raw/types/input_notify_broadcasts.py +1 -1
- pyrogram/raw/types/input_notify_chats.py +1 -1
- pyrogram/raw/types/input_notify_forum_topic.py +1 -1
- pyrogram/raw/types/input_notify_peer.py +1 -1
- pyrogram/raw/types/input_notify_users.py +1 -1
- pyrogram/raw/types/input_payment_credentials.py +1 -1
- pyrogram/raw/types/input_payment_credentials_apple_pay.py +1 -1
- pyrogram/raw/types/input_payment_credentials_google_pay.py +1 -1
- pyrogram/raw/types/input_payment_credentials_saved.py +1 -1
- pyrogram/raw/types/input_peer_channel.py +1 -1
- pyrogram/raw/types/input_peer_channel_from_message.py +1 -1
- pyrogram/raw/types/input_peer_chat.py +1 -1
- pyrogram/raw/types/input_peer_empty.py +1 -1
- pyrogram/raw/types/input_peer_notify_settings.py +1 -1
- pyrogram/raw/types/input_peer_photo_file_location.py +1 -1
- pyrogram/raw/types/input_peer_self.py +1 -1
- pyrogram/raw/types/input_peer_user.py +1 -1
- pyrogram/raw/types/input_peer_user_from_message.py +1 -1
- pyrogram/raw/types/input_phone_call.py +1 -1
- pyrogram/raw/types/input_phone_contact.py +1 -1
- pyrogram/raw/types/input_photo.py +1 -1
- pyrogram/raw/types/input_photo_empty.py +1 -1
- pyrogram/raw/types/input_photo_file_location.py +1 -1
- pyrogram/raw/types/input_photo_legacy_file_location.py +1 -1
- pyrogram/raw/types/input_privacy_key_about.py +1 -1
- pyrogram/raw/types/input_privacy_key_added_by_phone.py +1 -1
- pyrogram/raw/types/input_privacy_key_birthday.py +1 -1
- pyrogram/raw/types/input_privacy_key_chat_invite.py +1 -1
- pyrogram/raw/types/input_privacy_key_forwards.py +1 -1
- pyrogram/raw/types/{message_action_attach_menu_bot_allowed.py → input_privacy_key_no_paid_messages.py} +8 -8
- pyrogram/raw/types/input_privacy_key_phone_call.py +1 -1
- pyrogram/raw/types/input_privacy_key_phone_number.py +1 -1
- pyrogram/raw/types/input_privacy_key_phone_p2_p.py +1 -1
- pyrogram/raw/types/input_privacy_key_profile_photo.py +1 -1
- pyrogram/raw/types/input_privacy_key_star_gifts_auto_save.py +1 -1
- pyrogram/raw/types/input_privacy_key_status_timestamp.py +1 -1
- pyrogram/raw/types/input_privacy_key_voice_messages.py +1 -1
- pyrogram/raw/types/input_privacy_value_allow_all.py +1 -1
- pyrogram/raw/types/input_privacy_value_allow_bots.py +1 -1
- pyrogram/raw/types/input_privacy_value_allow_chat_participants.py +1 -1
- pyrogram/raw/types/input_privacy_value_allow_close_friends.py +1 -1
- pyrogram/raw/types/input_privacy_value_allow_contacts.py +1 -1
- pyrogram/raw/types/input_privacy_value_allow_premium.py +1 -1
- pyrogram/raw/types/input_privacy_value_allow_users.py +1 -1
- pyrogram/raw/types/input_privacy_value_disallow_all.py +1 -1
- pyrogram/raw/types/input_privacy_value_disallow_bots.py +1 -1
- pyrogram/raw/types/input_privacy_value_disallow_chat_participants.py +1 -1
- pyrogram/raw/types/input_privacy_value_disallow_contacts.py +1 -1
- pyrogram/raw/types/input_privacy_value_disallow_users.py +1 -1
- pyrogram/raw/types/input_quick_reply_shortcut.py +1 -1
- pyrogram/raw/types/input_quick_reply_shortcut_id.py +1 -1
- pyrogram/raw/types/input_reply_to_message.py +1 -1
- pyrogram/raw/types/input_reply_to_story.py +1 -1
- pyrogram/raw/types/input_report_reason_child_abuse.py +1 -1
- pyrogram/raw/types/input_report_reason_copyright.py +1 -1
- pyrogram/raw/types/input_report_reason_fake.py +1 -1
- pyrogram/raw/types/input_report_reason_geo_irrelevant.py +1 -1
- pyrogram/raw/types/input_report_reason_illegal_drugs.py +1 -1
- pyrogram/raw/types/input_report_reason_other.py +1 -1
- pyrogram/raw/types/input_report_reason_personal_details.py +1 -1
- pyrogram/raw/types/input_report_reason_pornography.py +1 -1
- pyrogram/raw/types/input_report_reason_spam.py +1 -1
- pyrogram/raw/types/input_report_reason_violence.py +1 -1
- pyrogram/raw/types/input_saved_star_gift_chat.py +80 -0
- pyrogram/raw/types/input_saved_star_gift_slug.py +72 -0
- pyrogram/raw/types/input_saved_star_gift_user.py +72 -0
- pyrogram/raw/types/input_secure_file.py +1 -1
- pyrogram/raw/types/input_secure_file_location.py +1 -1
- pyrogram/raw/types/input_secure_file_uploaded.py +1 -1
- pyrogram/raw/types/input_secure_value.py +1 -1
- pyrogram/raw/types/input_single_media.py +1 -1
- pyrogram/raw/types/input_stars_transaction.py +1 -1
- pyrogram/raw/types/input_sticker_set_animated_emoji.py +1 -1
- pyrogram/raw/types/input_sticker_set_animated_emoji_animations.py +1 -1
- pyrogram/raw/types/input_sticker_set_dice.py +1 -1
- pyrogram/raw/types/input_sticker_set_emoji_channel_default_statuses.py +1 -1
- pyrogram/raw/types/input_sticker_set_emoji_default_statuses.py +1 -1
- pyrogram/raw/types/input_sticker_set_emoji_default_topic_icons.py +1 -1
- pyrogram/raw/types/input_sticker_set_emoji_generic_animations.py +1 -1
- pyrogram/raw/types/input_sticker_set_empty.py +1 -1
- pyrogram/raw/types/input_sticker_set_id.py +1 -1
- pyrogram/raw/types/input_sticker_set_item.py +1 -1
- pyrogram/raw/types/input_sticker_set_premium_gifts.py +1 -1
- pyrogram/raw/types/input_sticker_set_short_name.py +1 -1
- pyrogram/raw/types/input_sticker_set_thumb.py +1 -1
- pyrogram/raw/types/input_stickered_media_document.py +1 -1
- pyrogram/raw/types/input_stickered_media_photo.py +1 -1
- pyrogram/raw/types/input_store_payment_auth_code.py +104 -0
- pyrogram/raw/types/input_store_payment_gift_premium.py +1 -1
- pyrogram/raw/types/input_store_payment_premium_gift_code.py +1 -1
- pyrogram/raw/types/input_store_payment_premium_giveaway.py +1 -1
- pyrogram/raw/types/input_store_payment_premium_subscription.py +1 -1
- pyrogram/raw/types/input_store_payment_stars_gift.py +1 -1
- pyrogram/raw/types/input_store_payment_stars_giveaway.py +1 -1
- pyrogram/raw/types/input_store_payment_stars_topup.py +1 -1
- pyrogram/raw/types/input_takeout_file_location.py +1 -1
- pyrogram/raw/types/input_theme.py +1 -1
- pyrogram/raw/types/input_theme_settings.py +1 -1
- pyrogram/raw/types/input_theme_slug.py +1 -1
- pyrogram/raw/types/input_user.py +1 -1
- pyrogram/raw/types/input_user_empty.py +1 -1
- pyrogram/raw/types/input_user_from_message.py +1 -1
- pyrogram/raw/types/input_user_self.py +1 -1
- pyrogram/raw/types/input_wall_paper.py +1 -1
- pyrogram/raw/types/input_wall_paper_no_file.py +1 -1
- pyrogram/raw/types/input_wall_paper_slug.py +1 -1
- pyrogram/raw/types/input_web_document.py +1 -1
- pyrogram/raw/types/input_web_file_audio_album_thumb_location.py +1 -1
- pyrogram/raw/types/input_web_file_geo_point_location.py +1 -1
- pyrogram/raw/types/input_web_file_location.py +1 -1
- pyrogram/raw/types/invoice.py +1 -1
- pyrogram/raw/types/ip_port.py +1 -1
- pyrogram/raw/types/ip_port_secret.py +1 -1
- pyrogram/raw/types/json_array.py +1 -1
- pyrogram/raw/types/json_bool.py +1 -1
- pyrogram/raw/types/json_null.py +1 -1
- pyrogram/raw/types/json_number.py +1 -1
- pyrogram/raw/types/json_object.py +1 -1
- pyrogram/raw/types/json_object_value.py +1 -1
- pyrogram/raw/types/json_string.py +1 -1
- pyrogram/raw/types/keyboard_button.py +1 -1
- pyrogram/raw/types/keyboard_button_buy.py +1 -1
- pyrogram/raw/types/keyboard_button_callback.py +1 -1
- pyrogram/raw/types/keyboard_button_copy.py +1 -1
- pyrogram/raw/types/keyboard_button_game.py +1 -1
- pyrogram/raw/types/keyboard_button_request_geo_location.py +1 -1
- pyrogram/raw/types/keyboard_button_request_peer.py +1 -1
- pyrogram/raw/types/keyboard_button_request_phone.py +1 -1
- pyrogram/raw/types/keyboard_button_request_poll.py +1 -1
- pyrogram/raw/types/keyboard_button_row.py +1 -1
- pyrogram/raw/types/keyboard_button_simple_web_view.py +1 -1
- pyrogram/raw/types/keyboard_button_switch_inline.py +1 -1
- pyrogram/raw/types/keyboard_button_url.py +1 -1
- pyrogram/raw/types/keyboard_button_url_auth.py +1 -1
- pyrogram/raw/types/keyboard_button_user_profile.py +1 -1
- pyrogram/raw/types/keyboard_button_web_view.py +1 -1
- pyrogram/raw/types/labeled_price.py +1 -1
- pyrogram/raw/types/lang_pack_difference.py +1 -1
- pyrogram/raw/types/lang_pack_language.py +1 -1
- pyrogram/raw/types/lang_pack_string.py +1 -1
- pyrogram/raw/types/lang_pack_string_deleted.py +1 -1
- pyrogram/raw/types/lang_pack_string_pluralized.py +1 -1
- pyrogram/raw/types/mask_coords.py +1 -1
- pyrogram/raw/types/media_area_channel_post.py +1 -1
- pyrogram/raw/types/media_area_coordinates.py +1 -1
- pyrogram/raw/types/media_area_geo_point.py +1 -1
- pyrogram/raw/types/media_area_star_gift.py +80 -0
- pyrogram/raw/types/media_area_suggested_reaction.py +1 -1
- pyrogram/raw/types/media_area_url.py +1 -1
- pyrogram/raw/types/media_area_venue.py +1 -1
- pyrogram/raw/types/media_area_weather.py +1 -1
- pyrogram/raw/types/message.py +24 -6
- pyrogram/raw/types/message_action_boost_apply.py +1 -1
- pyrogram/raw/types/message_action_bot_allowed.py +1 -1
- pyrogram/raw/types/message_action_channel_create.py +1 -1
- pyrogram/raw/types/message_action_channel_migrate_from.py +1 -1
- pyrogram/raw/types/message_action_chat_add_user.py +1 -1
- pyrogram/raw/types/message_action_chat_create.py +1 -1
- pyrogram/raw/types/message_action_chat_delete_photo.py +1 -1
- pyrogram/raw/types/message_action_chat_delete_user.py +1 -1
- pyrogram/raw/types/message_action_chat_edit_photo.py +1 -1
- pyrogram/raw/types/message_action_chat_edit_title.py +1 -1
- pyrogram/raw/types/message_action_chat_joined_by_link.py +1 -1
- pyrogram/raw/types/message_action_chat_joined_by_request.py +1 -1
- pyrogram/raw/types/message_action_chat_migrate_to.py +1 -1
- pyrogram/raw/types/message_action_conference_call.py +111 -0
- pyrogram/raw/types/message_action_contact_sign_up.py +1 -1
- pyrogram/raw/types/message_action_created_broadcast_list.py +1 -1
- pyrogram/raw/types/message_action_custom_action.py +1 -1
- pyrogram/raw/types/message_action_empty.py +1 -1
- pyrogram/raw/types/message_action_game_score.py +1 -1
- pyrogram/raw/types/message_action_geo_proximity_reached.py +1 -1
- pyrogram/raw/types/message_action_gift_code.py +4 -4
- pyrogram/raw/types/message_action_gift_premium.py +1 -1
- pyrogram/raw/types/message_action_gift_stars.py +1 -1
- pyrogram/raw/types/message_action_giveaway_launch.py +1 -1
- pyrogram/raw/types/message_action_giveaway_results.py +1 -1
- pyrogram/raw/types/message_action_group_call.py +1 -1
- pyrogram/raw/types/message_action_group_call_scheduled.py +1 -1
- pyrogram/raw/types/message_action_history_clear.py +1 -1
- pyrogram/raw/types/message_action_invite_to_group_call.py +1 -1
- pyrogram/raw/types/message_action_login_unknown_location.py +1 -1
- pyrogram/raw/types/{message_action_set_same_chat_wall_paper.py → message_action_paid_messages_price.py} +13 -13
- pyrogram/raw/types/message_action_paid_messages_refunded.py +80 -0
- pyrogram/raw/types/message_action_payment_refunded.py +1 -1
- pyrogram/raw/types/message_action_payment_sent.py +15 -6
- pyrogram/raw/types/message_action_payment_sent_me.py +15 -6
- pyrogram/raw/types/message_action_phone_call.py +1 -1
- pyrogram/raw/types/message_action_phone_number_request.py +1 -1
- pyrogram/raw/types/message_action_pin_message.py +1 -1
- pyrogram/raw/types/message_action_prize_stars.py +1 -1
- pyrogram/raw/types/message_action_requested_peer.py +1 -1
- pyrogram/raw/types/message_action_requested_peer_sent_me.py +1 -1
- pyrogram/raw/types/message_action_screenshot_taken.py +1 -1
- pyrogram/raw/types/message_action_secure_values_sent.py +1 -1
- pyrogram/raw/types/message_action_secure_values_sent_me.py +1 -1
- pyrogram/raw/types/message_action_set_chat_theme.py +1 -1
- pyrogram/raw/types/message_action_set_chat_wall_paper.py +1 -1
- pyrogram/raw/types/message_action_set_messages_ttl.py +1 -1
- pyrogram/raw/types/message_action_star_gift.py +77 -6
- pyrogram/raw/types/message_action_star_gift_unique.py +172 -0
- pyrogram/raw/types/message_action_suggest_profile_photo.py +1 -1
- pyrogram/raw/types/message_action_topic_create.py +1 -1
- pyrogram/raw/types/message_action_topic_edit.py +1 -1
- pyrogram/raw/types/message_action_ttl_change.py +1 -1
- pyrogram/raw/types/message_action_user_joined.py +1 -1
- pyrogram/raw/types/message_action_user_updated_photo.py +1 -1
- pyrogram/raw/types/message_action_web_view_data_sent.py +1 -1
- pyrogram/raw/types/message_action_web_view_data_sent_me.py +1 -1
- pyrogram/raw/types/message_empty.py +1 -1
- pyrogram/raw/types/message_entity_bank_card.py +1 -1
- pyrogram/raw/types/message_entity_blockquote.py +1 -1
- pyrogram/raw/types/message_entity_bold.py +1 -1
- pyrogram/raw/types/message_entity_bot_command.py +1 -1
- pyrogram/raw/types/message_entity_cashtag.py +1 -1
- pyrogram/raw/types/message_entity_code.py +1 -1
- pyrogram/raw/types/message_entity_custom_emoji.py +1 -1
- pyrogram/raw/types/message_entity_email.py +1 -1
- pyrogram/raw/types/message_entity_hashtag.py +1 -1
- pyrogram/raw/types/message_entity_italic.py +1 -1
- pyrogram/raw/types/message_entity_mention.py +1 -1
- pyrogram/raw/types/message_entity_mention_name.py +1 -1
- pyrogram/raw/types/message_entity_phone.py +1 -1
- pyrogram/raw/types/message_entity_pre.py +1 -1
- pyrogram/raw/types/message_entity_spoiler.py +1 -1
- pyrogram/raw/types/message_entity_strike.py +1 -1
- pyrogram/raw/types/message_entity_text_url.py +1 -1
- pyrogram/raw/types/message_entity_underline.py +1 -1
- pyrogram/raw/types/message_entity_unknown.py +1 -1
- pyrogram/raw/types/message_entity_url.py +1 -1
- pyrogram/raw/types/message_extended_media.py +1 -1
- pyrogram/raw/types/message_extended_media_preview.py +1 -1
- pyrogram/raw/types/message_fwd_header.py +1 -1
- pyrogram/raw/types/message_media_contact.py +2 -3
- pyrogram/raw/types/message_media_dice.py +2 -3
- pyrogram/raw/types/message_media_document.py +26 -8
- pyrogram/raw/types/message_media_empty.py +2 -3
- pyrogram/raw/types/message_media_game.py +2 -3
- pyrogram/raw/types/message_media_geo.py +2 -3
- pyrogram/raw/types/message_media_geo_live.py +2 -3
- pyrogram/raw/types/message_media_giveaway.py +2 -3
- pyrogram/raw/types/message_media_giveaway_results.py +2 -3
- pyrogram/raw/types/message_media_invoice.py +2 -3
- pyrogram/raw/types/message_media_paid_media.py +2 -3
- pyrogram/raw/types/message_media_photo.py +2 -3
- pyrogram/raw/types/message_media_poll.py +2 -3
- pyrogram/raw/types/message_media_story.py +2 -3
- pyrogram/raw/types/message_media_unsupported.py +2 -3
- pyrogram/raw/types/message_media_venue.py +2 -3
- pyrogram/raw/types/message_media_web_page.py +2 -3
- pyrogram/raw/types/message_peer_reaction.py +1 -1
- pyrogram/raw/types/message_peer_vote.py +1 -1
- pyrogram/raw/types/message_peer_vote_input_option.py +1 -1
- pyrogram/raw/types/message_peer_vote_multiple.py +1 -1
- pyrogram/raw/types/message_range.py +1 -1
- pyrogram/raw/types/message_reactions.py +1 -1
- pyrogram/raw/types/message_reactor.py +1 -1
- pyrogram/raw/types/message_replies.py +1 -1
- pyrogram/raw/types/message_reply_header.py +1 -1
- pyrogram/raw/types/message_reply_story_header.py +1 -1
- pyrogram/raw/types/message_report_option.py +1 -1
- pyrogram/raw/types/message_service.py +22 -6
- pyrogram/raw/types/message_views.py +1 -1
- pyrogram/raw/types/messages/__init__.py +5 -2
- pyrogram/raw/types/messages/affected_found_messages.py +1 -1
- pyrogram/raw/types/messages/affected_history.py +1 -1
- pyrogram/raw/types/messages/affected_messages.py +1 -1
- pyrogram/raw/types/messages/all_stickers.py +1 -1
- pyrogram/raw/types/messages/all_stickers_not_modified.py +1 -1
- pyrogram/raw/types/messages/archived_stickers.py +1 -1
- pyrogram/raw/types/messages/available_effects.py +1 -1
- pyrogram/raw/types/messages/available_effects_not_modified.py +1 -1
- pyrogram/raw/types/messages/available_reactions.py +1 -1
- pyrogram/raw/types/messages/available_reactions_not_modified.py +1 -1
- pyrogram/raw/types/messages/bot_app.py +1 -1
- pyrogram/raw/types/messages/bot_callback_answer.py +1 -1
- pyrogram/raw/types/messages/bot_prepared_inline_message.py +1 -1
- pyrogram/raw/types/messages/bot_results.py +1 -1
- pyrogram/raw/types/messages/channel_messages.py +1 -1
- pyrogram/raw/types/messages/chat_admins_with_invites.py +1 -1
- pyrogram/raw/types/messages/chat_full.py +1 -1
- pyrogram/raw/types/messages/chat_invite_importers.py +1 -1
- pyrogram/raw/types/messages/chats.py +1 -1
- pyrogram/raw/types/messages/chats_slice.py +1 -1
- pyrogram/raw/types/messages/checked_history_import_peer.py +1 -1
- pyrogram/raw/types/messages/dh_config.py +1 -1
- pyrogram/raw/types/messages/dh_config_not_modified.py +1 -1
- pyrogram/raw/types/messages/dialog_filters.py +1 -1
- pyrogram/raw/types/messages/dialogs.py +1 -1
- pyrogram/raw/types/messages/dialogs_not_modified.py +1 -1
- pyrogram/raw/types/messages/dialogs_slice.py +1 -1
- pyrogram/raw/types/messages/discussion_message.py +1 -1
- pyrogram/raw/types/messages/emoji_groups.py +1 -1
- pyrogram/raw/types/messages/emoji_groups_not_modified.py +1 -1
- pyrogram/raw/types/messages/exported_chat_invite.py +1 -1
- pyrogram/raw/types/messages/exported_chat_invite_replaced.py +1 -1
- pyrogram/raw/types/messages/exported_chat_invites.py +1 -1
- pyrogram/raw/types/messages/faved_stickers.py +1 -1
- pyrogram/raw/types/messages/faved_stickers_not_modified.py +1 -1
- pyrogram/raw/types/messages/featured_stickers.py +1 -1
- pyrogram/raw/types/messages/featured_stickers_not_modified.py +1 -1
- pyrogram/raw/types/messages/forum_topics.py +1 -1
- pyrogram/raw/types/messages/found_sticker_sets.py +1 -1
- pyrogram/raw/types/messages/found_sticker_sets_not_modified.py +1 -1
- pyrogram/raw/types/messages/found_stickers.py +100 -0
- pyrogram/raw/types/messages/found_stickers_not_modified.py +84 -0
- pyrogram/raw/types/messages/high_scores.py +1 -1
- pyrogram/raw/types/messages/history_import.py +1 -1
- pyrogram/raw/types/messages/history_import_parsed.py +1 -1
- pyrogram/raw/types/messages/inactive_chats.py +1 -1
- pyrogram/raw/types/messages/invited_users.py +1 -1
- pyrogram/raw/types/messages/message_edit_data.py +1 -1
- pyrogram/raw/types/messages/message_empty.py +1 -1
- pyrogram/raw/types/messages/message_reactions_list.py +1 -1
- pyrogram/raw/types/messages/message_views.py +1 -1
- pyrogram/raw/types/messages/messages.py +1 -1
- pyrogram/raw/types/messages/messages_not_modified.py +1 -1
- pyrogram/raw/types/messages/messages_slice.py +1 -1
- pyrogram/raw/types/messages/my_stickers.py +1 -1
- pyrogram/raw/types/messages/peer_dialogs.py +1 -1
- pyrogram/raw/types/messages/peer_settings.py +1 -1
- pyrogram/raw/types/messages/prepared_inline_message.py +1 -1
- pyrogram/raw/types/messages/quick_replies.py +1 -1
- pyrogram/raw/types/messages/quick_replies_not_modified.py +1 -1
- pyrogram/raw/types/messages/reactions.py +1 -1
- pyrogram/raw/types/messages/reactions_not_modified.py +1 -1
- pyrogram/raw/types/messages/recent_stickers.py +1 -1
- pyrogram/raw/types/messages/recent_stickers_not_modified.py +1 -1
- pyrogram/raw/types/messages/saved_dialogs.py +1 -1
- pyrogram/raw/types/messages/saved_dialogs_not_modified.py +1 -1
- pyrogram/raw/types/messages/saved_dialogs_slice.py +1 -1
- pyrogram/raw/types/messages/saved_gifs.py +1 -1
- pyrogram/raw/types/messages/saved_gifs_not_modified.py +1 -1
- pyrogram/raw/types/messages/saved_reaction_tags.py +1 -1
- pyrogram/raw/types/messages/saved_reaction_tags_not_modified.py +1 -1
- pyrogram/raw/types/messages/search_counter.py +1 -1
- pyrogram/raw/types/messages/search_results_calendar.py +1 -1
- pyrogram/raw/types/messages/search_results_positions.py +1 -1
- pyrogram/raw/types/messages/sent_encrypted_file.py +1 -1
- pyrogram/raw/types/messages/sent_encrypted_message.py +1 -1
- pyrogram/raw/types/messages/sponsored_messages.py +1 -1
- pyrogram/raw/types/messages/sponsored_messages_empty.py +1 -1
- pyrogram/raw/types/messages/sticker_set.py +1 -1
- pyrogram/raw/types/messages/sticker_set_install_result_archive.py +1 -1
- pyrogram/raw/types/messages/sticker_set_install_result_success.py +1 -1
- pyrogram/raw/types/messages/sticker_set_not_modified.py +1 -1
- pyrogram/raw/types/messages/stickers.py +1 -1
- pyrogram/raw/types/messages/stickers_not_modified.py +1 -1
- pyrogram/raw/types/messages/transcribed_audio.py +1 -1
- pyrogram/raw/types/messages/translate_result.py +1 -1
- pyrogram/raw/types/messages/votes_list.py +1 -1
- pyrogram/raw/types/messages/web_page.py +1 -1
- pyrogram/raw/types/messages/web_page_preview.py +89 -0
- pyrogram/raw/types/messages/web_view_result.py +1 -1
- pyrogram/raw/types/missing_invitee.py +1 -1
- pyrogram/raw/types/msg_detailed_info.py +1 -1
- pyrogram/raw/types/msg_new_detailed_info.py +1 -1
- pyrogram/raw/types/msg_resend_ans_req.py +1 -1
- pyrogram/raw/types/msg_resend_req.py +1 -1
- pyrogram/raw/types/msgs_ack.py +1 -1
- pyrogram/raw/types/msgs_all_info.py +1 -1
- pyrogram/raw/types/msgs_state_info.py +1 -1
- pyrogram/raw/types/msgs_state_req.py +1 -1
- pyrogram/raw/types/my_boost.py +1 -1
- pyrogram/raw/types/nearest_dc.py +1 -1
- pyrogram/raw/types/new_session_created.py +1 -1
- pyrogram/raw/types/notification_sound_default.py +1 -1
- pyrogram/raw/types/notification_sound_local.py +1 -1
- pyrogram/raw/types/notification_sound_none.py +1 -1
- pyrogram/raw/types/notification_sound_ringtone.py +1 -1
- pyrogram/raw/types/notify_broadcasts.py +1 -1
- pyrogram/raw/types/notify_chats.py +1 -1
- pyrogram/raw/types/notify_forum_topic.py +1 -1
- pyrogram/raw/types/notify_peer.py +1 -1
- pyrogram/raw/types/notify_users.py +1 -1
- pyrogram/raw/types/outbox_read_date.py +1 -1
- pyrogram/raw/types/page.py +1 -1
- pyrogram/raw/types/page_block_anchor.py +1 -1
- pyrogram/raw/types/page_block_audio.py +1 -1
- pyrogram/raw/types/page_block_author_date.py +1 -1
- pyrogram/raw/types/page_block_blockquote.py +1 -1
- pyrogram/raw/types/page_block_channel.py +1 -1
- pyrogram/raw/types/page_block_collage.py +1 -1
- pyrogram/raw/types/page_block_cover.py +1 -1
- pyrogram/raw/types/page_block_details.py +1 -1
- pyrogram/raw/types/page_block_divider.py +1 -1
- pyrogram/raw/types/page_block_embed.py +1 -1
- pyrogram/raw/types/page_block_embed_post.py +1 -1
- pyrogram/raw/types/page_block_footer.py +1 -1
- pyrogram/raw/types/page_block_header.py +1 -1
- pyrogram/raw/types/page_block_kicker.py +1 -1
- pyrogram/raw/types/page_block_list.py +1 -1
- pyrogram/raw/types/page_block_map.py +1 -1
- pyrogram/raw/types/page_block_ordered_list.py +1 -1
- pyrogram/raw/types/page_block_paragraph.py +1 -1
- pyrogram/raw/types/page_block_photo.py +1 -1
- pyrogram/raw/types/page_block_preformatted.py +1 -1
- pyrogram/raw/types/page_block_pullquote.py +1 -1
- pyrogram/raw/types/page_block_related_articles.py +1 -1
- pyrogram/raw/types/page_block_slideshow.py +1 -1
- pyrogram/raw/types/page_block_subheader.py +1 -1
- pyrogram/raw/types/page_block_subtitle.py +1 -1
- pyrogram/raw/types/page_block_table.py +1 -1
- pyrogram/raw/types/page_block_title.py +1 -1
- pyrogram/raw/types/page_block_unsupported.py +1 -1
- pyrogram/raw/types/page_block_video.py +1 -1
- pyrogram/raw/types/page_caption.py +1 -1
- pyrogram/raw/types/page_list_item_blocks.py +1 -1
- pyrogram/raw/types/page_list_item_text.py +1 -1
- pyrogram/raw/types/page_list_ordered_item_blocks.py +1 -1
- pyrogram/raw/types/page_list_ordered_item_text.py +1 -1
- pyrogram/raw/types/page_related_article.py +1 -1
- pyrogram/raw/types/page_table_cell.py +1 -1
- pyrogram/raw/types/page_table_row.py +1 -1
- pyrogram/raw/types/paid_reaction_privacy_anonymous.py +67 -0
- pyrogram/raw/types/paid_reaction_privacy_default.py +67 -0
- pyrogram/raw/types/paid_reaction_privacy_peer.py +72 -0
- pyrogram/raw/types/password_kdf_algo_sha256_sha256_pbkdf2_hmacsha512iter100000_sha256_mod_pow.py +1 -1
- pyrogram/raw/types/password_kdf_algo_unknown.py +1 -1
- pyrogram/raw/types/payment_charge.py +1 -1
- pyrogram/raw/types/payment_form_method.py +1 -1
- pyrogram/raw/types/payment_requested_info.py +1 -1
- pyrogram/raw/types/payment_saved_credentials_card.py +1 -1
- pyrogram/raw/types/payments/__init__.py +7 -1
- pyrogram/raw/types/payments/bank_card_data.py +1 -1
- pyrogram/raw/types/payments/checked_gift_code.py +1 -1
- pyrogram/raw/types/payments/connected_star_ref_bots.py +100 -0
- pyrogram/raw/types/payments/exported_invoice.py +1 -1
- pyrogram/raw/types/payments/giveaway_info.py +1 -1
- pyrogram/raw/types/payments/giveaway_info_results.py +1 -1
- pyrogram/raw/types/payments/payment_form.py +1 -1
- pyrogram/raw/types/payments/payment_form_star_gift.py +1 -1
- pyrogram/raw/types/payments/payment_form_stars.py +2 -2
- pyrogram/raw/types/payments/payment_receipt.py +1 -1
- pyrogram/raw/types/payments/payment_receipt_stars.py +1 -1
- pyrogram/raw/types/payments/payment_result.py +1 -1
- pyrogram/raw/types/payments/payment_verification_needed.py +1 -1
- pyrogram/raw/types/payments/resale_star_gifts.py +145 -0
- pyrogram/raw/types/payments/saved_info.py +1 -1
- pyrogram/raw/types/payments/saved_star_gifts.py +126 -0
- pyrogram/raw/types/payments/star_gift_upgrade_preview.py +81 -0
- pyrogram/raw/types/{simple_web_view_result_url.py → payments/star_gift_withdrawal_url.py} +17 -8
- pyrogram/raw/types/payments/star_gifts.py +1 -1
- pyrogram/raw/types/payments/star_gifts_not_modified.py +1 -1
- pyrogram/raw/types/payments/stars_revenue_ads_account_url.py +1 -1
- pyrogram/raw/types/payments/stars_revenue_stats.py +1 -1
- pyrogram/raw/types/payments/stars_revenue_withdrawal_url.py +1 -1
- pyrogram/raw/types/payments/stars_status.py +8 -8
- pyrogram/raw/types/payments/{user_star_gifts.py → suggested_star_ref_bots.py} +18 -18
- pyrogram/raw/types/payments/unique_star_gift.py +89 -0
- pyrogram/raw/types/payments/validated_requested_info.py +1 -1
- pyrogram/raw/types/peer_blocked.py +1 -1
- pyrogram/raw/types/peer_channel.py +1 -1
- pyrogram/raw/types/peer_chat.py +1 -1
- pyrogram/raw/types/peer_color.py +1 -1
- pyrogram/raw/types/peer_located.py +1 -1
- pyrogram/raw/types/peer_notify_settings.py +1 -1
- pyrogram/raw/types/peer_self_located.py +1 -1
- pyrogram/raw/types/peer_settings.py +51 -6
- pyrogram/raw/types/peer_stories.py +1 -1
- pyrogram/raw/types/peer_user.py +1 -1
- pyrogram/raw/types/pending_suggestion.py +96 -0
- pyrogram/raw/types/phone/exported_group_call_invite.py +1 -1
- pyrogram/raw/types/phone/group_call.py +1 -1
- pyrogram/raw/types/phone/group_call_stream_channels.py +1 -1
- pyrogram/raw/types/phone/group_call_stream_rtmp_url.py +1 -1
- pyrogram/raw/types/phone/group_participants.py +1 -1
- pyrogram/raw/types/phone/join_as_peers.py +1 -1
- pyrogram/raw/types/phone/phone_call.py +1 -1
- pyrogram/raw/types/phone_call.py +10 -4
- pyrogram/raw/types/phone_call_accepted.py +1 -1
- pyrogram/raw/types/phone_call_discard_reason_busy.py +1 -1
- pyrogram/raw/types/phone_call_discard_reason_disconnect.py +1 -1
- pyrogram/raw/types/phone_call_discard_reason_hangup.py +1 -1
- pyrogram/raw/types/phone_call_discard_reason_migrate_conference_call.py +72 -0
- pyrogram/raw/types/phone_call_discard_reason_missed.py +1 -1
- pyrogram/raw/types/phone_call_discarded.py +1 -1
- pyrogram/raw/types/phone_call_empty.py +1 -1
- pyrogram/raw/types/phone_call_protocol.py +1 -1
- pyrogram/raw/types/phone_call_requested.py +1 -1
- pyrogram/raw/types/phone_call_waiting.py +1 -1
- pyrogram/raw/types/phone_connection.py +1 -1
- pyrogram/raw/types/phone_connection_webrtc.py +1 -1
- pyrogram/raw/types/photo.py +1 -1
- pyrogram/raw/types/photo_cached_size.py +1 -1
- pyrogram/raw/types/photo_empty.py +1 -1
- pyrogram/raw/types/photo_path_size.py +1 -1
- pyrogram/raw/types/photo_size.py +1 -1
- pyrogram/raw/types/photo_size_empty.py +1 -1
- pyrogram/raw/types/photo_size_progressive.py +1 -1
- pyrogram/raw/types/photo_stripped_size.py +1 -1
- pyrogram/raw/types/photos/photo.py +1 -1
- pyrogram/raw/types/photos/photos.py +1 -1
- pyrogram/raw/types/photos/photos_slice.py +1 -1
- pyrogram/raw/types/poll.py +1 -1
- pyrogram/raw/types/poll_answer.py +1 -1
- pyrogram/raw/types/poll_answer_voters.py +1 -1
- pyrogram/raw/types/poll_results.py +1 -1
- pyrogram/raw/types/pong.py +1 -1
- pyrogram/raw/types/popular_contact.py +1 -1
- pyrogram/raw/types/post_address.py +1 -1
- pyrogram/raw/types/post_interaction_counters_message.py +1 -1
- pyrogram/raw/types/post_interaction_counters_story.py +1 -1
- pyrogram/raw/types/pq_inner_data.py +1 -1
- pyrogram/raw/types/pq_inner_data_dc.py +1 -1
- pyrogram/raw/types/pq_inner_data_temp.py +1 -1
- pyrogram/raw/types/pq_inner_data_temp_dc.py +1 -1
- pyrogram/raw/types/premium/boosts_list.py +1 -1
- pyrogram/raw/types/premium/boosts_status.py +1 -1
- pyrogram/raw/types/premium/my_boosts.py +1 -1
- pyrogram/raw/types/premium_gift_code_option.py +1 -1
- pyrogram/raw/types/premium_gift_option.py +10 -9
- pyrogram/raw/types/premium_subscription_option.py +1 -1
- pyrogram/raw/types/prepaid_giveaway.py +1 -1
- pyrogram/raw/types/prepaid_stars_giveaway.py +1 -1
- pyrogram/raw/types/privacy_key_about.py +1 -1
- pyrogram/raw/types/privacy_key_added_by_phone.py +1 -1
- pyrogram/raw/types/privacy_key_birthday.py +1 -1
- pyrogram/raw/types/privacy_key_chat_invite.py +1 -1
- pyrogram/raw/types/privacy_key_forwards.py +1 -1
- pyrogram/raw/types/{chat_channel_participant.py → privacy_key_no_paid_messages.py} +8 -8
- pyrogram/raw/types/privacy_key_phone_call.py +1 -1
- pyrogram/raw/types/privacy_key_phone_number.py +1 -1
- pyrogram/raw/types/privacy_key_phone_p2_p.py +1 -1
- pyrogram/raw/types/privacy_key_profile_photo.py +1 -1
- pyrogram/raw/types/privacy_key_star_gifts_auto_save.py +1 -1
- pyrogram/raw/types/privacy_key_status_timestamp.py +1 -1
- pyrogram/raw/types/privacy_key_voice_messages.py +1 -1
- pyrogram/raw/types/privacy_value_allow_all.py +1 -1
- pyrogram/raw/types/privacy_value_allow_bots.py +1 -1
- pyrogram/raw/types/privacy_value_allow_chat_participants.py +1 -1
- pyrogram/raw/types/privacy_value_allow_close_friends.py +1 -1
- pyrogram/raw/types/privacy_value_allow_contacts.py +1 -1
- pyrogram/raw/types/privacy_value_allow_premium.py +1 -1
- pyrogram/raw/types/privacy_value_allow_users.py +1 -1
- pyrogram/raw/types/privacy_value_disallow_all.py +1 -1
- pyrogram/raw/types/privacy_value_disallow_bots.py +1 -1
- pyrogram/raw/types/privacy_value_disallow_chat_participants.py +1 -1
- pyrogram/raw/types/privacy_value_disallow_contacts.py +1 -1
- pyrogram/raw/types/privacy_value_disallow_users.py +1 -1
- pyrogram/raw/types/public_forward_message.py +1 -1
- pyrogram/raw/types/public_forward_story.py +1 -1
- pyrogram/raw/types/quick_reply.py +1 -1
- pyrogram/raw/types/reaction_count.py +1 -1
- pyrogram/raw/types/reaction_custom_emoji.py +1 -1
- pyrogram/raw/types/reaction_emoji.py +1 -1
- pyrogram/raw/types/reaction_empty.py +1 -1
- pyrogram/raw/types/reaction_notifications_from_all.py +1 -1
- pyrogram/raw/types/reaction_notifications_from_contacts.py +1 -1
- pyrogram/raw/types/reaction_paid.py +1 -1
- pyrogram/raw/types/reactions_notify_settings.py +1 -1
- pyrogram/raw/types/read_participant_date.py +1 -1
- pyrogram/raw/types/received_notify_message.py +1 -1
- pyrogram/raw/types/recent_me_url_chat.py +1 -1
- pyrogram/raw/types/recent_me_url_chat_invite.py +1 -1
- pyrogram/raw/types/recent_me_url_sticker_set.py +1 -1
- pyrogram/raw/types/recent_me_url_unknown.py +1 -1
- pyrogram/raw/types/recent_me_url_user.py +1 -1
- pyrogram/raw/types/reply_inline_markup.py +1 -1
- pyrogram/raw/types/reply_keyboard_force_reply.py +1 -1
- pyrogram/raw/types/reply_keyboard_hide.py +1 -1
- pyrogram/raw/types/reply_keyboard_markup.py +1 -1
- pyrogram/raw/types/report_result_add_comment.py +1 -1
- pyrogram/raw/types/report_result_choose_option.py +1 -1
- pyrogram/raw/types/report_result_reported.py +1 -1
- pyrogram/raw/types/request_peer_type_broadcast.py +12 -12
- pyrogram/raw/types/request_peer_type_chat.py +23 -23
- pyrogram/raw/types/request_peer_type_user.py +1 -1
- pyrogram/raw/types/requested_peer_channel.py +1 -1
- pyrogram/raw/types/requested_peer_chat.py +1 -1
- pyrogram/raw/types/requested_peer_user.py +1 -1
- pyrogram/raw/types/requirement_to_contact_empty.py +76 -0
- pyrogram/raw/types/requirement_to_contact_paid_messages.py +81 -0
- pyrogram/raw/types/requirement_to_contact_premium.py +76 -0
- pyrogram/raw/types/res_pq.py +1 -1
- pyrogram/raw/types/restriction_reason.py +1 -1
- pyrogram/raw/types/rpc_answer_dropped.py +1 -1
- pyrogram/raw/types/rpc_answer_dropped_running.py +1 -1
- pyrogram/raw/types/rpc_answer_unknown.py +1 -1
- pyrogram/raw/types/rpc_error.py +1 -1
- pyrogram/raw/types/rpc_result.py +1 -1
- pyrogram/raw/types/saved_dialog.py +1 -1
- pyrogram/raw/types/saved_phone_contact.py +1 -1
- pyrogram/raw/types/saved_reaction_tag.py +1 -1
- pyrogram/raw/types/saved_star_gift.py +204 -0
- pyrogram/raw/types/search_result_position.py +1 -1
- pyrogram/raw/types/search_results_calendar_period.py +1 -1
- pyrogram/raw/types/secure_credentials_encrypted.py +1 -1
- pyrogram/raw/types/secure_data.py +1 -1
- pyrogram/raw/types/secure_file.py +1 -1
- pyrogram/raw/types/secure_file_empty.py +1 -1
- pyrogram/raw/types/secure_password_kdf_algo_pbkdf2_hmacsha512iter100000.py +1 -1
- pyrogram/raw/types/secure_password_kdf_algo_sha512.py +1 -1
- pyrogram/raw/types/secure_password_kdf_algo_unknown.py +1 -1
- pyrogram/raw/types/secure_plain_email.py +1 -1
- pyrogram/raw/types/secure_plain_phone.py +1 -1
- pyrogram/raw/types/secure_required_type.py +1 -1
- pyrogram/raw/types/secure_required_type_one_of.py +1 -1
- pyrogram/raw/types/secure_secret_settings.py +1 -1
- pyrogram/raw/types/secure_value.py +1 -1
- pyrogram/raw/types/secure_value_error.py +1 -1
- pyrogram/raw/types/secure_value_error_data.py +1 -1
- pyrogram/raw/types/secure_value_error_file.py +1 -1
- pyrogram/raw/types/secure_value_error_files.py +1 -1
- pyrogram/raw/types/secure_value_error_front_side.py +1 -1
- pyrogram/raw/types/secure_value_error_reverse_side.py +1 -1
- pyrogram/raw/types/secure_value_error_selfie.py +1 -1
- pyrogram/raw/types/secure_value_error_translation_file.py +1 -1
- pyrogram/raw/types/secure_value_error_translation_files.py +1 -1
- pyrogram/raw/types/secure_value_hash.py +1 -1
- pyrogram/raw/types/secure_value_type_address.py +1 -1
- pyrogram/raw/types/secure_value_type_bank_statement.py +1 -1
- pyrogram/raw/types/secure_value_type_driver_license.py +1 -1
- pyrogram/raw/types/secure_value_type_email.py +1 -1
- pyrogram/raw/types/secure_value_type_identity_card.py +1 -1
- pyrogram/raw/types/secure_value_type_internal_passport.py +1 -1
- pyrogram/raw/types/secure_value_type_passport.py +1 -1
- pyrogram/raw/types/secure_value_type_passport_registration.py +1 -1
- pyrogram/raw/types/secure_value_type_personal_details.py +1 -1
- pyrogram/raw/types/secure_value_type_phone.py +1 -1
- pyrogram/raw/types/secure_value_type_rental_agreement.py +1 -1
- pyrogram/raw/types/secure_value_type_temporary_registration.py +1 -1
- pyrogram/raw/types/secure_value_type_utility_bill.py +1 -1
- pyrogram/raw/types/send_as_peer.py +1 -1
- pyrogram/raw/types/send_message_cancel_action.py +1 -1
- pyrogram/raw/types/send_message_choose_contact_action.py +1 -1
- pyrogram/raw/types/send_message_choose_sticker_action.py +1 -1
- pyrogram/raw/types/send_message_emoji_interaction.py +1 -1
- pyrogram/raw/types/send_message_emoji_interaction_seen.py +1 -1
- pyrogram/raw/types/send_message_game_play_action.py +1 -1
- pyrogram/raw/types/send_message_geo_location_action.py +1 -1
- pyrogram/raw/types/send_message_history_import_action.py +1 -1
- pyrogram/raw/types/send_message_record_audio_action.py +1 -1
- pyrogram/raw/types/send_message_record_round_action.py +1 -1
- pyrogram/raw/types/send_message_record_video_action.py +1 -1
- pyrogram/raw/types/send_message_typing_action.py +1 -1
- pyrogram/raw/types/send_message_upload_audio_action.py +1 -1
- pyrogram/raw/types/send_message_upload_document_action.py +1 -1
- pyrogram/raw/types/send_message_upload_photo_action.py +1 -1
- pyrogram/raw/types/send_message_upload_round_action.py +1 -1
- pyrogram/raw/types/send_message_upload_video_action.py +1 -1
- pyrogram/raw/types/server_dh_inner_data.py +1 -1
- pyrogram/raw/types/server_dh_params_fail.py +1 -1
- pyrogram/raw/types/server_dh_params_ok.py +1 -1
- pyrogram/raw/types/shipping_option.py +1 -1
- pyrogram/raw/types/sms_job.py +1 -1
- pyrogram/raw/types/smsjobs/eligible_to_join.py +1 -1
- pyrogram/raw/types/smsjobs/status.py +1 -1
- pyrogram/raw/types/speaking_in_group_call_action.py +1 -1
- pyrogram/raw/types/sponsored_message.py +1 -1
- pyrogram/raw/types/sponsored_message_report_option.py +1 -1
- pyrogram/raw/types/sponsored_peer.py +100 -0
- pyrogram/raw/types/star_gift.py +48 -6
- pyrogram/raw/types/star_gift_attribute_backdrop.py +120 -0
- pyrogram/raw/types/{channel_admin_log_event_action_change_background_emoji.py → star_gift_attribute_counter.py} +18 -18
- pyrogram/raw/types/star_gift_attribute_id_backdrop.py +72 -0
- pyrogram/raw/types/{emoji_status_until.py → star_gift_attribute_id_model.py} +10 -18
- pyrogram/raw/types/star_gift_attribute_id_pattern.py +72 -0
- pyrogram/raw/types/star_gift_attribute_model.py +88 -0
- pyrogram/raw/types/star_gift_attribute_original_details.py +102 -0
- pyrogram/raw/types/star_gift_attribute_pattern.py +88 -0
- pyrogram/raw/types/star_gift_unique.py +168 -0
- pyrogram/raw/types/star_ref_program.py +119 -0
- pyrogram/raw/types/stars_amount.py +80 -0
- pyrogram/raw/types/stars_gift_option.py +1 -1
- pyrogram/raw/types/stars_giveaway_option.py +1 -1
- pyrogram/raw/types/stars_giveaway_winners_option.py +1 -1
- pyrogram/raw/types/stars_revenue_status.py +16 -16
- pyrogram/raw/types/stars_subscription.py +1 -1
- pyrogram/raw/types/stars_subscription_pricing.py +1 -1
- pyrogram/raw/types/stars_topup_option.py +1 -1
- pyrogram/raw/types/stars_transaction.py +88 -11
- pyrogram/raw/types/stars_transaction_peer.py +1 -1
- pyrogram/raw/types/stars_transaction_peer_ads.py +1 -1
- pyrogram/raw/types/stars_transaction_peer_api.py +1 -1
- pyrogram/raw/types/stars_transaction_peer_app_store.py +1 -1
- pyrogram/raw/types/stars_transaction_peer_fragment.py +1 -1
- pyrogram/raw/types/stars_transaction_peer_play_market.py +1 -1
- pyrogram/raw/types/stars_transaction_peer_premium_bot.py +1 -1
- pyrogram/raw/types/stars_transaction_peer_unsupported.py +1 -1
- pyrogram/raw/types/stats/broadcast_revenue_stats.py +1 -1
- pyrogram/raw/types/stats/broadcast_revenue_transactions.py +1 -1
- pyrogram/raw/types/stats/broadcast_revenue_withdrawal_url.py +1 -1
- pyrogram/raw/types/stats/broadcast_stats.py +1 -1
- pyrogram/raw/types/stats/megagroup_stats.py +1 -1
- pyrogram/raw/types/stats/message_stats.py +1 -1
- pyrogram/raw/types/stats/public_forwards.py +1 -1
- pyrogram/raw/types/stats/story_stats.py +1 -1
- pyrogram/raw/types/stats_abs_value_and_prev.py +1 -1
- pyrogram/raw/types/stats_date_range_days.py +1 -1
- pyrogram/raw/types/stats_graph.py +1 -1
- pyrogram/raw/types/stats_graph_async.py +1 -1
- pyrogram/raw/types/stats_graph_error.py +1 -1
- pyrogram/raw/types/stats_group_top_admin.py +1 -1
- pyrogram/raw/types/stats_group_top_inviter.py +1 -1
- pyrogram/raw/types/stats_group_top_poster.py +1 -1
- pyrogram/raw/types/stats_percent_value.py +1 -1
- pyrogram/raw/types/stats_url.py +1 -1
- pyrogram/raw/types/sticker_keyword.py +1 -1
- pyrogram/raw/types/sticker_pack.py +1 -1
- pyrogram/raw/types/sticker_set.py +1 -1
- pyrogram/raw/types/sticker_set_covered.py +1 -1
- pyrogram/raw/types/sticker_set_full_covered.py +1 -1
- pyrogram/raw/types/sticker_set_multi_covered.py +1 -1
- pyrogram/raw/types/sticker_set_no_covered.py +1 -1
- pyrogram/raw/types/stickers/suggested_short_name.py +1 -1
- pyrogram/raw/types/storage/file_gif.py +1 -1
- pyrogram/raw/types/storage/file_jpeg.py +1 -1
- pyrogram/raw/types/storage/file_mov.py +1 -1
- pyrogram/raw/types/storage/file_mp3.py +1 -1
- pyrogram/raw/types/storage/file_mp4.py +1 -1
- pyrogram/raw/types/storage/file_partial.py +1 -1
- pyrogram/raw/types/storage/file_pdf.py +1 -1
- pyrogram/raw/types/storage/file_png.py +1 -1
- pyrogram/raw/types/storage/file_unknown.py +1 -1
- pyrogram/raw/types/storage/file_webp.py +1 -1
- pyrogram/raw/types/stories/__init__.py +1 -0
- pyrogram/raw/types/stories/all_stories.py +1 -1
- pyrogram/raw/types/stories/all_stories_not_modified.py +1 -1
- pyrogram/raw/types/stories/can_send_story_count.py +81 -0
- pyrogram/raw/types/stories/found_stories.py +1 -1
- pyrogram/raw/types/stories/peer_stories.py +1 -1
- pyrogram/raw/types/stories/stories.py +1 -1
- pyrogram/raw/types/stories/story_reactions_list.py +1 -1
- pyrogram/raw/types/stories/story_views.py +1 -1
- pyrogram/raw/types/stories/story_views_list.py +1 -1
- pyrogram/raw/types/stories_stealth_mode.py +1 -1
- pyrogram/raw/types/story_fwd_header.py +1 -1
- pyrogram/raw/types/story_item.py +1 -1
- pyrogram/raw/types/story_item_deleted.py +1 -1
- pyrogram/raw/types/story_item_skipped.py +1 -1
- pyrogram/raw/types/story_reaction.py +1 -1
- pyrogram/raw/types/story_reaction_public_forward.py +1 -1
- pyrogram/raw/types/story_reaction_public_repost.py +1 -1
- pyrogram/raw/types/story_view.py +1 -1
- pyrogram/raw/types/story_view_public_forward.py +1 -1
- pyrogram/raw/types/story_view_public_repost.py +1 -1
- pyrogram/raw/types/story_views.py +1 -1
- pyrogram/raw/types/text_anchor.py +1 -1
- pyrogram/raw/types/text_bold.py +1 -1
- pyrogram/raw/types/text_concat.py +1 -1
- pyrogram/raw/types/text_email.py +1 -1
- pyrogram/raw/types/text_empty.py +1 -1
- pyrogram/raw/types/text_fixed.py +1 -1
- pyrogram/raw/types/text_image.py +1 -1
- pyrogram/raw/types/text_italic.py +1 -1
- pyrogram/raw/types/text_marked.py +1 -1
- pyrogram/raw/types/text_phone.py +1 -1
- pyrogram/raw/types/text_plain.py +1 -1
- pyrogram/raw/types/text_strike.py +1 -1
- pyrogram/raw/types/text_subscript.py +1 -1
- pyrogram/raw/types/text_superscript.py +1 -1
- pyrogram/raw/types/text_underline.py +1 -1
- pyrogram/raw/types/text_url.py +1 -1
- pyrogram/raw/types/text_with_entities.py +1 -1
- pyrogram/raw/types/theme.py +1 -1
- pyrogram/raw/types/theme_settings.py +1 -1
- pyrogram/raw/types/timezone.py +1 -1
- pyrogram/raw/types/top_peer.py +1 -1
- pyrogram/raw/types/top_peer_category_bots_app.py +1 -1
- pyrogram/raw/types/top_peer_category_bots_inline.py +1 -1
- pyrogram/raw/types/top_peer_category_bots_pm.py +1 -1
- pyrogram/raw/types/top_peer_category_channels.py +1 -1
- pyrogram/raw/types/top_peer_category_correspondents.py +1 -1
- pyrogram/raw/types/top_peer_category_forward_chats.py +1 -1
- pyrogram/raw/types/top_peer_category_forward_users.py +1 -1
- pyrogram/raw/types/top_peer_category_groups.py +1 -1
- pyrogram/raw/types/top_peer_category_peers.py +1 -1
- pyrogram/raw/types/top_peer_category_phone_calls.py +1 -1
- pyrogram/raw/types/update_attach_menu_bots.py +1 -1
- pyrogram/raw/types/update_auto_save_settings.py +1 -1
- pyrogram/raw/types/update_bot_business_connect.py +1 -1
- pyrogram/raw/types/update_bot_callback_query.py +1 -1
- pyrogram/raw/types/update_bot_chat_boost.py +1 -1
- pyrogram/raw/types/update_bot_chat_invite_requester.py +1 -1
- pyrogram/raw/types/update_bot_commands.py +1 -1
- pyrogram/raw/types/update_bot_delete_business_message.py +1 -1
- pyrogram/raw/types/update_bot_edit_business_message.py +1 -1
- pyrogram/raw/types/update_bot_inline_query.py +1 -1
- pyrogram/raw/types/update_bot_inline_send.py +1 -1
- pyrogram/raw/types/update_bot_menu_button.py +1 -1
- pyrogram/raw/types/update_bot_message_reaction.py +1 -1
- pyrogram/raw/types/update_bot_message_reactions.py +1 -1
- pyrogram/raw/types/update_bot_new_business_message.py +1 -1
- pyrogram/raw/types/update_bot_precheckout_query.py +1 -1
- pyrogram/raw/types/update_bot_purchased_paid_media.py +1 -1
- pyrogram/raw/types/update_bot_shipping_query.py +1 -1
- pyrogram/raw/types/update_bot_stopped.py +1 -1
- pyrogram/raw/types/update_bot_subscription_expire.py +1 -1
- pyrogram/raw/types/update_bot_webhook_json.py +1 -1
- pyrogram/raw/types/update_bot_webhook_json_query.py +1 -1
- pyrogram/raw/types/update_broadcast_revenue_transactions.py +1 -1
- pyrogram/raw/types/update_business_bot_callback_query.py +1 -1
- pyrogram/raw/types/update_channel.py +1 -1
- pyrogram/raw/types/update_channel_available_messages.py +1 -1
- pyrogram/raw/types/update_channel_message_forwards.py +1 -1
- pyrogram/raw/types/update_channel_message_views.py +1 -1
- pyrogram/raw/types/update_channel_participant.py +1 -1
- pyrogram/raw/types/update_channel_pinned_topic.py +1 -1
- pyrogram/raw/types/update_channel_pinned_topics.py +1 -1
- pyrogram/raw/types/update_channel_read_messages_contents.py +1 -1
- pyrogram/raw/types/update_channel_too_long.py +1 -1
- pyrogram/raw/types/update_channel_user_typing.py +1 -1
- pyrogram/raw/types/update_channel_view_forum_as_messages.py +1 -1
- pyrogram/raw/types/update_channel_web_page.py +1 -1
- pyrogram/raw/types/update_chat.py +1 -1
- pyrogram/raw/types/update_chat_default_banned_rights.py +1 -1
- pyrogram/raw/types/update_chat_participant.py +1 -1
- pyrogram/raw/types/update_chat_participant_add.py +1 -1
- pyrogram/raw/types/update_chat_participant_admin.py +1 -1
- pyrogram/raw/types/update_chat_participant_delete.py +1 -1
- pyrogram/raw/types/update_chat_participants.py +1 -1
- pyrogram/raw/types/update_chat_user_typing.py +1 -1
- pyrogram/raw/types/update_config.py +1 -1
- pyrogram/raw/types/update_contacts_reset.py +1 -1
- pyrogram/raw/types/update_dc_options.py +1 -1
- pyrogram/raw/types/update_delete_channel_messages.py +1 -1
- pyrogram/raw/types/update_delete_messages.py +1 -1
- pyrogram/raw/types/update_delete_quick_reply.py +1 -1
- pyrogram/raw/types/update_delete_quick_reply_messages.py +1 -1
- pyrogram/raw/types/update_delete_scheduled_messages.py +1 -1
- pyrogram/raw/types/update_dialog_filter.py +1 -1
- pyrogram/raw/types/update_dialog_filter_order.py +1 -1
- pyrogram/raw/types/update_dialog_filters.py +1 -1
- pyrogram/raw/types/update_dialog_pinned.py +1 -1
- pyrogram/raw/types/update_dialog_unread_mark.py +1 -1
- pyrogram/raw/types/update_draft_message.py +1 -1
- pyrogram/raw/types/update_edit_channel_message.py +1 -1
- pyrogram/raw/types/update_edit_message.py +1 -1
- pyrogram/raw/types/update_encrypted_chat_typing.py +1 -1
- pyrogram/raw/types/update_encrypted_messages_read.py +1 -1
- pyrogram/raw/types/update_encryption.py +1 -1
- pyrogram/raw/types/update_faved_stickers.py +1 -1
- pyrogram/raw/types/update_folder_peers.py +1 -1
- pyrogram/raw/types/update_geo_live_viewed.py +1 -1
- pyrogram/raw/types/update_group_call.py +16 -13
- pyrogram/raw/types/{update_user_photo.py → update_group_call_chain_blocks.py} +25 -25
- pyrogram/raw/types/update_group_call_connection.py +1 -1
- pyrogram/raw/types/update_group_call_participants.py +1 -1
- pyrogram/raw/types/update_inline_bot_callback_query.py +1 -1
- pyrogram/raw/types/update_lang_pack.py +1 -1
- pyrogram/raw/types/update_lang_pack_too_long.py +1 -1
- pyrogram/raw/types/update_login_token.py +1 -1
- pyrogram/raw/types/update_message_extended_media.py +1 -1
- pyrogram/raw/types/update_message_id.py +1 -1
- pyrogram/raw/types/update_message_poll.py +1 -1
- pyrogram/raw/types/update_message_poll_vote.py +1 -1
- pyrogram/raw/types/update_message_reactions.py +1 -1
- pyrogram/raw/types/update_move_sticker_set_to_top.py +1 -1
- pyrogram/raw/types/update_new_authorization.py +1 -1
- pyrogram/raw/types/update_new_channel_message.py +1 -1
- pyrogram/raw/types/update_new_encrypted_message.py +1 -1
- pyrogram/raw/types/update_new_message.py +1 -1
- pyrogram/raw/types/update_new_quick_reply.py +1 -1
- pyrogram/raw/types/update_new_scheduled_message.py +1 -1
- pyrogram/raw/types/update_new_sticker_set.py +1 -1
- pyrogram/raw/types/update_new_story_reaction.py +1 -1
- pyrogram/raw/types/update_notify_settings.py +1 -1
- pyrogram/raw/types/update_paid_reaction_privacy.py +8 -8
- pyrogram/raw/types/update_peer_blocked.py +1 -1
- pyrogram/raw/types/update_peer_history_ttl.py +1 -1
- pyrogram/raw/types/update_peer_located.py +1 -1
- pyrogram/raw/types/update_peer_settings.py +1 -1
- pyrogram/raw/types/update_peer_wallpaper.py +1 -1
- pyrogram/raw/types/update_pending_join_requests.py +1 -1
- pyrogram/raw/types/update_phone_call.py +1 -1
- pyrogram/raw/types/update_phone_call_signaling_data.py +1 -1
- pyrogram/raw/types/update_pinned_channel_messages.py +1 -1
- pyrogram/raw/types/update_pinned_dialogs.py +1 -1
- pyrogram/raw/types/update_pinned_messages.py +1 -1
- pyrogram/raw/types/update_pinned_saved_dialogs.py +1 -1
- pyrogram/raw/types/update_privacy.py +1 -1
- pyrogram/raw/types/update_pts_changed.py +1 -1
- pyrogram/raw/types/update_quick_replies.py +1 -1
- pyrogram/raw/types/update_quick_reply_message.py +1 -1
- pyrogram/raw/types/update_read_channel_discussion_inbox.py +1 -1
- pyrogram/raw/types/update_read_channel_discussion_outbox.py +1 -1
- pyrogram/raw/types/update_read_channel_inbox.py +1 -1
- pyrogram/raw/types/update_read_channel_outbox.py +1 -1
- pyrogram/raw/types/update_read_featured_emoji_stickers.py +1 -1
- pyrogram/raw/types/update_read_featured_stickers.py +1 -1
- pyrogram/raw/types/update_read_history_inbox.py +1 -1
- pyrogram/raw/types/update_read_history_outbox.py +1 -1
- pyrogram/raw/types/update_read_messages_contents.py +1 -1
- pyrogram/raw/types/update_read_stories.py +1 -1
- pyrogram/raw/types/update_recent_emoji_statuses.py +1 -1
- pyrogram/raw/types/update_recent_reactions.py +1 -1
- pyrogram/raw/types/update_recent_stickers.py +1 -1
- pyrogram/raw/types/update_saved_dialog_pinned.py +1 -1
- pyrogram/raw/types/update_saved_gifs.py +1 -1
- pyrogram/raw/types/update_saved_reaction_tags.py +1 -1
- pyrogram/raw/types/update_saved_ringtones.py +1 -1
- pyrogram/raw/types/update_sent_phone_code.py +72 -0
- pyrogram/raw/types/update_sent_story_reaction.py +1 -1
- pyrogram/raw/types/update_service_notification.py +1 -1
- pyrogram/raw/types/update_short.py +13 -3
- pyrogram/raw/types/update_short_chat_message.py +13 -3
- pyrogram/raw/types/update_short_message.py +13 -3
- pyrogram/raw/types/update_short_sent_message.py +13 -3
- pyrogram/raw/types/update_sms_job.py +1 -1
- pyrogram/raw/types/update_stars_balance.py +8 -8
- pyrogram/raw/types/update_stars_revenue_status.py +1 -1
- pyrogram/raw/types/update_sticker_sets.py +1 -1
- pyrogram/raw/types/update_sticker_sets_order.py +1 -1
- pyrogram/raw/types/update_stories_stealth_mode.py +1 -1
- pyrogram/raw/types/update_story.py +1 -1
- pyrogram/raw/types/update_story_id.py +1 -1
- pyrogram/raw/types/update_theme.py +1 -1
- pyrogram/raw/types/update_transcribe_audio.py +1 -1
- pyrogram/raw/types/update_transcribed_audio.py +1 -1
- pyrogram/raw/types/update_user.py +1 -1
- pyrogram/raw/types/update_user_emoji_status.py +1 -1
- pyrogram/raw/types/update_user_name.py +1 -1
- pyrogram/raw/types/update_user_phone.py +1 -1
- pyrogram/raw/types/update_user_status.py +1 -1
- pyrogram/raw/types/update_user_typing.py +1 -1
- pyrogram/raw/types/update_web_page.py +1 -1
- pyrogram/raw/types/update_web_view_result_sent.py +1 -1
- pyrogram/raw/types/updates/channel_difference.py +1 -1
- pyrogram/raw/types/updates/channel_difference_empty.py +1 -1
- pyrogram/raw/types/updates/channel_difference_too_long.py +1 -1
- pyrogram/raw/types/updates/difference.py +1 -1
- pyrogram/raw/types/updates/difference_empty.py +1 -1
- pyrogram/raw/types/updates/difference_slice.py +1 -1
- pyrogram/raw/types/updates/difference_too_long.py +1 -1
- pyrogram/raw/types/updates/state.py +1 -1
- pyrogram/raw/types/updates_combined.py +13 -3
- pyrogram/raw/types/updates_t.py +13 -3
- pyrogram/raw/types/updates_too_long.py +13 -3
- pyrogram/raw/types/upload/cdn_file.py +1 -1
- pyrogram/raw/types/upload/cdn_file_reupload_needed.py +1 -1
- pyrogram/raw/types/upload/file.py +1 -1
- pyrogram/raw/types/upload/file_cdn_redirect.py +1 -1
- pyrogram/raw/types/upload/web_file.py +1 -1
- pyrogram/raw/types/url_auth_result_accepted.py +1 -1
- pyrogram/raw/types/url_auth_result_default.py +1 -1
- pyrogram/raw/types/url_auth_result_request.py +1 -1
- pyrogram/raw/types/user.py +26 -7
- pyrogram/raw/types/user_empty.py +3 -2
- pyrogram/raw/types/user_full.py +51 -16
- pyrogram/raw/types/user_profile_photo.py +1 -1
- pyrogram/raw/types/user_profile_photo_empty.py +1 -1
- pyrogram/raw/types/user_status_empty.py +1 -1
- pyrogram/raw/types/user_status_hidden.py +1 -1
- pyrogram/raw/types/user_status_last_month.py +1 -1
- pyrogram/raw/types/user_status_last_week.py +1 -1
- pyrogram/raw/types/user_status_offline.py +1 -1
- pyrogram/raw/types/user_status_online.py +1 -1
- pyrogram/raw/types/user_status_recently.py +1 -1
- pyrogram/raw/types/username.py +1 -1
- pyrogram/raw/types/users/__init__.py +2 -0
- pyrogram/raw/types/users/user_full.py +1 -1
- pyrogram/raw/types/users/users.py +81 -0
- pyrogram/raw/types/users/users_slice.py +89 -0
- pyrogram/raw/types/video_size.py +1 -1
- pyrogram/raw/types/video_size_emoji_markup.py +1 -1
- pyrogram/raw/types/video_size_sticker_markup.py +1 -1
- pyrogram/raw/types/wall_paper.py +1 -1
- pyrogram/raw/types/wall_paper_no_file.py +1 -1
- pyrogram/raw/types/wall_paper_settings.py +1 -1
- pyrogram/raw/types/web_authorization.py +1 -1
- pyrogram/raw/types/web_document.py +1 -1
- pyrogram/raw/types/web_document_no_proxy.py +1 -1
- pyrogram/raw/types/web_page.py +10 -4
- pyrogram/raw/types/web_page_attribute_sticker_set.py +1 -1
- pyrogram/raw/types/web_page_attribute_story.py +1 -1
- pyrogram/raw/types/web_page_attribute_theme.py +1 -1
- pyrogram/raw/types/web_page_attribute_unique_star_gift.py +72 -0
- pyrogram/raw/types/web_page_empty.py +1 -1
- pyrogram/raw/types/web_page_not_modified.py +1 -1
- pyrogram/raw/types/web_page_pending.py +1 -1
- pyrogram/raw/types/web_page_url_pending.py +1 -1
- pyrogram/raw/types/web_view_message_sent.py +1 -1
- pyrogram/raw/types/web_view_result_url.py +1 -1
- pyrogram/types/messages_and_media/reaction.py +6 -13
- pyrogram/types/user_and_chats/emoji_status.py +61 -11
- {pyrogrammod-2.1.5.dist-info → pyrogrammod-2.2.0.dist-info}/METADATA +18 -5
- pyrogrammod-2.2.0.dist-info/RECORD +3269 -0
- {pyrogrammod-2.1.5.dist-info → pyrogrammod-2.2.0.dist-info}/WHEEL +1 -1
- pyrogram/raw/base/payments/user_star_gifts.py +0 -63
- pyrogram/raw/types/user_star_gift.py +0 -131
- pyrogrammod-2.1.5.dist-info/RECORD +0 -3158
- {pyrogrammod-2.1.5.dist-info → pyrogrammod-2.2.0.dist-info/licenses}/COPYING +0 -0
- {pyrogrammod-2.1.5.dist-info → pyrogrammod-2.2.0.dist-info/licenses}/COPYING.lesser +0 -0
- {pyrogrammod-2.1.5.dist-info → pyrogrammod-2.2.0.dist-info/licenses}/NOTICE +0 -0
- {pyrogrammod-2.1.5.dist-info → pyrogrammod-2.2.0.dist-info}/top_level.txt +0 -0
|
@@ -223,7 +223,7 @@ class BasePortLocInvalid(BadRequest):
|
|
|
223
223
|
|
|
224
224
|
|
|
225
225
|
class BirthdayInvalid(BadRequest):
|
|
226
|
-
"""
|
|
226
|
+
"""An invalid age was specified, must be between 0 and 150 years."""
|
|
227
227
|
ID = "BIRTHDAY_INVALID"
|
|
228
228
|
"""``str``: RPC Error ID"""
|
|
229
229
|
MESSAGE = __doc__
|
|
@@ -328,7 +328,7 @@ class BotDomainInvalid(BadRequest):
|
|
|
328
328
|
|
|
329
329
|
|
|
330
330
|
class BotGamesDisabled(BadRequest):
|
|
331
|
-
"""
|
|
331
|
+
"""Games can't be sent to channels."""
|
|
332
332
|
ID = "BOT_GAMES_DISABLED"
|
|
333
333
|
"""``str``: RPC Error ID"""
|
|
334
334
|
MESSAGE = __doc__
|
|
@@ -355,8 +355,15 @@ class BotInvalid(BadRequest):
|
|
|
355
355
|
MESSAGE = __doc__
|
|
356
356
|
|
|
357
357
|
|
|
358
|
+
class BotInvoiceInvalid(BadRequest):
|
|
359
|
+
"""The specified invoice is invalid."""
|
|
360
|
+
ID = "BOT_INVOICE_INVALID"
|
|
361
|
+
"""``str``: RPC Error ID"""
|
|
362
|
+
MESSAGE = __doc__
|
|
363
|
+
|
|
364
|
+
|
|
358
365
|
class BotMethodInvalid(BadRequest):
|
|
359
|
-
"""The method
|
|
366
|
+
"""The specified method cannot be used by bots."""
|
|
360
367
|
ID = "BOT_METHOD_INVALID"
|
|
361
368
|
"""``str``: RPC Error ID"""
|
|
362
369
|
MESSAGE = __doc__
|
|
@@ -446,6 +453,13 @@ class BusinessPeerInvalid(BadRequest):
|
|
|
446
453
|
MESSAGE = __doc__
|
|
447
454
|
|
|
448
455
|
|
|
456
|
+
class BusinessPeerUsageMissing(BadRequest):
|
|
457
|
+
"""You cannot send a message to a user through a [business connection](https://core.telegram.org/api/business#connected-bots) if the user hasn't recently contacted us."""
|
|
458
|
+
ID = "BUSINESS_PEER_USAGE_MISSING"
|
|
459
|
+
"""``str``: RPC Error ID"""
|
|
460
|
+
MESSAGE = __doc__
|
|
461
|
+
|
|
462
|
+
|
|
449
463
|
class BusinessRecipientsEmpty(BadRequest):
|
|
450
464
|
"""You didn't set any flag in inputBusinessBotRecipients, thus the bot cannot work with *any* peer."""
|
|
451
465
|
ID = "BUSINESS_RECIPIENTS_EMPTY"
|
|
@@ -461,12 +475,19 @@ class BusinessWorkHoursEmpty(BadRequest):
|
|
|
461
475
|
|
|
462
476
|
|
|
463
477
|
class BusinessWorkHoursPeriodInvalid(BadRequest):
|
|
464
|
-
"""The specified work hours are invalid, see [here
|
|
478
|
+
"""The specified work hours are invalid, see [here »](https://core.telegram.org/api/business#opening-hours) for the exact requirements."""
|
|
465
479
|
ID = "BUSINESS_WORK_HOURS_PERIOD_INVALID"
|
|
466
480
|
"""``str``: RPC Error ID"""
|
|
467
481
|
MESSAGE = __doc__
|
|
468
482
|
|
|
469
483
|
|
|
484
|
+
class ButtonCopyTextInvalid(BadRequest):
|
|
485
|
+
"""The specified [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy).`copy_text` is invalid."""
|
|
486
|
+
ID = "BUTTON_COPY_TEXT_INVALID"
|
|
487
|
+
"""``str``: RPC Error ID"""
|
|
488
|
+
MESSAGE = __doc__
|
|
489
|
+
|
|
490
|
+
|
|
470
491
|
class ButtonDataInvalid(BadRequest):
|
|
471
492
|
"""The data of one or more of the buttons you provided is invalid."""
|
|
472
493
|
ID = "BUTTON_DATA_INVALID"
|
|
@@ -475,7 +496,7 @@ class ButtonDataInvalid(BadRequest):
|
|
|
475
496
|
|
|
476
497
|
|
|
477
498
|
class ButtonIdInvalid(BadRequest):
|
|
478
|
-
"""The
|
|
499
|
+
"""The specified button ID is invalid."""
|
|
479
500
|
ID = "BUTTON_ID_INVALID"
|
|
480
501
|
"""``str``: RPC Error ID"""
|
|
481
502
|
MESSAGE = __doc__
|
|
@@ -510,14 +531,14 @@ class ButtonUrlInvalid(BadRequest):
|
|
|
510
531
|
|
|
511
532
|
|
|
512
533
|
class ButtonUserInvalid(BadRequest):
|
|
513
|
-
"""The user_id passed to inputKeyboardButtonUserProfile is invalid"""
|
|
534
|
+
"""The `user_id` passed to inputKeyboardButtonUserProfile is invalid!"""
|
|
514
535
|
ID = "BUTTON_USER_INVALID"
|
|
515
536
|
"""``str``: RPC Error ID"""
|
|
516
537
|
MESSAGE = __doc__
|
|
517
538
|
|
|
518
539
|
|
|
519
540
|
class ButtonUserPrivacyRestricted(BadRequest):
|
|
520
|
-
"""The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](/constructor/inputKeyboardButtonUserProfile) button do not allow creating such a button."""
|
|
541
|
+
"""The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile) button do not allow creating such a button."""
|
|
521
542
|
ID = "BUTTON_USER_PRIVACY_RESTRICTED"
|
|
522
543
|
"""``str``: RPC Error ID"""
|
|
523
544
|
MESSAGE = __doc__
|
|
@@ -677,6 +698,13 @@ class ChatlinkSlugExpired(BadRequest):
|
|
|
677
698
|
MESSAGE = __doc__
|
|
678
699
|
|
|
679
700
|
|
|
701
|
+
class ChatlistsTooMuch(BadRequest):
|
|
702
|
+
"""You have created too many folder links, hitting the `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [limits »](https://core.telegram.org/api/config#chatlist-invites-limit-default)."""
|
|
703
|
+
ID = "CHATLISTS_TOO_MUCH"
|
|
704
|
+
"""``str``: RPC Error ID"""
|
|
705
|
+
MESSAGE = __doc__
|
|
706
|
+
|
|
707
|
+
|
|
680
708
|
class ChatlistExcludeInvalid(BadRequest):
|
|
681
709
|
"""The specified `exclude_peers` are invalid."""
|
|
682
710
|
ID = "CHATLIST_EXCLUDE_INVALID"
|
|
@@ -754,6 +782,13 @@ class ChatLinkExists(BadRequest):
|
|
|
754
782
|
MESSAGE = __doc__
|
|
755
783
|
|
|
756
784
|
|
|
785
|
+
class ChatMemberAddFailed(BadRequest):
|
|
786
|
+
"""Could not add participants."""
|
|
787
|
+
ID = "CHAT_MEMBER_ADD_FAILED"
|
|
788
|
+
"""``str``: RPC Error ID"""
|
|
789
|
+
MESSAGE = __doc__
|
|
790
|
+
|
|
791
|
+
|
|
757
792
|
class ChatNotModified(BadRequest):
|
|
758
793
|
"""No changes were made to chat information because the new information you passed is identical to the current information."""
|
|
759
794
|
ID = "CHAT_NOT_MODIFIED"
|
|
@@ -860,7 +895,7 @@ class ConnectionAppVersionEmpty(BadRequest):
|
|
|
860
895
|
|
|
861
896
|
|
|
862
897
|
class ConnectionDeviceModelEmpty(BadRequest):
|
|
863
|
-
"""The device model is empty"""
|
|
898
|
+
"""The specified device model is empty."""
|
|
864
899
|
ID = "CONNECTION_DEVICE_MODEL_EMPTY"
|
|
865
900
|
"""``str``: RPC Error ID"""
|
|
866
901
|
MESSAGE = __doc__
|
|
@@ -874,7 +909,7 @@ class ConnectionIdInvalid(BadRequest):
|
|
|
874
909
|
|
|
875
910
|
|
|
876
911
|
class ConnectionLangPackInvalid(BadRequest):
|
|
877
|
-
"""The specified language pack is
|
|
912
|
+
"""The specified language pack is empty."""
|
|
878
913
|
ID = "CONNECTION_LANG_PACK_INVALID"
|
|
879
914
|
"""``str``: RPC Error ID"""
|
|
880
915
|
MESSAGE = __doc__
|
|
@@ -888,21 +923,21 @@ class ConnectionLayerInvalid(BadRequest):
|
|
|
888
923
|
|
|
889
924
|
|
|
890
925
|
class ConnectionNotInited(BadRequest):
|
|
891
|
-
"""
|
|
926
|
+
"""Please initialize the connection using initConnection before making queries."""
|
|
892
927
|
ID = "CONNECTION_NOT_INITED"
|
|
893
928
|
"""``str``: RPC Error ID"""
|
|
894
929
|
MESSAGE = __doc__
|
|
895
930
|
|
|
896
931
|
|
|
897
932
|
class ConnectionSystemEmpty(BadRequest):
|
|
898
|
-
"""The
|
|
933
|
+
"""The specified system version is empty."""
|
|
899
934
|
ID = "CONNECTION_SYSTEM_EMPTY"
|
|
900
935
|
"""``str``: RPC Error ID"""
|
|
901
936
|
MESSAGE = __doc__
|
|
902
937
|
|
|
903
938
|
|
|
904
939
|
class ConnectionSystemLangCodeEmpty(BadRequest):
|
|
905
|
-
"""The system language code is empty"""
|
|
940
|
+
"""The specified system language code is empty."""
|
|
906
941
|
ID = "CONNECTION_SYSTEM_LANG_CODE_EMPTY"
|
|
907
942
|
"""``str``: RPC Error ID"""
|
|
908
943
|
MESSAGE = __doc__
|
|
@@ -1147,7 +1182,7 @@ class EntitiesTooLong(BadRequest):
|
|
|
1147
1182
|
|
|
1148
1183
|
|
|
1149
1184
|
class EntityBoundsInvalid(BadRequest):
|
|
1150
|
-
"""A specified [entity offset or length](/api/entities#entity-length) is invalid, see [here »](/api/entities#entity-length) for info on how to properly compute the entity offset/length."""
|
|
1185
|
+
"""A specified [entity offset or length](https://core.telegram.org/api/entities#entity-length) is invalid, see [here »](https://core.telegram.org/api/entities#entity-length) for info on how to properly compute the entity offset/length."""
|
|
1151
1186
|
ID = "ENTITY_BOUNDS_INVALID"
|
|
1152
1187
|
"""``str``: RPC Error ID"""
|
|
1153
1188
|
MESSAGE = __doc__
|
|
@@ -1181,6 +1216,13 @@ class ExportCardInvalid(BadRequest):
|
|
|
1181
1216
|
MESSAGE = __doc__
|
|
1182
1217
|
|
|
1183
1218
|
|
|
1219
|
+
class ExtendedMediaAmountInvalid(BadRequest):
|
|
1220
|
+
"""The specified `stars_amount` of the passed [inputMediaPaidMedia](https://core.telegram.org/constructor/inputMediaPaidMedia) is invalid."""
|
|
1221
|
+
ID = "EXTENDED_MEDIA_AMOUNT_INVALID"
|
|
1222
|
+
"""``str``: RPC Error ID"""
|
|
1223
|
+
MESSAGE = __doc__
|
|
1224
|
+
|
|
1225
|
+
|
|
1184
1226
|
class ExternalUrlInvalid(BadRequest):
|
|
1185
1227
|
"""External URL invalid."""
|
|
1186
1228
|
ID = "EXTERNAL_URL_INVALID"
|
|
@@ -1224,7 +1266,7 @@ class FileIdInvalid(BadRequest):
|
|
|
1224
1266
|
|
|
1225
1267
|
|
|
1226
1268
|
class FileMigrate(BadRequest):
|
|
1227
|
-
"""The file is in
|
|
1269
|
+
"""The file currently being accessed is stored in DC {value}, please re-send the query to that DC."""
|
|
1228
1270
|
ID = "FILE_MIGRATE_X"
|
|
1229
1271
|
"""``str``: RPC Error ID"""
|
|
1230
1272
|
MESSAGE = __doc__
|
|
@@ -1279,8 +1321,15 @@ class FilePartTooBig(BadRequest):
|
|
|
1279
1321
|
MESSAGE = __doc__
|
|
1280
1322
|
|
|
1281
1323
|
|
|
1324
|
+
class FilePartTooSmall(BadRequest):
|
|
1325
|
+
"""The size of the uploaded file part is too small, please see the documentation for the allowed sizes."""
|
|
1326
|
+
ID = "FILE_PART_TOO_SMALL"
|
|
1327
|
+
"""``str``: RPC Error ID"""
|
|
1328
|
+
MESSAGE = __doc__
|
|
1329
|
+
|
|
1330
|
+
|
|
1282
1331
|
class FilePartMissing(BadRequest):
|
|
1283
|
-
"""Part {value} of the file is missing from storage"""
|
|
1332
|
+
"""Part {value} of the file is missing from storage. Try repeating the method call to resave the part."""
|
|
1284
1333
|
ID = "FILE_PART_X_MISSING"
|
|
1285
1334
|
"""``str``: RPC Error ID"""
|
|
1286
1335
|
MESSAGE = __doc__
|
|
@@ -1329,7 +1378,7 @@ class FileTitleEmpty(BadRequest):
|
|
|
1329
1378
|
|
|
1330
1379
|
|
|
1331
1380
|
class FileTokenInvalid(BadRequest):
|
|
1332
|
-
"""The
|
|
1381
|
+
"""The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile."""
|
|
1333
1382
|
ID = "FILE_TOKEN_INVALID"
|
|
1334
1383
|
"""``str``: RPC Error ID"""
|
|
1335
1384
|
MESSAGE = __doc__
|
|
@@ -1391,6 +1440,20 @@ class FormExpired(BadRequest):
|
|
|
1391
1440
|
MESSAGE = __doc__
|
|
1392
1441
|
|
|
1393
1442
|
|
|
1443
|
+
class FormIdEmpty(BadRequest):
|
|
1444
|
+
"""The specified form ID is empty."""
|
|
1445
|
+
ID = "FORM_ID_EMPTY"
|
|
1446
|
+
"""``str``: RPC Error ID"""
|
|
1447
|
+
MESSAGE = __doc__
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
class FormUnsupported(BadRequest):
|
|
1451
|
+
"""Please update your client."""
|
|
1452
|
+
ID = "FORM_UNSUPPORTED"
|
|
1453
|
+
"""``str``: RPC Error ID"""
|
|
1454
|
+
MESSAGE = __doc__
|
|
1455
|
+
|
|
1456
|
+
|
|
1394
1457
|
class ForumEnabled(BadRequest):
|
|
1395
1458
|
"""You can't execute the specified action because the group is a [forum](https://core.telegram.org/api/forum), disable forum functionality to continue."""
|
|
1396
1459
|
ID = "FORUM_ENABLED"
|
|
@@ -1427,7 +1490,7 @@ class GameBotInvalid(BadRequest):
|
|
|
1427
1490
|
|
|
1428
1491
|
|
|
1429
1492
|
class GeneralModifyIconForbidden(BadRequest):
|
|
1430
|
-
"""You can't modify the icon of the
|
|
1493
|
+
"""You can't modify the icon of the 'General' topic."""
|
|
1431
1494
|
ID = "GENERAL_MODIFY_ICON_FORBIDDEN"
|
|
1432
1495
|
"""``str``: RPC Error ID"""
|
|
1433
1496
|
MESSAGE = __doc__
|
|
@@ -1566,6 +1629,20 @@ class HideRequesterMissing(BadRequest):
|
|
|
1566
1629
|
MESSAGE = __doc__
|
|
1567
1630
|
|
|
1568
1631
|
|
|
1632
|
+
class IdExpired(BadRequest):
|
|
1633
|
+
"""The passed prepared inline message ID has expired."""
|
|
1634
|
+
ID = "ID_EXPIRED"
|
|
1635
|
+
"""``str``: RPC Error ID"""
|
|
1636
|
+
MESSAGE = __doc__
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
class IdInvalid(BadRequest):
|
|
1640
|
+
"""The passed ID is invalid."""
|
|
1641
|
+
ID = "ID_INVALID"
|
|
1642
|
+
"""``str``: RPC Error ID"""
|
|
1643
|
+
MESSAGE = __doc__
|
|
1644
|
+
|
|
1645
|
+
|
|
1569
1646
|
class ImageProcessFailed(BadRequest):
|
|
1570
1647
|
"""Failure while processing image."""
|
|
1571
1648
|
ID = "IMAGE_PROCESS_FAILED"
|
|
@@ -1623,21 +1700,21 @@ class InputChatlistInvalid(BadRequest):
|
|
|
1623
1700
|
|
|
1624
1701
|
|
|
1625
1702
|
class InputConstructorInvalid(BadRequest):
|
|
1626
|
-
"""The
|
|
1703
|
+
"""The specified TL constructor is invalid."""
|
|
1627
1704
|
ID = "INPUT_CONSTRUCTOR_INVALID"
|
|
1628
1705
|
"""``str``: RPC Error ID"""
|
|
1629
1706
|
MESSAGE = __doc__
|
|
1630
1707
|
|
|
1631
1708
|
|
|
1632
1709
|
class InputFetchError(BadRequest):
|
|
1633
|
-
"""An error occurred while
|
|
1710
|
+
"""An error occurred while parsing the provided TL constructor."""
|
|
1634
1711
|
ID = "INPUT_FETCH_ERROR"
|
|
1635
1712
|
"""``str``: RPC Error ID"""
|
|
1636
1713
|
MESSAGE = __doc__
|
|
1637
1714
|
|
|
1638
1715
|
|
|
1639
1716
|
class InputFetchFail(BadRequest):
|
|
1640
|
-
"""
|
|
1717
|
+
"""An error occurred while parsing the provided TL constructor."""
|
|
1641
1718
|
ID = "INPUT_FETCH_FAIL"
|
|
1642
1719
|
"""``str``: RPC Error ID"""
|
|
1643
1720
|
MESSAGE = __doc__
|
|
@@ -1658,21 +1735,28 @@ class InputFilterInvalid(BadRequest):
|
|
|
1658
1735
|
|
|
1659
1736
|
|
|
1660
1737
|
class InputLayerInvalid(BadRequest):
|
|
1661
|
-
"""The
|
|
1738
|
+
"""The specified layer is invalid."""
|
|
1662
1739
|
ID = "INPUT_LAYER_INVALID"
|
|
1663
1740
|
"""``str``: RPC Error ID"""
|
|
1664
1741
|
MESSAGE = __doc__
|
|
1665
1742
|
|
|
1666
1743
|
|
|
1667
1744
|
class InputMethodInvalid(BadRequest):
|
|
1668
|
-
"""The method
|
|
1745
|
+
"""The specified method is invalid."""
|
|
1669
1746
|
ID = "INPUT_METHOD_INVALID"
|
|
1670
1747
|
"""``str``: RPC Error ID"""
|
|
1671
1748
|
MESSAGE = __doc__
|
|
1672
1749
|
|
|
1673
1750
|
|
|
1751
|
+
class InputPeersEmpty(BadRequest):
|
|
1752
|
+
"""The specified peer array is empty."""
|
|
1753
|
+
ID = "INPUT_PEERS_EMPTY"
|
|
1754
|
+
"""``str``: RPC Error ID"""
|
|
1755
|
+
MESSAGE = __doc__
|
|
1756
|
+
|
|
1757
|
+
|
|
1674
1758
|
class InputRequestTooLong(BadRequest):
|
|
1675
|
-
"""The
|
|
1759
|
+
"""The request payload is too long."""
|
|
1676
1760
|
ID = "INPUT_REQUEST_TOO_LONG"
|
|
1677
1761
|
"""``str``: RPC Error ID"""
|
|
1678
1762
|
MESSAGE = __doc__
|
|
@@ -1700,7 +1784,7 @@ class InputUserDeactivated(BadRequest):
|
|
|
1700
1784
|
|
|
1701
1785
|
|
|
1702
1786
|
class InvitesTooMuch(BadRequest):
|
|
1703
|
-
"""The maximum number of per-folder invites specified by the `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [client configuration parameters »](/api/config#chatlist-invites-limit-default) was reached."""
|
|
1787
|
+
"""The maximum number of per-folder invites specified by the `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [client configuration parameters »](https://core.telegram.org/api/config#chatlist-invites-limit-default) was reached."""
|
|
1704
1788
|
ID = "INVITES_TOO_MUCH"
|
|
1705
1789
|
"""``str``: RPC Error ID"""
|
|
1706
1790
|
MESSAGE = __doc__
|
|
@@ -1762,6 +1846,13 @@ class InviteSlugExpired(BadRequest):
|
|
|
1762
1846
|
MESSAGE = __doc__
|
|
1763
1847
|
|
|
1764
1848
|
|
|
1849
|
+
class InviteSlugInvalid(BadRequest):
|
|
1850
|
+
"""The specified invitation slug is invalid."""
|
|
1851
|
+
ID = "INVITE_SLUG_INVALID"
|
|
1852
|
+
"""``str``: RPC Error ID"""
|
|
1853
|
+
MESSAGE = __doc__
|
|
1854
|
+
|
|
1855
|
+
|
|
1765
1856
|
class InvoicePayloadInvalid(BadRequest):
|
|
1766
1857
|
"""The specified invoice payload is invalid."""
|
|
1767
1858
|
ID = "INVOICE_PAYLOAD_INVALID"
|
|
@@ -1924,7 +2015,7 @@ class MediaTypeInvalid(BadRequest):
|
|
|
1924
2015
|
|
|
1925
2016
|
|
|
1926
2017
|
class MediaVideoStoryMissing(BadRequest):
|
|
1927
|
-
""""""
|
|
2018
|
+
"""A non-story video cannot be repubblished as a story (emitted when trying to resend a non-story video as a story using inputDocument)."""
|
|
1928
2019
|
ID = "MEDIA_VIDEO_STORY_MISSING"
|
|
1929
2020
|
"""``str``: RPC Error ID"""
|
|
1930
2021
|
MESSAGE = __doc__
|
|
@@ -2218,7 +2309,7 @@ class PasswordHashInvalid(BadRequest):
|
|
|
2218
2309
|
|
|
2219
2310
|
|
|
2220
2311
|
class PasswordMissing(BadRequest):
|
|
2221
|
-
"""You must enable 2FA
|
|
2312
|
+
"""You must [enable 2FA](https://core.telegram.org/api/srp) before executing this operation."""
|
|
2222
2313
|
ID = "PASSWORD_MISSING"
|
|
2223
2314
|
"""``str``: RPC Error ID"""
|
|
2224
2315
|
MESSAGE = __doc__
|
|
@@ -2267,7 +2358,7 @@ class PeersListEmpty(BadRequest):
|
|
|
2267
2358
|
|
|
2268
2359
|
|
|
2269
2360
|
class PeerFlood(BadRequest):
|
|
2270
|
-
"""The
|
|
2361
|
+
"""The current account is spamreported, you cannot execute this action, check @spambot for more info."""
|
|
2271
2362
|
ID = "PEER_FLOOD"
|
|
2272
2363
|
"""``str``: RPC Error ID"""
|
|
2273
2364
|
MESSAGE = __doc__
|
|
@@ -2294,6 +2385,13 @@ class PeerIdNotSupported(BadRequest):
|
|
|
2294
2385
|
MESSAGE = __doc__
|
|
2295
2386
|
|
|
2296
2387
|
|
|
2388
|
+
class PeerTypesInvalid(BadRequest):
|
|
2389
|
+
"""The passed [keyboardButtonSwitchInline](https://core.telegram.org/constructor/keyboardButtonSwitchInline).`peer_types` field is invalid."""
|
|
2390
|
+
ID = "PEER_TYPES_INVALID"
|
|
2391
|
+
"""``str``: RPC Error ID"""
|
|
2392
|
+
MESSAGE = __doc__
|
|
2393
|
+
|
|
2394
|
+
|
|
2297
2395
|
class PersistentTimestampEmpty(BadRequest):
|
|
2298
2396
|
"""Persistent timestamp empty."""
|
|
2299
2397
|
ID = "PERSISTENT_TIMESTAMP_EMPTY"
|
|
@@ -2574,6 +2672,13 @@ class PremiumSubActiveUntil(BadRequest):
|
|
|
2574
2672
|
MESSAGE = __doc__
|
|
2575
2673
|
|
|
2576
2674
|
|
|
2675
|
+
class PricingChatInvalid(BadRequest):
|
|
2676
|
+
"""The pricing for the [subscription](https://core.telegram.org/api/subscriptions) is invalid, the maximum price is specified in the [`stars_subscription_amount_max` config key »](https://core.telegram.org/api/config#stars-subscription-amount-max)."""
|
|
2677
|
+
ID = "PRICING_CHAT_INVALID"
|
|
2678
|
+
"""``str``: RPC Error ID"""
|
|
2679
|
+
MESSAGE = __doc__
|
|
2680
|
+
|
|
2681
|
+
|
|
2577
2682
|
class PrivacyKeyInvalid(BadRequest):
|
|
2578
2683
|
"""The privacy key is invalid."""
|
|
2579
2684
|
ID = "PRIVACY_KEY_INVALID"
|
|
@@ -2666,7 +2771,7 @@ class QuizMultipleInvalid(BadRequest):
|
|
|
2666
2771
|
|
|
2667
2772
|
|
|
2668
2773
|
class QuoteTextInvalid(BadRequest):
|
|
2669
|
-
"""The quote_text is invalid"""
|
|
2774
|
+
"""The specified `reply_to`.`quote_text` field is invalid."""
|
|
2670
2775
|
ID = "QUOTE_TEXT_INVALID"
|
|
2671
2776
|
"""``str``: RPC Error ID"""
|
|
2672
2777
|
MESSAGE = __doc__
|
|
@@ -2708,7 +2813,7 @@ class RangesInvalid(BadRequest):
|
|
|
2708
2813
|
|
|
2709
2814
|
|
|
2710
2815
|
class ReactionsTooMany(BadRequest):
|
|
2711
|
-
"""The message already has exactly `reactions_uniq_max` reaction emojis, you can't react with a new emoji, see [the docs for more info »](/api/config#client-configuration)."""
|
|
2816
|
+
"""The message already has exactly `reactions_uniq_max` reaction emojis, you can't react with a new emoji, see [the docs for more info »](https://core.telegram.org/api/config#client-configuration)."""
|
|
2712
2817
|
ID = "REACTIONS_TOO_MANY"
|
|
2713
2818
|
"""``str``: RPC Error ID"""
|
|
2714
2819
|
MESSAGE = __doc__
|
|
@@ -2750,7 +2855,7 @@ class ReplyMarkupBuyEmpty(BadRequest):
|
|
|
2750
2855
|
|
|
2751
2856
|
|
|
2752
2857
|
class ReplyMarkupGameEmpty(BadRequest):
|
|
2753
|
-
"""
|
|
2858
|
+
"""A game message is being edited, but the newly provided keyboard doesn't have a keyboardButtonGame button."""
|
|
2754
2859
|
ID = "REPLY_MARKUP_GAME_EMPTY"
|
|
2755
2860
|
"""``str``: RPC Error ID"""
|
|
2756
2861
|
MESSAGE = __doc__
|
|
@@ -3071,6 +3176,13 @@ class SmsCodeCreateFailed(BadRequest):
|
|
|
3071
3176
|
MESSAGE = __doc__
|
|
3072
3177
|
|
|
3073
3178
|
|
|
3179
|
+
class SrpAInvalid(BadRequest):
|
|
3180
|
+
"""The specified inputCheckPasswordSRP.A value is invalid."""
|
|
3181
|
+
ID = "SRP_A_INVALID"
|
|
3182
|
+
"""``str``: RPC Error ID"""
|
|
3183
|
+
MESSAGE = __doc__
|
|
3184
|
+
|
|
3185
|
+
|
|
3074
3186
|
class SrpIdInvalid(BadRequest):
|
|
3075
3187
|
"""Invalid SRP ID provided."""
|
|
3076
3188
|
ID = "SRP_ID_INVALID"
|
|
@@ -3085,6 +3197,62 @@ class SrpPasswordChanged(BadRequest):
|
|
|
3085
3197
|
MESSAGE = __doc__
|
|
3086
3198
|
|
|
3087
3199
|
|
|
3200
|
+
class StargiftInvalid(BadRequest):
|
|
3201
|
+
"""The passed [inputInvoiceStarGift](https://core.telegram.org/constructor/inputInvoiceStarGift) is invalid."""
|
|
3202
|
+
ID = "STARGIFT_INVALID"
|
|
3203
|
+
"""``str``: RPC Error ID"""
|
|
3204
|
+
MESSAGE = __doc__
|
|
3205
|
+
|
|
3206
|
+
|
|
3207
|
+
class StargiftUsageLimited(BadRequest):
|
|
3208
|
+
"""The gift is sold out."""
|
|
3209
|
+
ID = "STARGIFT_USAGE_LIMITED"
|
|
3210
|
+
"""``str``: RPC Error ID"""
|
|
3211
|
+
MESSAGE = __doc__
|
|
3212
|
+
|
|
3213
|
+
|
|
3214
|
+
class StarrefAwaitingEnd(BadRequest):
|
|
3215
|
+
"""The previous referral program was terminated less than 24 hours ago: further changes can be made after the date specified in userFull.starref_program.end_date."""
|
|
3216
|
+
ID = "STARREF_AWAITING_END"
|
|
3217
|
+
"""``str``: RPC Error ID"""
|
|
3218
|
+
MESSAGE = __doc__
|
|
3219
|
+
|
|
3220
|
+
|
|
3221
|
+
class StarrefHashRevoked(BadRequest):
|
|
3222
|
+
"""The specified affiliate link was already revoked."""
|
|
3223
|
+
ID = "STARREF_HASH_REVOKED"
|
|
3224
|
+
"""``str``: RPC Error ID"""
|
|
3225
|
+
MESSAGE = __doc__
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
class StarrefPermilleInvalid(BadRequest):
|
|
3229
|
+
"""The specified commission_permille is invalid: the minimum and maximum values for this parameter are contained in the [starref_min_commission_permille](https://core.telegram.org/api/config#starref-min-commission-permille) and [starref_max_commission_permille](https://core.telegram.org/api/config#starref-max-commission-permille) client configuration parameters."""
|
|
3230
|
+
ID = "STARREF_PERMILLE_INVALID"
|
|
3231
|
+
"""``str``: RPC Error ID"""
|
|
3232
|
+
MESSAGE = __doc__
|
|
3233
|
+
|
|
3234
|
+
|
|
3235
|
+
class StarrefPermilleTooLow(BadRequest):
|
|
3236
|
+
"""The specified commission_permille is too low: the minimum and maximum values for this parameter are contained in the [starref_min_commission_permille](https://core.telegram.org/api/config#starref-min-commission-permille) and [starref_max_commission_permille](https://core.telegram.org/api/config#starref-max-commission-permille) client configuration parameters."""
|
|
3237
|
+
ID = "STARREF_PERMILLE_TOO_LOW"
|
|
3238
|
+
"""``str``: RPC Error ID"""
|
|
3239
|
+
MESSAGE = __doc__
|
|
3240
|
+
|
|
3241
|
+
|
|
3242
|
+
class StarsInvoiceInvalid(BadRequest):
|
|
3243
|
+
"""The specified Telegram Star invoice is invalid."""
|
|
3244
|
+
ID = "STARS_INVOICE_INVALID"
|
|
3245
|
+
"""``str``: RPC Error ID"""
|
|
3246
|
+
MESSAGE = __doc__
|
|
3247
|
+
|
|
3248
|
+
|
|
3249
|
+
class StarsPaymentRequired(BadRequest):
|
|
3250
|
+
"""To import this chat invite link, you must first [pay for the associated Telegram Star subscription »](https://core.telegram.org/api/subscriptions#channel-subscriptions)."""
|
|
3251
|
+
ID = "STARS_PAYMENT_REQUIRED"
|
|
3252
|
+
"""``str``: RPC Error ID"""
|
|
3253
|
+
MESSAGE = __doc__
|
|
3254
|
+
|
|
3255
|
+
|
|
3088
3256
|
class StartParamEmpty(BadRequest):
|
|
3089
3257
|
"""The start parameter is empty."""
|
|
3090
3258
|
ID = "START_PARAM_EMPTY"
|
|
@@ -3121,7 +3289,7 @@ class StickersetInvalid(BadRequest):
|
|
|
3121
3289
|
|
|
3122
3290
|
|
|
3123
3291
|
class StickersetNotModified(BadRequest):
|
|
3124
|
-
"""The
|
|
3292
|
+
"""The passed stickerset information is equal to the current information."""
|
|
3125
3293
|
ID = "STICKERSET_NOT_MODIFIED"
|
|
3126
3294
|
"""``str``: RPC Error ID"""
|
|
3127
3295
|
MESSAGE = __doc__
|
|
@@ -3261,7 +3429,7 @@ class StoriesNeverCreated(BadRequest):
|
|
|
3261
3429
|
|
|
3262
3430
|
|
|
3263
3431
|
class StoriesTooMuch(BadRequest):
|
|
3264
|
-
"""You have hit the maximum active stories limit as specified by the [`story_expiring_limit_*` client configuration parameters](https://core.telegram.org/api/config#story-expiring-limit-default): you should buy a [Premium](/api/premium) subscription, delete an active story, or wait for the oldest story to expire."""
|
|
3432
|
+
"""You have hit the maximum active stories limit as specified by the [`story_expiring_limit_*` client configuration parameters](https://core.telegram.org/api/config#story-expiring-limit-default): you should buy a [Premium](https://core.telegram.org/api/premium) subscription, delete an active story, or wait for the oldest story to expire."""
|
|
3265
3433
|
ID = "STORIES_TOO_MUCH"
|
|
3266
3434
|
"""``str``: RPC Error ID"""
|
|
3267
3435
|
MESSAGE = __doc__
|
|
@@ -3309,6 +3477,20 @@ class StorySendFloodWeekly(BadRequest):
|
|
|
3309
3477
|
MESSAGE = __doc__
|
|
3310
3478
|
|
|
3311
3479
|
|
|
3480
|
+
class SubscriptionExportMissing(BadRequest):
|
|
3481
|
+
"""You cannot send a [bot subscription invoice](https://core.telegram.org/api/subscriptions#bot-subscriptions) directly, you may only create invoice links using [payments.exportInvoice](https://core.telegram.org/method/payments.exportInvoice)."""
|
|
3482
|
+
ID = "SUBSCRIPTION_EXPORT_MISSING"
|
|
3483
|
+
"""``str``: RPC Error ID"""
|
|
3484
|
+
MESSAGE = __doc__
|
|
3485
|
+
|
|
3486
|
+
|
|
3487
|
+
class SubscriptionPeriodInvalid(BadRequest):
|
|
3488
|
+
"""The specified subscription_pricing.period is invalid."""
|
|
3489
|
+
ID = "SUBSCRIPTION_PERIOD_INVALID"
|
|
3490
|
+
"""``str``: RPC Error ID"""
|
|
3491
|
+
MESSAGE = __doc__
|
|
3492
|
+
|
|
3493
|
+
|
|
3312
3494
|
class SwitchPmTextEmpty(BadRequest):
|
|
3313
3495
|
"""The switch_pm.text field was empty."""
|
|
3314
3496
|
ID = "SWITCH_PM_TEXT_EMPTY"
|
|
@@ -3338,7 +3520,7 @@ class TakeoutInvalid(BadRequest):
|
|
|
3338
3520
|
|
|
3339
3521
|
|
|
3340
3522
|
class TakeoutRequired(BadRequest):
|
|
3341
|
-
"""A [takeout](https://core.telegram.org/api/takeout) session needs to be initialized first, [see here » for more info](/api/takeout)."""
|
|
3523
|
+
"""A [takeout](https://core.telegram.org/api/takeout) session needs to be initialized first, [see here » for more info](https://core.telegram.org/api/takeout)."""
|
|
3342
3524
|
ID = "TAKEOUT_REQUIRED"
|
|
3343
3525
|
"""``str``: RPC Error ID"""
|
|
3344
3526
|
MESSAGE = __doc__
|
|
@@ -3365,6 +3547,13 @@ class TempAuthKeyEmpty(BadRequest):
|
|
|
3365
3547
|
MESSAGE = __doc__
|
|
3366
3548
|
|
|
3367
3549
|
|
|
3550
|
+
class TermsUrlInvalid(BadRequest):
|
|
3551
|
+
"""The specified [invoice](https://core.telegram.org/constructor/invoice).`terms_url` is invalid."""
|
|
3552
|
+
ID = "TERMS_URL_INVALID"
|
|
3553
|
+
"""``str``: RPC Error ID"""
|
|
3554
|
+
MESSAGE = __doc__
|
|
3555
|
+
|
|
3556
|
+
|
|
3368
3557
|
class ThemeFileInvalid(BadRequest):
|
|
3369
3558
|
"""Invalid theme file provided."""
|
|
3370
3559
|
ID = "THEME_FILE_INVALID"
|
|
@@ -3393,6 +3582,13 @@ class ThemeMimeInvalid(BadRequest):
|
|
|
3393
3582
|
MESSAGE = __doc__
|
|
3394
3583
|
|
|
3395
3584
|
|
|
3585
|
+
class ThemeParamsInvalid(BadRequest):
|
|
3586
|
+
"""The specified `theme_params` field is invalid."""
|
|
3587
|
+
ID = "THEME_PARAMS_INVALID"
|
|
3588
|
+
"""``str``: RPC Error ID"""
|
|
3589
|
+
MESSAGE = __doc__
|
|
3590
|
+
|
|
3591
|
+
|
|
3396
3592
|
class ThemeTitleInvalid(BadRequest):
|
|
3397
3593
|
"""The specified theme title is invalid."""
|
|
3398
3594
|
ID = "THEME_TITLE_INVALID"
|
|
@@ -3422,7 +3618,7 @@ class TmpPasswordDisabled(BadRequest):
|
|
|
3422
3618
|
|
|
3423
3619
|
|
|
3424
3620
|
class TmpPasswordInvalid(BadRequest):
|
|
3425
|
-
"""The
|
|
3621
|
+
"""The passed tmp_password is invalid."""
|
|
3426
3622
|
ID = "TMP_PASSWORD_INVALID"
|
|
3427
3623
|
"""``str``: RPC Error ID"""
|
|
3428
3624
|
MESSAGE = __doc__
|
|
@@ -3512,6 +3708,13 @@ class ToLangInvalid(BadRequest):
|
|
|
3512
3708
|
MESSAGE = __doc__
|
|
3513
3709
|
|
|
3514
3710
|
|
|
3711
|
+
class TransactionIdInvalid(BadRequest):
|
|
3712
|
+
"""The specified transaction ID is invalid."""
|
|
3713
|
+
ID = "TRANSACTION_ID_INVALID"
|
|
3714
|
+
"""``str``: RPC Error ID"""
|
|
3715
|
+
MESSAGE = __doc__
|
|
3716
|
+
|
|
3717
|
+
|
|
3515
3718
|
class TranscriptionFailed(BadRequest):
|
|
3516
3719
|
"""Audio transcription failed."""
|
|
3517
3720
|
ID = "TRANSCRIPTION_FAILED"
|
|
@@ -3709,12 +3912,19 @@ class UserChannelsTooMuch(BadRequest):
|
|
|
3709
3912
|
|
|
3710
3913
|
|
|
3711
3914
|
class UserCreator(BadRequest):
|
|
3712
|
-
"""
|
|
3915
|
+
"""For channels.editAdmin: you've tried to edit the admin rights of the owner, but you're not the owner; for channels.leaveChannel: you can't leave this channel, because you're its creator."""
|
|
3713
3916
|
ID = "USER_CREATOR"
|
|
3714
3917
|
"""``str``: RPC Error ID"""
|
|
3715
3918
|
MESSAGE = __doc__
|
|
3716
3919
|
|
|
3717
3920
|
|
|
3921
|
+
class UserGiftUnavailable(BadRequest):
|
|
3922
|
+
"""Gifts are not available in the current region ([stars_gifts_enabled](https://core.telegram.org/api/config#stars-gifts-enabled) is equal to false)."""
|
|
3923
|
+
ID = "USER_GIFT_UNAVAILABLE"
|
|
3924
|
+
"""``str``: RPC Error ID"""
|
|
3925
|
+
MESSAGE = __doc__
|
|
3926
|
+
|
|
3927
|
+
|
|
3718
3928
|
class UserIdInvalid(BadRequest):
|
|
3719
3929
|
"""The provided user ID is invalid."""
|
|
3720
3930
|
ID = "USER_ID_INVALID"
|
|
@@ -3891,7 +4101,7 @@ class WebdocumentSizeTooBig(BadRequest):
|
|
|
3891
4101
|
|
|
3892
4102
|
|
|
3893
4103
|
class WebdocumentUrlEmpty(BadRequest):
|
|
3894
|
-
"""The web document URL is empty"""
|
|
4104
|
+
"""The passed web document URL is empty."""
|
|
3895
4105
|
ID = "WEBDOCUMENT_URL_EMPTY"
|
|
3896
4106
|
"""``str``: RPC Error ID"""
|
|
3897
4107
|
MESSAGE = __doc__
|
|
@@ -27,7 +27,7 @@ class Flood(RPCError):
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
class TwoFaConfirmWait(Flood):
|
|
30
|
-
"""
|
|
30
|
+
"""Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in {value} seconds."""
|
|
31
31
|
ID = "2FA_CONFIRM_WAIT_X"
|
|
32
32
|
"""``str``: RPC Error ID"""
|
|
33
33
|
MESSAGE = __doc__
|
|
@@ -41,7 +41,7 @@ class AddressInvalid(Flood):
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
class FloodPremiumWait(Flood):
|
|
44
|
-
"""
|
|
44
|
+
"""Please wait {value} seconds before repeating the action, or purchase a [Telegram Premium subscription](https://core.telegram.org/api/premium) to remove this rate limit."""
|
|
45
45
|
ID = "FLOOD_PREMIUM_WAIT_X"
|
|
46
46
|
"""``str``: RPC Error ID"""
|
|
47
47
|
MESSAGE = __doc__
|
|
@@ -55,7 +55,7 @@ class FloodTestPhoneWait(Flood):
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
class FloodWait(Flood):
|
|
58
|
-
"""
|
|
58
|
+
"""Please wait {value} seconds before repeating the action."""
|
|
59
59
|
ID = "FLOOD_WAIT_X"
|
|
60
60
|
"""``str``: RPC Error ID"""
|
|
61
61
|
MESSAGE = __doc__
|
|
@@ -69,14 +69,14 @@ class PremiumSubActiveUntil(Flood):
|
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
class SlowmodeWait(Flood):
|
|
72
|
-
"""
|
|
72
|
+
"""Slowmode is enabled in this chat: wait {value} seconds before sending another message to this chat."""
|
|
73
73
|
ID = "SLOWMODE_WAIT_X"
|
|
74
74
|
"""``str``: RPC Error ID"""
|
|
75
75
|
MESSAGE = __doc__
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
class TakeoutInitDelay(Flood):
|
|
79
|
-
"""
|
|
79
|
+
"""Sorry, for security reasons, you will be able to begin downloading your data in {value} seconds. We have notified all your devices about the export request to make sure it's authorized and to give you time to react if it's not."""
|
|
80
80
|
ID = "TAKEOUT_INIT_DELAY_X"
|
|
81
81
|
"""``str``: RPC Error ID"""
|
|
82
82
|
MESSAGE = __doc__
|