Skip to content

[FR] Keep the video name with the original file name #136

@shejialuo

Description

@shejialuo

Is your feature request related to a problem? Please describe.

At now, the efb-telegram-master would wrap the video message with a temporary file to the slave. However, the problem is that the name would be changed to the temporary file name but not the original name, see the following example.

image

For slaves, when it uses msg.filename it could only get the tmpigih7v8l.mp4 such that losing the original information.

Describe the solution you'd like

Keep the video name consistent with the original file name. Don't change it to the temporary file name.

Describe alternatives you've considered

None.

Additional context

When developing the code for sending a video to the QQ. It's bad because the filename will be the filename of the temporary name. However, for the MsgType.File type, it is OK.

image

See ehForwarderBot/efb-qq-plugin-go-cqhttp#68

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions