New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

wpyrogram

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wpyrogram - pypi Package Compare versions

Comparing version
2.0.150
to
2.0.151
+1
-0
compiler/docs/compiler.py

@@ -893,2 +893,3 @@ # Pyrogram - Telegram MTProto API Client Library for Python

MessageEntityType
MessageMediaType
MessageServiceType

@@ -895,0 +896,0 @@ MessagesFilter

@@ -11,2 +11,3 @@ id message

ADMIN_RIGHTS_EMPTY The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).
AD_EXPIRED The ad has expired (too old or not found).
ALBUM_PHOTOS_TOO_MANY Too many photos were included in the album

@@ -36,4 +37,7 @@ API_ID_INVALID The api_id/api_hash combination is invalid

BOTS_TOO_MUCH The chat has too many bots
BOT_ALREADY_DISABLED The connected business bot was already disabled for the specified peer.
BOT_APP_BOT_INVALID The bot_id passed in the inputBotAppShortName constructor is invalid.
BOT_APP_INVALID The specified bot app is invalid.
BOT_APP_SHORTNAME_INVALID The specified bot app short name is invalid.
BOT_BUSINESS_MISSING The specified bot is not a business bot (the [user](https://core.telegram.org/constructor/user).`bot_business` flag is not set).
BOT_CHANNELS_NA Bots can't edit admin privileges

@@ -49,2 +53,3 @@ BOT_COMMAND_DESCRIPTION_INVALID The command description was empty, too long or had invalid characters

BOT_MISSING This method can only be run by a bot
BOT_NOT_CONNECTED_YET No [business bot](https://core.telegram.org/api/business#connected-bots) is connected to the currently logged in user.
BOT_ONESIDE_NOT_AVAIL Bots can't pin messages for one side only in private chats

@@ -60,4 +65,10 @@ BOT_PAYMENTS_DISABLED This method can only be run by a bot

BROADCAST_REQUIRED The request can only be used with a channel
BUSINESS_PEER_INVALID Messages can't be set to the specified peer through the current [business connection](https://core.telegram.org/api/business#connected-bots).
BUSINESS_RECIPIENTS_EMPTY You didn't set any flag in inputBusinessBotRecipients, thus the bot cannot work with *any* peer.
BUSINESS_WORK_HOURS_EMPTY No work hours were specified.
BUSINESS_WORK_HOURS_PERIOD_INVALID The specified work hours are invalid, see [here »](https://core.telegram.org/api/business#opening-hours) for the exact requirements.
BUTTON_COPY_TEXT_INVALID The `copy_text` of one or more of the buttons you provided is invalid.
BUTTON_DATA_INVALID The button callback data is invalid or too large
BUTTON_ID_INVALID The button_id parameter is invalid
BUTTON_POS_INVALID The position of one of the keyboard buttons is invalid (i.e. a Game or Pay button not in the first position, and so on...).
BUTTON_TEXT_INVALID The specified button text is invalid

@@ -88,2 +99,5 @@ BUTTON_TYPE_INVALID The type of one of the buttons you provided is invalid

CHARGE_NOT_FOUND The charge id was not found.
CHATLINKS_TOO_MUCH Too many [business chat links](https://core.telegram.org/api/business#business-chat-links) were created, please delete some older links.
CHATLINK_SLUG_EMPTY The specified slug is empty.
CHATLINK_SLUG_EXPIRED The specified [business chat link](https://core.telegram.org/api/business#business-chat-links) has expired.
CHATLISTS_TOO_MUCH You have too much chatlists on your account

@@ -111,2 +125,4 @@ CHATLIST_EXCLUDE_INVALID The specified `exclude_peers` are invalid.

CODE_INVALID The provided code is invalid (i.e. from email)
COLLECTIBLE_INVALID The specified collectible is invalid.
COLLECTIBLE_NOT_FOUND The specified collectible could not be found.
COLOR_INVALID The provided color is invalid

@@ -116,2 +132,3 @@ CONNECTION_API_ID_INVALID The provided API id is invalid

CONNECTION_DEVICE_MODEL_EMPTY The device model is empty
CONNECTION_ID_INVALID The specified connection ID is invalid.
CONNECTION_LANG_PACK_INVALID The specified language pack is not valid

@@ -184,2 +201,4 @@ CONNECTION_LAYER_INVALID The connection layer is invalid. Missing InvokeWithLayer-InitConnection call

FILE_REFERENCE_INVALID The file id contains an invalid file reference, you must obtain a valid one by fetching the message from the origin context
FILE_REFERENCE_X_EXPIRED The file reference of the media file at index {value} in the passed media array expired, it [must be refreshed](https://core.telegram.org/api/file_reference).
FILE_REFERENCE_X_INVALID The file reference of the media file at index {value} in the passed media array is invalid.
FILE_TITLE_EMPTY An empty file title was specified

@@ -192,4 +211,6 @@ FILE_TOKEN_INVALID The specified file token is invalid.

FIRSTNAME_INVALID The first name is invalid
FLOODSKIP_NOT_ALLOWED You can't execute the specified action because in order to enable this feature [the following conditions](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) must be satisfied.
FOLDER_ID_EMPTY The folder you tried to delete was already empty
FOLDER_ID_INVALID The folder id is invalid
FORM_EXPIRED The form was generated more than 10 minutes ago and has expired, please re-generate it using [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm) and pass the new `form_id`.
FORM_ID_EXPIRED The specified id has expired.

@@ -218,2 +239,3 @@ FORUM_ENABLED You can't execute the specified action because the group is a [forum](https://core.telegram.org/api/forum), disable forum functionality to continue.

GROUP_CALL_INVALID The group call is invalid
HASHTAG_INVALID The specified hashtag is invalid.
HASH_INVALID The provided hash is invalid

@@ -223,2 +245,3 @@ HIDE_REQUESTER_MISSING The join request was missing or was already handled

IMPORT_FILE_INVALID The imported file is invalid
IMPORT_FORMAT_DATE_INVALID The date specified in the import file is invalid.
IMPORT_FORMAT_UNRECOGNIZED The imported format is unrecognized

@@ -232,2 +255,3 @@ IMPORT_ID_INVALID The import id is invalid

INPUT_FETCH_FAIL Failed deserializing TL payload
INPUT_FILE_INVALID The specified [InputFile](https://core.telegram.org/type/InputFile) is invalid.
INPUT_FILTER_INVALID The filter is invalid for this query

@@ -251,2 +275,3 @@ INPUT_LAYER_INVALID The provided layer is invalid

JOIN_AS_PEER_INVALID The specified peer cannot be used to join a group call
LANGUAGE_INVALID The specified lang_code is invalid.
LANG_CODE_INVALID The specified language code is invalid

@@ -263,2 +288,3 @@ LANG_CODE_NOT_SUPPORTED The specified language code is not supported

MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter
MEDIA_ALREADY_PAID The specified paid media is already paid.
MEDIA_CAPTION_TOO_LONG The media caption is too long

@@ -283,4 +309,6 @@ MEDIA_EMPTY The media you tried to send is invalid

MESSAGE_NOT_MODIFIED The message was not modified because you tried to edit it using the same content
MESSAGE_NOT_READ_YET The specified message wasn't read yet.
MESSAGE_POLL_CLOSED You can't interact with a closed poll
MESSAGE_TOO_LONG The message text is too long
MESSAGE_TOO_OLD The message is too old, the requested information is not available.
METHOD_INVALID The API method is invalid and cannot be used

@@ -298,2 +326,4 @@ MIN_DATE_INVALID The specified minimum date is invalid

NOGENERAL_HIDE_FORBIDDEN The hidden parameter is only valid for the General topic message_thread_id=1
NOT_ELIGIBLE The current user is not eligible to join the Peer-to-Peer Login Program.
NOT_JOINED The current user hasn't joined the Peer-to-Peer Login Program.
OFFSET_INVALID The offset parameter is invalid

@@ -352,2 +382,3 @@ OFFSET_PEER_ID_INVALID The provided offset peer is invalid

PINNED_DIALOGS_TOO_MUCH Too many pinned dialogs
PINNED_TOPIC_NOT_MODIFIED The pinned topic was not modified.
PIN_RESTRICTED You can't pin messages in private chats with other people

@@ -372,2 +403,3 @@ PLATFORM_INVALID The provided platform is invalid. Allowed values are "android", "ios", "wp", "bb", "desktop", "web", "ubp", "other".

QUERY_TOO_SHORT The query is too short
QUICK_REPLIES_TOO_MUCH A maximum of [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config#quick-replies-limit) shortcuts may be created, the limit was reached.
QUIZ_ANSWER_MISSING You can forward a quiz while hiding the original author only after choosing an option in the quiz

@@ -379,2 +411,3 @@ QUIZ_CORRECT_ANSWERS_EMPTY The correct answers of the quiz are empty

QUOTE_TEXT_INVALID The quote text is invalid
RAISE_HAND_FORBIDDEN You cannot raise your hand.
RANDOM_ID_EMPTY The random ID is empty

@@ -384,5 +417,7 @@ RANDOM_ID_INVALID The provided random ID is invalid

RANGES_INVALID Invalid range provided
REACTIONS_COUNT_INVALID The count of the reactions should be less than `stars_paid_reaction_amount_max` stars, you can't react with more number of stars, see [the docs for more info](https://core.telegram.org/api/config#client-configuration).
REACTIONS_TOO_MANY Non-premium users, can set up only one reaction per message
REACTION_EMPTY The reaction provided is empty
REACTION_INVALID Invalid reaction provided (only valid emoji are allowed)
RECEIPT_EMPTY The specified receipt is empty.
REFLECTOR_NOT_AVAILABLE The call reflector is not available

@@ -393,5 +428,7 @@ REPLY_MARKUP_BUY_EMPTY Reply markup for buy button empty

REPLY_MARKUP_TOO_LONG The reply markup is too long
REPLY_MESSAGES_TOO_MUCH Each shortcut can contain a maximum of [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config#quick-reply-messages-limit) messages, the limit was reached.
REPLY_MESSAGE_ID_INVALID The reply message id is invalid
REPLY_TO_INVALID The specified `reply_to` field is invalid.
REPLY_TO_USER_INVALID The replied-to user is invalid.
REQUEST_TOKEN_INVALID The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile.
RESET_REQUEST_MISSING No password reset is in progress

@@ -405,2 +442,4 @@ RESULTS_TOO_MUCH The result contains too many items

RIGHTS_NOT_MODIFIED The new admin rights are equal to the old rights, no change was made
RINGTONE_INVALID The specified ringtone is invalid.
RINGTONE_MIME_INVALID The MIME type for the ringtone is invalid.
RSA_DECRYPT_FAILED Internal RSA decryption failed

@@ -417,2 +456,3 @@ SAVED_DIALOGS_UNSUPPORTED You cannot use this method

SECONDS_INVALID The seconds interval is invalid
SECURE_SECRET_REQUIRED A secure secret is required.
SEND_AS_PEER_INVALID You can't send messages as the specified peer

@@ -424,2 +464,3 @@ SEND_MESSAGE_MEDIA_INVALID The message media is invalid

SHA256_HASH_INVALID The provided SHA256 hash is invalid
SHORTCUT_INVALID The specified shortcut is invalid.
SHORTNAME_OCCUPY_FAILED An error occurred when trying to register the short-name used for the sticker pack. Try a different name

@@ -431,5 +472,7 @@ SHORT_NAME_INVALID The specified short name is invalid

SLUG_INVALID The specified invoice slug is invalid.
SMSJOB_ID_INVALID The specified job ID is invalid.
SMS_CODE_CREATE_FAILED An error occurred while creating the SMS code
SRP_ID_INVALID Invalid SRP ID provided
SRP_PASSWORD_CHANGED The password has changed
STARGIFT_ALREADY_CONVERTED The provided star gift already converted to stars
START_PARAM_EMPTY The start parameter is empty

@@ -469,2 +512,3 @@ START_PARAM_INVALID The start parameter is invalid

SWITCH_PM_TEXT_EMPTY The switch_pm.text field was empty
SWITCH_WEBVIEW_URL_INVALID The URL specified in switch_webview.url is invalid!
TAKEOUT_INVALID The takeout id is invalid

@@ -480,2 +524,3 @@ TAKEOUT_REQUIRED The method must be invoked inside a takeout session

THEME_TITLE_INVALID The specified theme title is invalid
TIMEZONE_INVALID The specified timezone does not exist.
TITLE_INVALID The specified stickerpack title is invalid

@@ -498,2 +543,3 @@ TMP_PASSWORD_DISABLED The temporary password is disabled

TRANSCRIPTION_FAILED Telegram is having internal problems. Please try again later to transcribe the audio.
TRANSLATE_REQ_QUOTA_EXCEEDED Translation is currently unavailable due to a temporary server-side lack of resources.
TTL_DAYS_INVALID The provided TTL days is invalid

@@ -539,2 +585,4 @@ TTL_MEDIA_INVALID The media does not support self-destruction

VIDEO_FILE_INVALID The video file is invalid
VIDEO_PAUSE_FORBIDDEN You cannot pause the video stream.
VIDEO_STOP_FORBIDDEN You cannot stop the video stream.
VIDEO_TITLE_EMPTY The specified video title is empty

@@ -541,0 +589,0 @@ VOICE_MESSAGES_FORBIDDEN Voice messages are restricted

+4
-1

@@ -5,2 +5,3 @@ id message

CHANNEL_PUBLIC_GROUP_NA The channel/supergroup is not available
CHAT_ACTION_FORBIDDEN You cannot execute this action.
CHAT_ADMIN_INVITE_REQUIRED You don't have rights to invite other users

@@ -47,4 +48,6 @@ CHAT_ADMIN_REQUIRED The method requires chat admin privileges

USER_NOT_MUTUAL_CONTACT The provided user is not a mutual contact
USER_NOT_PARTICIPANT You're not a member of this supergroup/channel.
USER_PRIVACY_RESTRICTED The user's privacy settings is preventing you to perform this action
USER_RESTRICTED You are limited/restricted. You can't perform this action
VOICE_MESSAGES_FORBIDDEN This user's privacy settings forbid you from sending voice messages.
VOICE_MESSAGES_FORBIDDEN This user's privacy settings forbid you from sending voice messages.
YOUR_PRIVACY_RESTRICTED You cannot fetch the read date of this message because you have disallowed other users to do so for *your* messages; to fix, allow other users to see *your* exact last online date OR purchase a [Telegram Premium](https://core.telegram.org/api/premium) subscription.

@@ -5,2 +5,3 @@ id message

BOT_PRECHECKOUT_FAILED Bot precheckout is failed
BUSINESS_ADDRESS_ACTIVE The user is currently advertising a [Business Location](https://core.telegram.org/api/business#location), the location may only be changed (or removed) using [account.updateBusinessLocation »](https://core.telegram.org/method/account.updateBusinessLocation). .
CALL_PROTOCOL_COMPAT_LAYER_INVALID The other side of the call does not support any of the VoIP protocols supported by the local client, as specified by the `protocol.layer` and `protocol.library_versions` fields.

@@ -23,2 +24,3 @@ CHANNEL_PRIVATE The channel/supergroup is not accessible

SEND_CODE_UNAVAILABLE Returned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend)
STARGIFT_USAGE_LIMITED Star gift usage limited
STICKERSET_INVALID The sticker set is invalid

@@ -31,2 +33,2 @@ STICKERSET_OWNER_ANONYMOUS This sticker set can't be used as the group's sticker set because it was created by one of its anonymous admins

USERPIC_UPLOAD_REQUIRED You must have a profile picture to publish your geolocation
USER_RESTRICTED You are limited/restricted. You can't perform this action
USER_RESTRICTED You are limited/restricted. You can't perform this action
id message
2FA_CONFIRM_WAIT_X A wait of {value} seconds is required because this account is active and protected by a 2FA password
ADDRESS_INVALID The specified geopoint address is invalid.
FLOOD_PREMIUM_WAIT_X A wait of {value} seconds is required

@@ -4,0 +5,0 @@ FLOOD_TEST_PHONE_WAIT_X A wait of {value} seconds is required in the test servers

Metadata-Version: 2.1
Name: WPyrogram
Version: 2.0.150
Version: 2.0.151
Summary: Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots - Woto's experimental fork

@@ -5,0 +5,0 @@ Home-page: https://github.com/ALiwoto/WPyrogram

@@ -19,3 +19,3 @@ # Pyrogram - Telegram MTProto API Client Library for Python

__version__ = "2.0.150"
__version__ = "2.0.151"
__license__ = "GNU Lesser General Public License v3.0 (LGPL-3.0)"

@@ -22,0 +22,0 @@ __copyright__ = "Copyright (C) 2017-present Dan <https://github.com/delivrance>"

@@ -104,2 +104,2 @@ # Pyrogram - Telegram MTProto API Client Library for Python

return topics if is_iterable else topics[0] if topics else None
return topics_list if is_iterable else topics_list[0] if topics_list else None
Metadata-Version: 2.1
Name: WPyrogram
Version: 2.0.150
Version: 2.0.151
Summary: Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots - Woto's experimental fork

@@ -5,0 +5,0 @@ Home-page: https://github.com/ALiwoto/WPyrogram