Skip to content

Conversation

@JosXa
Copy link
Contributor

@JosXa JosXa commented Jan 18, 2017

Sometimes, it is useful to obtain the original message string with markup from message_entities inside an update, for example when you edit a message with markup upon InlineKeyboardButton press.

There is no support for nested entities yet, can someone confirm my assumption that telegram/ptb does not support that anyway?

@JosXa JosXa changed the title Added methods to generate the original markdown/html from entities contained in update Added methods to generate the original markdown/html string from entities contained in Message Jan 18, 2017
@jh0ker jh0ker merged commit ac59f2f into python-telegram-bot:master Jan 20, 2017
jh0ker added a commit that referenced this pull request Mar 26, 2017
…531)

* 🔨 Refactor `Update.extract_` methods to `Update.effective_` properties
 #507

* 🔨 handler.py: use effective_ properties
jh0ker added a commit that referenced this pull request Mar 26, 2017
* 🔨 Refactor `Update.extract_` methods to `Update.effective_` properties
 #507

* ✨ Update RegexHandler to work with edited messages and channel posts

* 🔨 messagehandler.py: refactor channel_posts_updates -> channel_post_updates

* 🔨 handler.py: use effective_ properties
@github-actions github-actions bot locked and limited conversation to collaborators Aug 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants