Devesh Pal
f819593cbf
Update to layer 146 ( #3933 )
2022-10-14 18:50:27 +02:00
Lonami Exo
7f472ee72c
Add CHAT_FORWARDS_RESTRICTED to known errors
2022-10-02 16:25:52 +02:00
Lonami Exo
fd70b5a428
Update list of known errors
2022-09-27 10:49:12 +02:00
Lonami Exo
299eceb6eb
Document new known RPC errors
2022-09-20 10:56:57 +02:00
Lonami Exo
6e8bc0d5b9
Fix raw API docs generation
2022-08-30 13:21:17 +02:00
Lonami Exo
8b1bfcdf9c
Bump to v1.25
2022-08-30 12:57:34 +02:00
Tulir Asokan
d5c864597c
Update to layer 144
2022-08-30 12:11:38 +02:00
Rongrong
db3faedbfc
Add ENTITY_BOUNDS_INVALID and POSTPONED_TIMEOUT to known errors ( #3887 )
2022-07-25 11:52:48 +02:00
Eugene Lam
066820900d
Update to layer 143 ( #3862 )
2022-07-02 09:27:35 +02:00
Tulir Asokan
dda696cce4
Add INVITE_REQUEST_SENT to known errors
2022-05-12 10:40:04 +02:00
Lonami Exo
43f629f665
Update to layer 140
2022-05-12 10:21:03 +02:00
Lonami Exo
5feb210442
Add support for flags2 in the TL
2022-05-12 10:20:42 +02:00
Shrimadhav U K
9c796e8d73
Fix typo, add errors, and update to 133 again ( #3157 )
2021-12-01 19:00:29 +01:00
Lonami Exo
3f5f5dbe48
Update documentation and list of known errors
...
Closes #3151 .
2021-09-11 11:02:10 +02:00
Shrimadhav U K
28d3d4b122
Update to layer 133 ( #3155 )
2021-09-11 10:54:11 +02:00
Shrimadhav U K
2182e7f6f1
Update to layer 132 ( #3142 )
2021-08-31 15:22:56 +02:00
Shrimadhav U K
0a4b827d8e
Document new known RPC errors ( #3137 )
2021-08-28 00:18:37 +02:00
Shrimadhav U K
6a1f29d953
Add new known RPC errors ( #3134 )
2021-08-20 11:49:12 +02:00
Devesh Pal
79866750d2
Add new known RPCErrors ( #3114 )
2021-07-20 23:04:09 +02:00
Shrimadhav U K
3570953d14
Update to layer 131 ( #3112 )
2021-07-16 21:01:08 +02:00
Lonami Exo
1e09e133e3
Document new known RPC errors
...
Courtesy of #3097 .
2021-07-09 20:11:21 +02:00
Shrimadhav U K
ecfc6ae87d
Add pm_oneside parameter in pin_message ( #3095 )
2021-07-09 19:50:47 +02:00
Shrimadhav U K
7763939e7d
Update to layer 130 ( #3098 )
2021-07-09 19:47:13 +02:00
Devesh Pal
42bfc7bb3f
Fix inline force_document and new known RPC errors ( #3084 )
...
This should fix inline video notes.
2021-06-24 14:19:01 +02:00
Lonami Exo
2052b502c8
Update to v1.22
2021-06-19 19:08:02 +02:00
Anonymous
7c5efee1de
Update to layer 129 and other additions/enhancements ( #3074 )
...
* Apply code corrections for the new layer types.
* Support not passing `user` to `get_permissions`.
* `download_profile_photo` now supports `MessageService`.
* `thumb` in send and edit message.
* Document new known errors.
2021-06-15 22:57:32 +02:00
Lonami Exo
63f24d2282
Add new known RPC errors and update docs
2021-05-30 18:00:27 +02:00
Anonymous
85381713b2
Document new known RPC errors ( #3057 )
2021-05-15 10:49:55 +02:00
Alisa Sireneva
b2c26a53ef
Document new known RPC errors ( #3044 )
2021-05-05 20:38:43 +02:00
Lonami Exo
319b6283a9
Update install/test server docs and add new known RPC error
2021-04-21 19:56:57 +02:00
Lonami Exo
5b91adf62d
Update documentation
...
Closes #1733 .
2021-03-31 10:54:18 +02:00
Lonami Exo
2fbf850841
Update to layer 126
...
May help with #3010
2021-03-31 10:52:35 +02:00
Lonami Exo
b06f496a27
Don't treat False field as flag omission
...
8724949b54
was only half the story.
2021-03-16 08:21:04 +01:00
Lonami Exo
3d6a2bb945
Update to version 1.21
2021-03-14 11:31:03 +01:00
Lonami Exo
8f46f704b1
Update to layer 125
...
Closes #1728 , should close #1724 .
2021-03-14 10:58:33 +01:00
Lonami Exo
a1f91d6eb8
(De)serialize user_id as u32
...
https://t.me/BotNews/57 .
2021-03-09 20:10:31 +01:00
Lonami Exo
3ee94bdc5e
Update known errors and error message
...
Closes #1713
2021-03-07 16:09:47 +01:00
Lonami Exo
8724949b54
Don't omit False flag values from serialization
2021-03-07 16:05:09 +01:00
Andrew Lane
2c2a07d02f
Update to layer 124 ( #1708 )
2021-02-23 13:04:50 +01:00
Lonami Exo
79f6da2dac
Update to layer 123 again
2021-02-06 12:35:53 +01:00
Lonami Exo
584e2b3743
Update list of RPC errors
2021-01-28 21:18:14 +01:00
Lonami Exo
4e73577d59
Update to layer 123
2021-01-28 19:48:01 +01:00
Lonami Exo
cd51c9e47c
Get rid of the patched/ module
...
This may fix #1669 .
2021-01-14 22:56:55 +01:00
Lonami Exo
b192c3e6a3
Update to v1.19
2021-01-05 19:58:41 +01:00
Lonami Exo
acd4c8648e
Update layer and known errors again
2020-12-23 20:11:16 +01:00
Lonami Exo
4b6c69ac1e
Update docs and list of errors
...
Includes the changes of #1654 .
2020-12-19 20:33:20 +01:00
Andrew Lane
5011747f1f
Update to layer 122 (again) ( #1650 )
2020-12-14 18:50:55 +01:00
Lonami Exo
0a4d54fca4
Update to layer 122
...
Closes #1645 .
2020-12-11 16:55:49 +01:00
Lonami Exo
0b0a1dc6a1
Add new known errors to the error list
2020-12-04 20:43:47 +01:00
Lonami Exo
e4a6ec40cd
Update error documentation, summary and license year
2020-11-05 10:49:34 +01:00
x0x8x
78514110de
Update errors.csv ( #1609 )
2020-11-05 10:40:44 +01:00
Lonami Exo
d83c154f8d
Partial update to layer 120
2020-10-30 20:06:59 +01:00
Lonami Exo
f450682a22
Document BOT_DOMAIN_INVALID
2020-10-21 09:32:29 +02:00
Qwerty-Space
d56b27e570
Fix several minor typos ( #1603 )
2020-10-18 21:11:59 +02:00
Lonami Exo
3ff09f7b91
Use inline result mime to infer the result type
2020-10-15 11:04:54 +02:00
Andrew Lane
7de1c0e237
Document two new RPC errors ( #1591 )
2020-10-13 10:50:05 +02:00
Lonami Exo
adf52a1b74
Expose entity parameter in client.inline_query
...
Some bots, such as @gamee, use this to determine the type of results
to return (and "disable" themselves in channels).
2020-10-11 16:59:48 +02:00
Lonami Exo
18f70b3bac
Improve PEER_ID_INVALID description
2020-10-01 21:27:03 +02:00
Lonami Exo
d5e4398ace
Adapt the rest of the library to layer 119
2020-10-01 12:22:55 +02:00
Lonami Exo
62737c1caf
Partially upgrade to layer 119
2020-10-01 09:17:18 +02:00
Daniil
9ec5707c32
Add more info on invalid sticker error ( #1558 )
2020-09-13 16:29:48 +02:00
Daniil
02b8f1d007
Document STICKER_DOCUMENT_INVALID error ( #1537 )
2020-08-29 11:41:50 +02:00
Lonami Exo
daec282cdf
Update to layer 117
2020-08-24 12:56:20 +02:00
Lonami Exo
06f3dc3053
Revert "Update to layer 117"
...
This reverts commit 26ff92caa9
.
Layer changes only go in minor releases, and the commit history is
linear, so temporarily revert to release a new patch version.
2020-08-24 12:53:43 +02:00
Pascal Jürgens
bde38fb748
Improve description for FILE_ID_INVALID ( #1531 )
2020-08-23 19:39:29 +02:00
Lonami Exo
accb2142e7
Document new known RPC error
2020-08-23 11:37:59 +02:00
Lonami Exo
26ff92caa9
Update to layer 117
2020-08-15 12:54:05 +02:00
Lonami Exo
cb6ffeaabd
Slightly improve docs heuristics for video files
2020-07-28 19:46:50 +02:00
Lonami Exo
b1ea7572dd
Document new rpc errors in layer 116
2020-07-26 13:45:19 +02:00
Lonami Exo
57b38b24dd
Update to layer 116
2020-07-26 12:55:29 +02:00
Lonami Exo
ec8bb8a06a
Document PRIVACY_TOO_LONG
2020-07-25 18:42:12 +02:00
Lonami Exo
7b852206f1
Fix click timeout error is now different
2020-07-04 13:29:43 +02:00
Lonami Exo
e0c3143763
Update documentation with new errors and further clarifications
2020-06-22 13:21:45 +02:00
Lonami Exo
fc07e6bba7
Document some RPC errors for channels.editCreator
2020-06-07 09:50:33 +02:00
Lonami Exo
20a6d7b26b
Document several new RPC errors
2020-06-06 13:47:56 +02:00
Lonami Exo
493f69f195
Update to layer 114
2020-06-05 09:29:15 +02:00
Lonami Exo
02d0cbcfab
Document FILE_REFERENCE_EMPTY
2020-05-24 18:41:30 +02:00
Lonami Exo
856538635d
Document FRESH_CHANGE_PHONE_FORBIDDEN
...
Closes #1464 .
2020-05-17 09:28:30 +02:00
Lonami Exo
db16cf5548
Update to layer 113
2020-05-01 14:10:58 +02:00
Lonami Exo
dcc450267f
Document new EMOTICON_INVALID error
2020-04-24 12:38:51 +02:00
Lonami Exo
a353ae3b65
Update to layer 112
2020-04-24 12:17:33 +02:00
Lonami Exo
01cf4967a5
Clarify send_read_acknowledge behaviour and add new error
2020-04-13 15:03:13 +02:00
Lonami Exo
c0e523508b
Update raw API method usability mapping
2020-04-06 17:44:22 +02:00
Lonami Exo
8ea5fae61b
Add some missing layer 111 raw API methods
2020-04-06 10:09:11 +02:00
Lonami Exo
65d8205eef
Update to layer 111
2020-03-28 10:01:31 +01:00
Lonami Exo
1ec38aa5b2
Update and clarify some docs
...
cc #1388 , #1396
2020-02-28 11:50:16 +01:00
Lonami Exo
e451abbf20
Avoid another MemoryError
2020-02-28 10:42:23 +01:00
Lonami Exo
673a2ecd5d
Document two new errors
2020-02-25 15:52:22 +01:00
Lonami Exo
e9c5e719f1
Minor docs update, bump v1.11.3
2020-02-24 13:15:56 +01:00
Lonami Exo
f21abcd529
Update to v1.11
2020-02-20 20:57:17 +01:00
Lonami Exo
7c6fe5c4e9
Update to layer 110
2020-02-16 14:03:16 +01:00
Tulir Asokan
c6bd620555
Make RPCError subclasses unpicklable again ( #1387 )
2020-02-14 18:22:17 +01:00
Lonami Exo
22e645e22f
Update to layer 109
2020-01-23 13:43:20 +01:00
Lonami Exo
dd4c22d02d
Document two new known errors
2020-01-22 14:21:09 +01:00
Lonami Exo
582a61192a
Fix MemoryError on get_input_media(game)
...
Because an integer was being passed where a TLObject was expected,
so the serialization with bytes() was actually requesting that many
bytes as opposed to properly converting the expected object.
2020-01-04 17:52:31 +01:00
Lonami Exo
0683d9771a
Update to layer 108
2019-12-31 10:43:05 +01:00
Lonami Exo
0af823e86c
Add three new errors regarding polls
2019-12-26 22:30:07 +01:00
Lonami Exo
fa736f81af
Handle all entity types on isinstance checks
...
Only the uses of `isinstance` against `InputPeer*` types were
reviewed. Notably, `utils` is exempt on this because it needs
to deal with everything on a case-by-case basis.
Since the addition of `*FromMessage` peers, any manual `isinstance`
checks to determine the type were prone to breaking or being
forgotten to be updated, so a common `helpers._entity_type()`
method was made to share this logic.
Since the conversion to `Peer` would be too expensive, a simpler
check against the name is made, which should be fast and cheap.
2019-12-23 13:52:07 +01:00
Lonami Exo
4499f3b95e
Update to layer 106
2019-12-22 11:17:59 +01:00
Lonami Exo
b985dcd248
Fix 3.8 syntax warning and erroneous documentation
...
Closes #1340 (syntax warning)
Closes #1341 (outdated docs)
2019-12-05 11:14:02 +01:00