-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Message Type of Image/Video #4
Comments
@ak5 thanks for like wechaty. as you need media support and submit this issue, I'll put this feature as high priority. 💯 stay tuned. |
Hi, Any progress on this? |
能说中文吗… |
hmm... I'm working on stable issues those weeks to make wechaty run smoothly. will try to finger out how to get media for you tonight. :) |
@sjdy521 我觉得咱们说中文不太合适。和你聊天应该用 Perl 文 :-] |
@ak5 how do you think this implementation? video should be easy grabed use the same way. |
Hi @zixia bumping this request! Receiving images via message as well as plain text would be awesome! Any idea if you would have time to do this some time soon? The implementation you showed would be perfect. |
thanks for bumping! I'm hoping to finish this issue on version 0.5, for supporting receive video/audio and send image/audio/video as well as plain text. as your request, receiving images via message has already supported in the current code, which you can find at you can have a try. |
so there's only one issue left which belongs to the milestone v0.5... it's you! 🔪 |
There's a media file demo bot in the example directory: https://github.com/wechaty/wechaty/blob/master/example/media-file-bot.ts |
…e https will only succeed on the very first request!
+1. It would be very nice to have this feature. |
@tiaozi0912 Thanks for pump this up! In order to support send files(image/video/motion gif/pdf/etc), what we need to do is:
The list above might not a full list, I'll add new thoughts to this post when I get them in my mind. It will be great if you could kick it off, and I'll be very happy to follow you and make it works. |
Split this issue into sub-issues is better because this issue include many feature/functions. In order to send sticker/image/attachment/video, we need to implement Then everything should be easy to implement. :) |
Any news for this issue? Wechaty is really convenient but messaging with only plain text, we miss a lot of wechat functionalities. In my opinion this feature is really a must have. |
@lbineau Thanks for voting this up. :) |
Thanks @mukaiu's work, I can send Image-message right now. |
Hi all, good news! The pull request to implement send attachment file from @lockon is just merged to the master branch! This feature will be available after Wechaty v0.7.58. Please submit an issue if you meet any problem or have any suggestions, Cheers! |
@mukaiu Thank you firstly.
Sorry for big pic, I could not resize this pic at Markdown. |
@mukaiu can we support to say voice(.mp3 or .amr). I thought this is not be done as you have just changed for saying .gif? |
if someone came here while looking for some guide on how to send images using wechaty,
if room is defined already, then simply the bold part of it and ofc you may read FileName.jpg from some var. |
@d2cs Thanks for sharing. I'd like to make a suggestion: + const { Wechaty, Room, MediaMessage } = require('wechaty')
- const { Wechaty } = require('wechaty')
- const Room = require('wechaty').Room
- const MediaMessage = require('wechaty').MediaMessage |
Support for sending any type of file. doc/pdf/ppt/mp3/mp4/gif/jpg... any type file. see #714 |
Thanks, @binsee ! Finally, this issue seems could be closed in the near future, after 12 months... LOL. |
I couldn't find a way to grab images or other media - any way to do this?
Thanks for this it's quite cool even with just text!
Alex
Update by zixia
The text was updated successfully, but these errors were encountered: