python-telegram-bot/telegram
Bibo-Joshi 8d2c7af1f3
API 4.5 (#1508)
* Allow for nested MessageEntities in Message._parse_markdown/html, adjust tests

* remove testing relict

* Use MessageEntitys new equality check (#1465)

* Remove unused variable

* Update to custom_title feature and slow_mode_delay option

Changes:

 - custom_title for ChatMember
 - new method setChatAdministratorCustomTitle for Bot
 - new slow_mode_delay for Chat

Update due to new API future `custom_title` from API 4.5 (https://core.telegram.org/bots/api#december-31-2019)

* Minor typo fix

* Comply with Flake8

* Add new MessageEntities and MarkdownV2

* Added file_unique_id attrs from API 4.5 and updated tests for it

* Fixed test and checked using flake8

* Fixed ChatPhoto documentation

* Fix Flake8

* Add setChatAdminCstmTitle to Bot

* Rename MDV2 methods

* Change files id attrs to unique id

* correct id_attrs for chat_photo

* Revert "temporarily skip tests failing b/c missing api 4.5 (#1738)"

This reverts commit 7cde6ca268.

* Fix text_markdown_v2 for monospace and text_links

* closing remarks from pieter

* Minor fix in escape_markdown, improve tests for it

* Fix offset bug in Message._parse_*

* Add test_chatphoto.py

* remove debug print from test_message.py

* try making codecov happy

* Update readme

* all hail codecov

* Improve Link handling for MarkdownV1 and adjust tests. Closes #1654

* Dont use beginning of pre-entity as language in _parse_markdown

* Remove debug print

* Dummy commit to try fix codecov

Co-authored-by: Hoi Dmytro <dmytro.hoi@gmail.com>
Co-authored-by: Dmytro Hoi <code@dmytrohoi.com>
Co-authored-by: poolitzer <25934244+poolitzer@users.noreply.github.com>
2020-03-28 16:37:26 +01:00
..
ext Doc Fixes (#1778) 2020-03-28 11:49:47 +01:00
files API 4.5 (#1508) 2020-03-28 16:37:26 +01:00
games Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inline Doc Fixes (#1778) 2020-03-28 11:49:47 +01:00
passport API 4.5 (#1508) 2020-03-28 16:37:26 +01:00
payment Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
utils API 4.5 (#1508) 2020-03-28 16:37:26 +01:00
vendor Revert accitendtal change in vendored urllib3 (#1775) 2020-03-28 12:15:51 +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 API 4.5 (#1508) 2020-03-28 16:37:26 +01:00
callbackquery.py Update CallbackQuery docstrings (#1818) 2020-03-28 15:52:37 +01:00
chat.py API 4.5 (#1508) 2020-03-28 16:37:26 +01:00
chataction.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
chatmember.py API 4.5 (#1508) 2020-03-28 16:37:26 +01:00
chatpermissions.py Doc Fixes (#1778) 2020-03-28 11:49:47 +01: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 API 4.5 (#1508) 2020-03-28 16:37:26 +01:00
messageentity.py API 4.5 (#1508) 2020-03-28 16:37:26 +01:00
parsemode.py API 4.5 (#1508) 2020-03-28 16:37:26 +01: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 API 4.5 (#1508) 2020-03-28 16:37:26 +01: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