2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Add a bunch of TODOs

This commit is contained in:
Dan 2018-04-04 20:15:59 +02:00
parent 88292cf7d6
commit 6201f6b1f7

View File

@ -15,6 +15,7 @@ ENTITIES = {
types.MessageEntityCode.ID: "code",
types.MessageEntityPre.ID: "pre",
types.MessageEntityTextUrl.ID: "text_link",
# TODO: text_mention
}
@ -83,6 +84,7 @@ def parse_channel_chat(channel: types.Channel):
)
# TODO: Reorganize code, maybe split parts as well
def parse_message(message: types.Message, users: dict, chats: dict):
entities = parse_entities(message.entities)