-
-
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
Q: All the media types #1115
Comments
EMOTICON, do you mean emotion? If it is, this type is MsgType.TEXT Also, besides MsgTyps, there is AppMsgType, as follows export enum AppMsgType {
TEXT = 1,
IMG = 2,
AUDIO = 3,
VIDEO = 4,
URL = 5,
ATTACH = 6,
OPEN = 7,
EMOJI = 8,
VOICE_REMIND = 9,
SCAN_GOOD = 10,
GOOD = 13,
EMOTION = 15,
CARD_TICKET = 16,
REALTIME_SHARE_LOCATION = 17,
TRANSFERS = 2e3,
RED_ENVELOPES = 2001,
READER_TYPE = 100001,
} see more in src/puppet-web/schema.ts |
thanks a lot @lijiarui! |
Oh,
So what's difference between
|
well, I don't know, maybe @zixia knows... |
Short answer: Long version: they are inherited from the web-wechat source code, which is designed by Tencent. |
In https://github.com/Chatie/wechaty/blob/master/example/media-file-bot.ts, there lists some media types:
This seems not the complete list of all the media types, e.g., the url-shared-as-a-message is not listed there.
Where can I find the complete list of all the media types (and their explanations for e.g., EMOTICON)? Thx.
The text was updated successfully, but these errors were encountered: