-
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Checklist
- I am sure the error is coming from Hydrogram's code and not elsewhere
- I have searched in the issue tracker for similar bug reports, including closed ones
- I ran
pip3 install -U https://github.com/hydrogram/hydrogram/archive/dev.zipand reproduced the issue using the latest development version
Description
Try to unparse the markdown using Hydrogram and send back the received string using send_message method
Steps to reproduce
error.text and second.text looks different.
Code example
from hydrogram import Client
from hydrogram.enums import ParseMode
async def main():
async with Client("my_account") as app:
error = await app.get_messages(chat_id="@HydrogramChat", message_ids=5304)
first = await error.reply(error.text.markdown, parse_mode=ParseMode.DISABLED)
second = await error.reply(first.text, parse_mode=ParseMode.MARKDOWN)Logs
Metadata
Metadata
Assignees
Labels
No labels