Commit Graph

428 Commits

Author SHA1 Message Date
Dan
1d7852a44b Update API schema to Layer 150 2022-12-06 13:59:06 +01:00
Dan
b81c379548 Update API schema to Layer 149 2022-11-25 22:11:35 +01:00
Nick
a374e0175d
Update API schema to Layer 148 2022-11-13 13:55:44 +01:00
Dan
8077eb4130
Update docs 2022-10-06 12:03:05 +02:00
Dan
8fd79c93c7 Update API schema to Layer 146 2022-09-15 16:51:46 +02:00
Dan
5d11c03b4e Add set_emoji_status method 2022-09-03 14:18:12 +02:00
Dan
04b343f61b Add get_default_emoji_statuses method 2022-09-03 14:06:46 +02:00
Dan
06c62c5b4c Add MessageReactions and ChatReactions to the docs 2022-09-03 13:47:17 +02:00
Dan
7a53c3da57 Add support for emoji status 2022-09-03 13:10:27 +02:00
Dan
2cd0f38602 Update API schema to Layer 145 2022-09-03 13:08:35 +02:00
Dan
95aae430a8 Fix serialization of empty optional lists 2022-08-28 16:43:45 +02:00
Dan
8c399323c8 Add new method get_custom_emoji_stickers 2022-08-12 17:34:10 +02:00
Nick
bc9161c354
Update API schema to Layer 144 (#1050) 2022-08-11 13:59:55 +02:00
AsmSafone
0505ff0d5e
Add some sticker-related errors (#1055)
* Add STICKERS_TOO_MUCH, STICKERSET_NOT_MODIFIED, STICKER_VIDEO_NOWEBM error description

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-08-11 13:56:21 +02:00
Dan
70e73d3ca8 Add ENTITY_BOUNDS_INVALID error description 2022-07-14 21:01:07 +02:00
Dan
0e0642ebfd Add [403 PREMIUM_ACCOUNT_REQUIRED] error
Closes #1024
2022-06-21 12:12:08 +02:00
Dan
7f9e841ccd Update API schema to Layer 143 2022-06-14 17:09:02 +02:00
Dan
8961da7a2c Update API schema to Layer 142 2022-05-13 11:56:42 +02:00
Dan
97a4ddea27 Update error messages 2022-05-06 21:57:33 +02:00
Dan
295060d190 Remove "0x" prefix from IDs in the documentation 2022-04-27 09:56:58 +02:00
Dan
2f82e753d6 Keep namespaces in constructors names 2022-04-27 09:04:20 +02:00
Dan
c2333c0575 Add inline query results to the documentation 2022-04-24 11:56:07 +02:00
Dan
1ebc704146 Documentation cleanup 2022-04-24 11:56:07 +02:00
Dan
43f9b57567 Add the method answer_web_app_query 2022-04-24 11:56:07 +02:00
Dan
747b25b9eb Add the class SentWebAppMessage 2022-04-24 11:56:07 +02:00
Dan
c44643faad Add the class WebAppData 2022-04-24 11:56:07 +02:00
Dan
fd0044c2ec Add {get,set}_chat_menu_button 2022-04-24 11:56:07 +02:00
Dan
173888f7c9 Fix renamed classes in the documentation 2022-04-24 11:56:07 +02:00
Dan
76546b0a13 Add MenuButton related classes 2022-04-24 11:56:07 +02:00
Dan
7654dc82e8 Add methods {get,set}_bot_default_privileges.py 2022-04-24 11:56:07 +02:00
Dan
6b0dca09de Add WebAppInfo and field web_app to (Inline)KeyboardButton. 2022-04-24 11:56:07 +02:00
Dan
d48cef9a26 Add ChatJoiner and get_chat_join_requests
Rename get_chat_invite_link_{members -> joiners}
Rename get_chat_invite_link_{members -> joiners}_count
2022-04-24 11:56:07 +02:00
Dan
3e33ef0c0d Add support for media streams with the method stream_media 2022-04-24 11:56:07 +02:00
Dan
4cb9dec35d Remove remaining iter_* methods 2022-04-24 11:56:07 +02:00
Dan
8af17c3ed5 Documentation improvements 2022-04-24 11:56:07 +02:00
Dan
9be3818486 Add new function compose 2022-04-24 11:56:07 +02:00
Dan
124bcb4db7 Remove API key requirement for existing sessions 2022-04-24 11:56:07 +02:00
Dan
b47591e6d2 Turn examples asynchronous 2022-04-24 11:56:07 +02:00
Dan
405528c74b Revamp get_chat_members related methods 2022-04-24 11:56:07 +02:00
Dan
d1bdaae81d Add methods related to discussion threads and comments 2022-04-24 11:56:07 +02:00
Dan
5f6788ad69 Improvements to the documentation 2022-04-24 11:56:07 +02:00
Dan
bf8a334e32 Revamp get_chat_history related methods 2022-04-24 11:56:07 +02:00
Dan
32624ef5e6 Improve type hints 2022-04-24 11:56:06 +02:00
Dan
9661b804b6 Revamp ChatMember, add ChatPrivileges and support for banned chats 2022-04-24 11:56:06 +02:00
Dan
976c2c47a2 Rename update- to set_username and set_chat_username 2022-04-24 11:56:06 +02:00
Dan
1885acd594 Reformat code 2022-04-16 20:02:10 +02:00
Dan
42fdb03d24 Revert "Remove unneeded parts"
This reverts commit 849321e5ca.
2022-04-16 20:01:38 +02:00
Stark Programmer
abc84b829a
Add bound method Chat.unpin_all_messages (#959) 2022-04-16 18:33:26 +02:00
Dan
d6c80ff0f9 Fix non-flags parameters with the same name "flags" being treated as TL flags 2022-04-11 14:52:59 +02:00
Dan
82b029c3bf Use Optional[Type] instead of Union[Type, None] 2022-04-11 14:34:29 +02:00