You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ADMIN_RANK_INVALID The specified admin rank is invalid.
10
10
ADMIN_RIGHTS_EMPTY The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).
11
11
AD_EXPIRED The ad has expired (too old or not found).
12
+
AI_COMPOSE_TASK_MISSING The text composition style is missing.
12
13
ALBUM_PHOTOS_TOO_MANY You have uploaded too many profile photos, delete some before retrying.
14
+
ANSWER_X_MEDIA_TYPE_INVALID The option media type at index {value} is invalid.
15
+
ANONYMOUS_OPEN_INVALID allow_adding_options is not supported for anonymous polls and quizzes.
13
16
API_ID_INVALID API ID invalid.
14
17
API_ID_PUBLISHED_FLOOD This API id was published somewhere, you can't use it now.
15
18
ARTICLE_TITLE_EMPTY The title of the article is empty.
19
+
ATTACH_MEDIA_EMPTY The attached media is empty.
20
+
ATTACH_MEDIA_TYPE_INVALID The attached_media is invalid.
16
21
AUDIO_CONTENT_URL_EMPTY The remote URL specified in the content field is empty.
17
22
AUDIO_TITLE_EMPTY An empty audio title was provided.
18
23
AUTH_BYTES_INVALID The provided authorization is invalid.
@@ -26,6 +31,7 @@ BALANCE_TOO_LOW The transaction cannot be completed because the current [Telegra
26
31
BANK_CARD_NUMBER_INVALID The specified card number is invalid.
27
32
BANNED_RIGHTS_INVALID You provided some invalid flags in the banned rights.
28
33
BASE_PORT_LOC_INVALID The base port location is invalid
34
+
BIRTHDAY_ALREADY The user has already entered a birthday.
29
35
BIRTHDAY_INVALID An invalid age was specified, must be between 0 and 150 years.
30
36
BOOSTS_EMPTY No boost slots were specified.
31
37
BOOSTS_REQUIRED The specified channel must first be [boosted by its users](https://core.telegram.org/api/boost) in order to perform this action.
@@ -154,6 +160,7 @@ DATA_JSON_INVALID The provided JSON data is invalid.
154
160
DATA_TOO_LONG Data too long.
155
161
DATE_EMPTY Date empty.
156
162
DC_ID_INVALID The provided DC ID is invalid.
163
+
DELETE_ANSWER_FORBIDDEN You cannot delete the specified option in this poll.
157
164
DH_G_A_INVALID g_a invalid.
158
165
DOCUMENT_INVALID The specified document is invalid.
159
166
EFFECT_ID_INVALID The specified effect ID is invalid.
@@ -262,6 +269,7 @@ INLINE_RESULT_EXPIRED The inline query expired.
262
269
INPUT_CHATLIST_INVALID The specified folder is invalid.
263
270
INPUT_CONSTRUCTOR_INVALID The specified TL constructor is invalid.
264
271
INPUT_FETCH_ERROR An error occurred while parsing the provided TL constructor.
272
+
INPUT_FETCH_ERROR_X An error occurred while parsing the provided TL {value} constructor.
265
273
INPUT_FETCH_FAIL An error occurred while parsing the provided TL constructor.
266
274
INPUT_FILE_INVALID The specified [InputFile](https://core.telegram.org/type/InputFile) is invalid.
267
275
INPUT_FILTER_INVALID The specified filter is invalid.
@@ -294,6 +302,8 @@ LASTNAME_INVALID The last name is invalid.
294
302
LIMIT_INVALID The provided limit is invalid.
295
303
LINK_NOT_MODIFIED Discussion link not modified.
296
304
LOCATION_INVALID The provided location is invalid.
305
+
MANAGER_INVALID The provided bot manager is invalid. Bot Management Mode should be enabled for the bot in the @BotFather Mini App.
306
+
MANAGER_PERMISSION_MISSING The bot manager permission is missing. Bot Management Mode should be enabled for the bot in the @BotFather Mini App.
297
307
MAX_DATE_INVALID The specified maximum date is invalid.
298
308
MAX_ID_INVALID The provided max ID is invalid.
299
309
MAX_QTS_INVALID The specified max_qts is invalid.
@@ -487,6 +497,8 @@ SLOWMODE_MULTI_MSGS_DISABLED Slowmode is enabled, you cannot forward multiple me
487
497
SLUG_INVALID The specified invoice slug is invalid.
488
498
SMSJOB_ID_INVALID The specified job ID is invalid.
489
499
SMS_CODE_CREATE_FAILED An error occurred while creating the SMS code.
500
+
SOLUTION_MEDIA_EMPTY The solution_media is empty.
501
+
SOLUTION_MEDIA_TYPE_INVALID The solution_media is invalid.
490
502
SRP_A_INVALID The specified inputCheckPasswordSRP.A value is invalid.
491
503
SRP_ID_INVALID Invalid SRP ID provided.
492
504
SRP_PASSWORD_CHANGED Password has changed.
@@ -618,6 +630,7 @@ USERNAME_NOT_MODIFIED The username was not modified.
618
630
USERNAME_NOT_OCCUPIED The provided username is not occupied.
619
631
USERNAME_OCCUPIED The provided username is already occupied.
620
632
USERNAME_PURCHASE_AVAILABLE The specified username can be purchased on https://fragment.com.
633
+
USERNAME_SUFFIX_MISSING Bot username must end in `bot`.
621
634
USERPIC_UPLOAD_REQUIRED You must have a profile picture to publish your geolocation.
622
635
USERS_TOO_FEW Not enough users (to create a chat, for example).
623
636
USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example).
Copy file name to clipboardExpand all lines: compiler/errors/source/406_NOT_ACCEPTABLE.tsv
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
idmessage
2
+
AICOMPOSE_ERROR_OCCURED The composeTextWithAi method encountered an error.
2
3
ALLOW_PAYMENT_REQUIRED This peer only accepts [paid messages](https://core.telegram.org/api/paid-messages): this error is only emitted for older layers without paid messages support, so the client must be updated in order to use paid messages. .
3
4
API_GIFT_RESTRICTED_UPDATE_APP Please update the app to access the gift API.
4
5
AUTH_KEY_DUPLICATED Concurrent usage of the current session from multiple connections was detected, the current session was invalidated by the server for security reasons!
Copy file name to clipboardExpand all lines: docs/source/releases/changes-in-this-fork.rst
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,26 @@ Breaking Changes in this Fork
31
31
Changes in this Fork
32
32
=====================
33
33
34
+
+------------------------+
35
+
| Scheme layer used: 224 |
36
+
+------------------------+
37
+
38
+
- Added the methods :meth:`~pyrogram.Client.add_poll_option` and :meth:`~pyrogram.Client.delete_poll_option`.
39
+
- Added the field ``can_manage_bots`` to the class :obj:`~pyrogram.types.User`.
40
+
- Added the class :obj:`~pyrogram.types.KeyboardButtonRequestManagedBot` and the field ``request_managed_bot`` to the class :obj:`~pyrogram.types.KeyboardButton`.
41
+
- Added the class :obj:`~pyrogram.types.ManagedBotCreated` and the field ``managed_bot_created`` to the class :obj:`~pyrogram.types.Message`.
42
+
- Added updates about the creation of managed bots and the change of their token, represented by the class :obj:`~pyrogram.handlers.ManagedBotUpdateHandler`.
43
+
- Added support for quizzes with multiple correct answers.
44
+
- Added the fields ``correct_option_ids``, ``allows_revoting``, ``description`` to the class :obj:`~pyrogram.types.Poll`.
45
+
- Added the parameters ``correct_option_ids``, ``allows_multiple_answers``, ``allows_revoting``, ``shuffle_options``, ``allow_adding_options``, ``hide_results_until_closes``, ``description`` to the method :meth:`~pyrogram.Client.send_poll`.
46
+
- Added the field ``option_persistent_ids`` to the class :obj:`~pyrogram.types.PollAnswer`.
47
+
- Added the fields ``persistent_id``, ``addition_date``, ``added_by_user`` and ``added_by_chat`` to the class :obj:`~pyrogram.types.PollOption`.
48
+
- Added the classes :obj:`~pyrogram.types.PollOptionAdded` and :obj:`~pyrogram.types.PollOptionDeleted` and the fields ``poll_option_added``, ``poll_option_deleted`` to the class :obj:`~pyrogram.types.Message`.
49
+
- Added the field ``poll_option_id`` to the class :obj:`~pyrogram.types.ReplyParameters`, allowing to reply to a specific poll option.
50
+
- Added the field ``reply_to_poll_option_id`` to the class :obj:`~pyrogram.types.Message`.
51
+
- Added the method :meth:`~pyrogram.Client.send_message_draft` (contributed by @sudo-py-dev in `#231 <https://github.com/TelegramPlayground/pyrogram/pull/231>`__).
52
+
- View `new and changed <https://telegramplayground.github.io/TG-APIs/TL/diff/tdlib.html?from=222&to=223>`__ `raw API methods <https://telegramplayground.github.io/TG-APIs/TL/diff/tdesktop.html?from=222&to=223>`__.
0 commit comments