python-telegram-bot/telegram
Stɑrry Shivɑm b43a599e53
Rich Comparison for Bot (#2320)
* Make telegram.Bot comparable

Signed-off-by: starry69 <starry369126@outlook.com>

* Address review

Signed-off-by: starry69 <starry369126@outlook.com>

* Enhance tests & add docstring about comparison

Signed-off-by: starry69 <starry369126@outlook.com>

* Minor doc fix

* Extend tests

Co-authored-by: Hinrich Mahler <hinrich.mahler@freenet.de>
2021-01-17 09:23:36 +01:00
..
ext Add run_async Parameter to ConversationHandler (#2292) 2021-01-09 20:05:58 +01:00
files Update copyright headers 2021-01-03 10:40:24 +05:30
games Update copyright headers 2021-01-03 10:40:24 +05:30
inline Add New Constant MAX_ANSWER_CALLBACK_QUERY_TEXT_LENGTH (#2282) 2021-01-07 21:27:51 +01:00
passport Update copyright headers 2021-01-03 10:40:24 +05:30
payment Update copyright headers 2021-01-03 10:40:24 +05:30
utils Add New Shortcuts to Chat (#2291) 2021-01-09 17:48:56 +01:00
vendor Revert accitendtal change in vendored urllib3 (#1775) 2020-03-28 12:15:51 +01:00
__init__.py Update copyright headers 2021-01-03 10:40:24 +05:30
__main__.py Update copyright headers 2021-01-03 10:40:24 +05:30
base.py Update copyright headers 2021-01-03 10:40:24 +05:30
bot.py Rich Comparison for Bot (#2320) 2021-01-17 09:23:36 +01:00
botcommand.py Update copyright headers 2021-01-03 10:40:24 +05:30
callbackquery.py Add New Constant MAX_ANSWER_CALLBACK_QUERY_TEXT_LENGTH (#2282) 2021-01-07 21:27:51 +01:00
chat.py Add New Shortcuts to Chat (#2291) 2021-01-09 17:48:56 +01:00
chataction.py Update copyright headers 2021-01-03 10:40:24 +05:30
chatlocation.py Update copyright headers 2021-01-03 10:40:24 +05:30
chatmember.py Update copyright headers 2021-01-03 10:40:24 +05:30
chatpermissions.py Update copyright headers 2021-01-03 10:40:24 +05:30
choseninlineresult.py Update copyright headers 2021-01-03 10:40:24 +05:30
constants.py Add New Constant MAX_ANSWER_CALLBACK_QUERY_TEXT_LENGTH (#2282) 2021-01-07 21:27:51 +01:00
dice.py Update copyright headers 2021-01-03 10:40:24 +05:30
error.py Update copyright headers 2021-01-03 10:40:24 +05:30
forcereply.py Update copyright headers 2021-01-03 10:40:24 +05:30
keyboardbutton.py Update copyright headers 2021-01-03 10:40:24 +05:30
keyboardbuttonpolltype.py Update Copyright (#2289) 2021-01-04 17:24:14 +01:00
loginurl.py Update copyright headers 2021-01-03 10:40:24 +05:30
message.py Fix Escaping in Nested Entities in Message Properties (#2312) 2021-01-12 19:33:26 +01:00
messageentity.py Update copyright headers 2021-01-03 10:40:24 +05:30
messageid.py Update Copyright (#2289) 2021-01-04 17:24:14 +01:00
parsemode.py Update copyright headers 2021-01-03 10:40:24 +05:30
poll.py Update copyright headers 2021-01-03 10:40:24 +05:30
proximityalerttriggered.py Update copyright headers 2021-01-03 10:40:24 +05:30
py.typed Comply with PEP561 (#2168) 2020-11-01 19:33:01 +01:00
replykeyboardmarkup.py Update copyright headers 2021-01-03 10:40:24 +05:30
replykeyboardremove.py Update copyright headers 2021-01-03 10:40:24 +05:30
replymarkup.py Update copyright headers 2021-01-03 10:40:24 +05:30
update.py Update copyright headers 2021-01-03 10:40:24 +05:30
user.py Add New Shortcuts to Chat (#2291) 2021-01-09 17:48:56 +01:00
userprofilephotos.py Update copyright headers 2021-01-03 10:40:24 +05:30
version.py Update copyright headers 2021-01-03 10:40:24 +05:30
webhookinfo.py Update copyright headers 2021-01-03 10:40:24 +05:30