Message::filter_reply_to_message()
overrides the original message
#751
Labels
Message::filter_reply_to_message()
overrides the original message
#751
Originally reported in #750.
Message::filter_reply_to_message()
inserts aMessage
into the dependency map, this message overrides the original message. This makes it impossible to useMessage::filter_reply_to_message()
and retrieve both the original message and the message original message replies to.A temporary workaround is to use
dptree::filter_map
with a new type, as follows:Meta
teloxide
version:0.11.0
The text was updated successfully, but these errors were encountered: