Remove DEPRECATED methods from Wechaty@0.47.21
Created by: huan
Deprecated list:
Before (Deprecated) | After |
---|---|
WechatyOptions.profile | name |
Wechaty.self() | userSelf() |
Contact.stranger() | friend() |
Contact.official() | contact.type() === ContactType.Official |
Contact.personal() | contact.type() === ContactType.Individual |
Contact.refresh() | sync() |
Friendship.send() | add() |
Message.content() | text() |
Message.mentioned() | mentionList() |
Message.file() | toFileBox() |
RoomInvitation.roomTopic() | topic() |
RoomInvitation.roomMemberCount() | memberCount() |
RoomInvitation.roomMemberList() | memberList() |
Room.refresh() | sync() |
Room.qrcode() | qrCode() |
Room.roomAlias() | alias() |
That's all!