ehForwarderBot / ehForwarderBot/efb-telegram-master
[FR] Keep the video name with the original file name
- Dominant language
- Python
- Stars
- 220
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
**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.

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.

See https://github.com/ehForwarderBot/efb-qq-plugin-go-cqhttp/pull/68
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.