python-telegram-bot/telegram
Ak4zh 28ded6718e
Add link property to Bot (#1770)
* added link property to bot

link property was available in User and Chat objects but not in Bot which was inconsistent.

* added 'link' property to Bot object

Bot will always have username so it does not require hasattr check

* add tests

Co-authored-by: Hinrich Mahler <hinrich.mahler@freenet.de>
2020-03-09 23:17:05 +02:00
..
ext Remove builtin names where possible (#1792) 2020-02-23 23:03:58 +02:00
files Add default values (#1490) 2020-02-06 11:22:56 +01:00
games Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inline Add default values (#1490) 2020-02-06 11:22:56 +01:00
passport Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
payment Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
utils Python 3.8 support (#1614) 2020-03-09 23:13:16 +02:00
vendor bot_data as global memory (V12 version of #1322) (#1325) 2020-02-02 22:20:31 +01:00
__init__.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
__main__.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
base.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
bot.py Add link property to Bot (#1770) 2020-03-09 23:17:05 +02:00
callbackquery.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
chat.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
chataction.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
chatmember.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
chatpermissions.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
choseninlineresult.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
constants.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
error.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
forcereply.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
keyboardbutton.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
loginurl.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
message.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
messageentity.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
parsemode.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
poll.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
replykeyboardmarkup.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
replykeyboardremove.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
replymarkup.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
update.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
user.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
userprofilephotos.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
version.py Bump to v12.4.2 2020-02-10 11:39:26 +01:00
webhookinfo.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00