Bibo-Joshi
c486c396da
Doc Fixes ( #2597 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
2022-05-06 18:19:11 +02:00
Bibo-Joshi
8f0031e9c8
Remove Deprecated Functionality ( #2644 , #2740 , #2745 )
2022-05-06 18:19:10 +02:00
Harshil
a35ecf4065
API 5.7 ( #2881 )
2022-02-02 21:05:46 +01:00
Harshil
e6d9f3d057
Update Copyright to 2022 ( #2836 )
2022-01-03 08:15:18 +01:00
Harshil
98bf378c6e
API 5.6 ( #2835 )
2022-01-03 08:13:33 +01:00
Bibo-Joshi
cb95868c4a
Api 5.5 ( #2809 )
...
Co-authored-by: poolitzer <github@poolitzer.eu>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2021-12-11 15:21:56 +01:00
Bibo-Joshi
e4dc80f41d
API 5.4 ( #2767 )
...
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
2021-11-08 19:02:20 +01:00
Bibo-Joshi
ed147813ab
API 5.3 ( #2572 )
...
* BotCommandScopes
* pre-commit
* typo
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
* rename kickChatMember & getChatMembersCount method
Signed-off-by: starry69 <starry369126@outlook.com>
* add `language_code` and `scope` to `get/set_my_commands`
and add `delete_my_commands()`
* add `input_field_placeholder` to replykeyboardmarkup.py and forcereply.py
also improved/fixed docs along the way
* showcase `input_field_placeholder` in conversationbot.py
* review 1
'i will not go away' has gone away 😢
* deprecate `Bot.commands` and make sure its only used for default scope
* review 2 (use constants for scope)
* Review
Signed-off-by: starry69 <starry369126@outlook.com>
* doc updates
* New ChatMember classes
Signed-off-by: starry69 <starry369126@outlook.com>
* Address review
Signed-off-by: starry69 <starry369126@outlook.com>
* add versionadded tags again
Signed-off-by: starry69 <starry369126@outlook.com>
* Improve tests & add a deprecation note to ChatMember
* test_official
* Documentation tweaks
* Bump bot api version number
* but bot
* Rename chat shortcuts
Signed-off-by: starry69 <starry369126@outlook.com>
* deepsource
Signed-off-by: starry69 <starry369126@outlook.com>
* add missing slot in botcommandscope & missing slot tests
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: starry69 <starry369126@outlook.com>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-07-01 17:45:19 +02:00
Bibo-Joshi
bae57c7f8f
Doc Fixes ( #2437 )
...
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2021-04-30 10:47:41 +02:00
Bibo-Joshi
3938a57542
Convenience Utilities & Example for Handling ChatMemberUpdated ( #2490 )
...
* ChatMemberUpdate.difference
* constants for update types
* Add an example for ChatMemberHandler
* Update examples/chatmemberbot.py
* Review
* Review
2021-04-30 10:14:41 +02:00
Bibo-Joshi
b6a6d7f872
Api 5.2 ( #2489 )
...
* Bump API Version to v5.2
* InputInvoiceMessageContent & simplify *Markup.__eq__ on the fly
* Updates to send_invoice
* InlineQuery updatees and new parameter for InlineQueryhandler
* VCScheduled - not integrated into Message yet
* Bump requirements-dev.txt versions
* Message.voice_chat_scheduled & new Filters.status_update.vcs
* Some doc updates
* Review
* All praise harshil, the god of finding typos :)
* Review
* More warnings
2021-04-30 10:09:21 +02:00
Bibo-Joshi
3b92901892
Update ChatActions ( #2460 )
...
* deprecate CA.upload/record_audio in favor of ca.u/r_voice
* tests
* tests
* Fix test
2021-04-22 08:57:56 +02:00
Poolitzer
ac02bce109
API 5.1 ( #2424 )
...
* Feat: New invite links
* Fix: doc strings
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
* new dice, new admin privilege, revoke_messages, update and fix some docs
* add missing param to shortcut
* Add ChatMemberUpdated
* Add voicechat related objects
Signed-off-by: starry69 <starry369126@outlook.com>
* add versionadd tags
Signed-off-by: starry69 <starry369126@outlook.com>
* Fix filter tests
* Update tg.Update
* ChatMemberHandler
* Add versioning directives
* add can_manage_voice_chats attr and fix docs
Signed-off-by: starry69 <starry369126@outlook.com>
* fix chat shortcut
Signed-off-by: starry69 <starry369126@outlook.com>
* address review
* MADTC
* Chat.message_auto_delete_time
* Some doc fixes
* address review
Signed-off-by: starry69 <starry369126@outlook.com>
* welp
Signed-off-by: starry69 <starry369126@outlook.com>
* Add voicechat related filters
Signed-off-by: starry69 <starry369126@outlook.com>
* Fix: Addressing review
change place of version adding, added obj:True as doc string, changing how member limit is initiated
* feat: adding chat shortcuts for invite links
* fix: changing equality of chatinviteobjects
* Non-test comments
* Some test fixes
* A bit more tests
* Bump API version in both readmes
* Increase coverage
* Add Bot API Version in telegram.constants (#2429 )
* add bot api version in constants
Signed-off-by: starry69 <starry369126@outlook.com>
* addressing review
Signed-off-by: starry69 <starry369126@outlook.com>
* add versioning directive
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
* pre-commit & coverage
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
Co-authored-by: starry69 <starry369126@outlook.com>
2021-03-14 16:41:35 +01:00
Bibo-Joshi
6a831f926b
Add New Constant MAX_ANSWER_CALLBACK_QUERY_TEXT_LENGTH ( #2282 )
2021-01-07 21:27:51 +01:00
starry69
91e0271e4c
Update copyright headers
...
Signed-off-by: starry69 <starry369126@outlook.com>
2021-01-03 10:40:24 +05:30
Bibo-Joshi
ae9ce60b55
API 5.0 ( #2181 )
...
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2020-11-29 16:20:46 +01:00
NikitaPirate
165a24e13d
Add Convenience Properties for Service Chats and Anonymous Admins ( #2147 )
...
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
2020-10-18 16:15:56 +02:00
NikitaPirate
3b4559dd95
Overhaul Constants ( #2137 )
...
* Move all constants to constants.py and documentation refactor.
* Move all constants to constants.py and documentation refactor.
* Overhaul constants
* Overhaul constants
* Minor docstring change
Co-authored-by: Hinrich Mahler <hinrich.mahler@freenet.de>
2020-10-13 17:58:36 +02:00
Bibo-Joshi
264b2c9c72
Switch Code Formatting to Black ( #2122 )
...
* Swtich code formatting to Black
* Update docs
* Fix tests
* TRy fixing pre-commit
2020-10-09 17:22:07 +02:00
Hinrich Mahler
5fd7606084
Type Hinting ( #1920 )
2020-10-07 20:30:41 +02:00
Noam Meltzer
43bfebb150
Update copyright date to 2020 ( #1746 )
2020-02-02 23:08:54 +02:00
Iulian Onofrei
88eccc6608
Add MAX_PHOTOSIZE_UPLOAD size limit constant ( #1560 )
...
* Add MAX_PHOTOSIZE_UPLOAD size limit constant
* Add the other source of the constants' values
2019-10-17 22:24:44 +02:00
Eldinnie
9d99660ba9
Change MAX_CAPTION_LENGTH to 1024 ( #1262 )
...
* update MAX_CAPTION_LENGTH
Telegram silently changed the max length for captions to 1024 chars.
* Update test_constants.py
* change docstrings to reflect new length
* remove message
* clear message and proper match
2018-10-16 19:51:57 +02:00
Jacob Bom
2ca7ff82ef
Update headers to 2018 ( #962 )
...
Also add two missing headers.
[ci skip]
2018-01-04 17:16:06 +02:00
Noam Meltzer
e018445513
Documentation update to PEP ( #797 )
2017-09-01 08:43:08 +02:00
Eldinnie
b3b94240a5
Docs update ( #728 )
...
Amazing new documentation.
2017-07-23 23:33:08 +03:00
Jacob Bom
1b7f83625c
Update copyright notice to include 2017
...
Not strictly needed, but it helps show that the project is being actively
developed which I find important.
2017-05-15 00:36:49 +03:00
Iulian Onofrei
44d7bad11c
Update constants.py ( #553 )
...
Add maximum inline query results constant
2017-03-29 17:31:26 +02:00
Jacob Bom
6647ae3c25
Add methods to parse entities in Message
...
Should close #400 .
* Add parse_entity
* Add parse_entities
* Add MessageEntity types as constants to MessageEntity.
* Add MAX_MESSAGE_ENTITIES to constants.py
Note: the value has been found by experimentation as opposed to extracted from the api docs.
* Add tests for parse_entity and parse_entities
2016-09-07 08:49:09 +02:00
Rahiel Kasim
04a871aff5
introduce constants module ( #342 )
2016-07-14 21:48:31 +02:00