Skip to content
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

BREAKING CHANGE: v0.16 will remove MediaMessage class #1164

Closed
huan opened this issue Apr 25, 2018 · 4 comments
Closed

BREAKING CHANGE: v0.16 will remove MediaMessage class #1164

huan opened this issue Apr 25, 2018 · 4 comments

Comments

@huan
Copy link
Member

huan commented Apr 25, 2018

From v0.16, MediaMessage will be deprecated.
From v0.18, MediaMessage will be removed.

Use Message instead.

Migration Example

- bot.say(new MediaMessage('/image.png')
+ bot.say(new Message('/image.png')
@huan huan changed the title BREAKING CHANGES: v0.16 will remove MediaMessage and use Message for attachments. BREAKING CHANGE: v0.16 will remove MediaMessage and use Message for attachments. Apr 25, 2018
@huan huan changed the title BREAKING CHANGE: v0.16 will remove MediaMessage and use Message for attachments. BREAKING CHANGE: v0.16 will remove MediaMessage class Apr 25, 2018
@huan huan added this to the New Puppet for Wechat4U milestone Apr 26, 2018
@lizhongyi
Copy link

不行 ding-dong 那个二维码报错发布出去啊
image

@huan
Copy link
Member Author

huan commented Apr 29, 2018

No, it can't.

Currently v0.15 is in heavy developing, please use it only if you do want to read the source code and help us to find out the bug(with a fix PR will be better).

You can use v0.14 instead and switch to v0.16 after it published.

See also #1158

@huan
Copy link
Member Author

huan commented May 11, 2018

See: #1200

@huan huan closed this as completed May 26, 2018
@huan
Copy link
Member Author

huan commented May 26, 2018

Code Example can be found at #1092

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants