Skip to content
This repository was archived by the owner on Mar 30, 2020. It is now read-only.
This repository was archived by the owner on Mar 30, 2020. It is now read-only.

feature: add attachments to parse_msg() #61

@greenpau

Description

@greenpau

Currently, the Mml()'s parse_msg() function does not include references to attachments.

It would be great to have an indication as to whether a message has attachments, e.g.:

    def parse_msg(self, datafeed):
        for message in datafeed:

... omitted ...
            if 'attachments' in message:
                message_broke['attachments'] = []
                for attachment in message['attachments']:
                    if 'id' in attachment:
                        message_broke['attachments'].append(attachment['id']);
            message_parsed.append(message_broke)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions