MessageContentType
信息
消息类型。
消息类型
枚举值 | 描述 |
---|---|
101 | 文本消息 |
102 | 图片消息 |
103 | 语音消息 |
104 | 视频消息 |
105 | 文件消息 |
106 | @消息 |
107 | 合并消息 |
108 | 名片消息 |
109 | 位置消息 |
110 | 自定义消息 |
113 | 输入状态 |
114 | 引用消息 |
115 | 表情消息 |
1201 | 双方成为好友通知 |
1400 | 系统通知 |
1501 | 群创建通知 |
1502 | 群信息改变通知 |
1504 | 群成员退出通知 |
1507 | 群主更换通知 |
1508 | 群成员被踢通知 |
1509 | 邀请群成员通知 |
1510 | 群成员进群通知 |
1511 | 解散群通知 |
1512 | 群成员禁言通知 |
1513 | 取消群成员禁言通知 |
1514 | 群禁言通知 |
1515 | 取消群禁言通知 |
1519 | 群公告改变通知 |
1520 | 群名称改变通知 |
1701 | 阅后即焚开启或关闭通知 |
2101 | 撤回消息通知 |
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
- React-Native
- Unity
MessageType
枚举值名称 | 枚举值 |
---|---|
text | 101 |
picture | 102 |
voice | 103 |
video | 104 |
file | 105 |
atText | 106 |
merger | 107 |
card | 108 |
location | 109 |
custom | 110 |
typing | 113 |
quote | 114 |
customFace | 115 |
advancedText | 117 |
customMsgNotTriggerConversation | 119 |
customMsgOnlineOnly | 120 |
friendApplicationApprovedNotification | 1201 |
friendApplicationRejectedNotification | 1202 |
friendApplicationNotification | 1203 |
friendAddedNotification | 1204 |
friendDeletedNotification | 1205 |
friendRemarkSetNotification | 1206 |
blackAddedNotification | 1207 |
blackDeletedNotification | 1208 |
conversationChangeNotification | 1300 |
userInfoUpdatedNotification | 1303 |
oaNotification | 1400 |
groupCreatedNotification | 1501 |
groupInfoSetNotification | 1502 |
joinGroupApplicationNotification | 1503 |
memberQuitNotification | 1504 |
groupApplicationAcceptedNotification | 1505 |
groupApplicationRejectedNotification | 1506 |
groupOwnerTransferredNotification | 1507 |
memberKickedNotification | 1508 |
memberInvitedNotification | 1509 |
memberEnterNotification | 1510 |
dismissGroupNotification | 1511 |
groupMemberMutedNotification | 1512 |
groupMemberCancelMutedNotification | 1513 |
groupMutedNotification | 1514 |
groupCancelMutedNotification | 1515 |
groupMemberInfoChangedNotification | 1516 |
groupMemberSetToAdminNotification | 1517 |
groupMemberSetToOrdinaryUserNotification | 1518 |
groupInfoSetAnnouncementNotification | 1519 |
groupInfoSetNameNotification | 1520 |
burnAfterReadingNotification | 1701 |
businessNotification | 2001 |
revokeMessageNotification | 2101 |
signalHasReadReceiptNotification | 2150 |
groupHasReadReceiptNotification | 2155 |
OIMMessageContentType
枚举值名称 | 枚举值 |
---|---|
OIMMessageContentTypeText | 101 |
OIMMessageContentTypeImage | 102 |
OIMMessageContentTypeAudio | 103 |
OIMMessageContentTypeVideo | 104 |
OIMMessageContentTypeFile | 105 |
OIMMessageContentTypeAt | 106 |
OIMMessageContentTypeMerge | 107 |
OIMMessageContentTypeCard | 108 |
OIMMessageContentTypeLocation | 109 |
OIMMessageContentTypeCustom | 110 |
OIMMessageContentTypeRevokeReciept | 111 |
OIMMessageContentTypeC2CReciept | 112 |
OIMMessageContentTypeTyping | 113 |
OIMMessageContentTypeQuote | 114 |
OIMMessageContentTypeFace | 115 |
OIMMessageContentTypeAdvancedText | 117 |
OIMMessageContentTypeAdvancedRevoke | 118 |
OIMMessageContentTypeCustomMsgNotTriggerConversation | 119 |
OIMMessageContentTypeCustomMsgOnlineOnly | 120 |
OIMMessageContentTypeFriendAppApproved | 1201 |
OIMMessageContentTypeFriendAppRejected | 1202 |
OIMMessageContentTypeFriendApplication | 1203 |
OIMMessageContentTypeFriendAdded | 1204 |
OIMMessageContentTypeFriendDeleted | 1205 |
OIMMessageContentTypeFriendRemarkSet | 1206 |
OIMMessageContentTypeBlackAdded | 1207 |
OIMMessageContentTypeBlackDeleted | 1208 |
OIMMessageContentTypeConversationOptChange | 1300 |
OIMMessageContentTypeUserInfoUpdated | 1303 |
OIMMessageContentTypeOANotification | 1400 |
OIMMessageContentTypeGroupCreated | 1501 |
OIMMessageContentTypeGroupInfoSet | 1502 |
OIMMessageContentTypeJoinGroupApplication | 1503 |
OIMMessageContentTypeMemberQuit | 1504 |
OIMMessageContentTypeGroupAppAccepted | 1505 |
OIMMessageContentTypeGroupAppRejected | 1506 |
OIMMessageContentTypeGroupOwnerTransferred | 1507 |
OIMMessageContentTypeMemberKicked | 1508 |
OIMMessageContentTypeMemberInvited | 1509 |
OIMMessageContentTypeMemberEnter | 1510 |
OIMMessageContentTypeDismissGroup | 1511 |
OIMMessageContentTypeGroupMemberMutedNotification | 1512 |
OIMMessageContentTypeGroupMemberCancelMutedNotification | 1513 |
OIMMessageContentTypeGroupMutedNotification | 1514 |
OIMMessageContentTypeGroupCancelMutedNotification | 1515 |
OIMMessageContentTypeGroupMemberInfoSetNotification | 1516 |
OIMMessageContentTypeGroupMemberSetToAdminNotification | 1517 |
OIMMessageContentTypeGroupMemberSetToOrdinaryUserNotification | 1518 |
OIMMessageContentTypeSuperGroupUpdateNotification | 1651 |
OIMMessageContentTypeIsPrivateMessage | 1701 |
OIMMessageContentTypeBusiness | 2001 |
OIMMessageContentTypeRevoke | 2101 |
OIMMessageContentTypeHasReadReceipt | 2150 |
OIMMessageContentTypeGroupHasReadReceipt | 2155 |
MessageType
枚举值名称 | 枚举值 |
---|---|
text | 101 |
picture | 102 |
voice | 103 |
video | 104 |
file | 105 |
atText | 106 |
merger | 107 |
card | 108 |
location | 109 |
custom | 110 |
typing | 113 |
quote | 114 |
customFace | 115 |
advancedText | 117 |
customMsgNotTriggerConversation | 119 |
customMsgOnlineOnly | 120 |
friendApplicationApprovedNotification | 1201 |
friendApplicationRejectedNotification | 1202 |
friendApplicationNotification | 1203 |
friendAddedNotification | 1204 |
friendDeletedNotification | 1205 |
friendRemarkSetNotification | 1206 |
blackAddedNotification | 1207 |
blackDeletedNotification | 1208 |
conversationChangeNotification | 1300 |
userInfoUpdatedNotification | 1303 |
oaNotification | 1400 |
groupCreatedNotification | 1501 |
groupInfoSetNotification | 1502 |
joinGroupApplicationNotification | 1503 |
memberQuitNotification | 1504 |
groupApplicationAcceptedNotification | 1505 |
groupApplicationRejectedNotification | 1506 |
groupOwnerTransferredNotification | 1507 |
memberKickedNotification | 1508 |
memberInvitedNotification | 1509 |
memberEnterNotification | 1510 |
dismissGroupNotification | 1511 |
groupMemberMutedNotification | 1512 |
groupMemberCancelMutedNotification | 1513 |
groupMutedNotification | 1514 |
groupCancelMutedNotification | 1515 |
groupMemberInfoChangedNotification | 1516 |
groupMemberSetToAdminNotification | 1517 |
groupMemberSetToOrdinaryUserNotification | 1518 |
groupNoticeChangedNotification | 1519 |
groupNameChangedNotification | 1520 |
burnAfterReadingNotification | 1701 |
businessNotification | 2001 |
revokeMessageNotification | 2101 |
signalHasReadReceiptNotification | 2150 |
groupHasReadReceiptNotification | 2155 |
MessageType
枚举值名称 | 枚举值 |
---|---|
TextMessage | 101 |
PictureMessage | 102 |
VoiceMessage | 103 |
VideoMessage | 104 |
FileMessage | 105 |
AtTextMessage | 106 |
MergeMessage | 107 |
CardMessage | 108 |
LocationMessage | 109 |
CustomMessage | 110 |
TypingMessage | 113 |
QuoteMessage | 114 |
FaceMessage | 115 |
FriendAdded | 1201 |
OANotification | 1400 |
GroupCreated | 1501 |
MemberQuit | 1504 |
GroupOwnerTransferred | 1507 |
MemberKicked | 1508 |
MemberInvited | 1509 |
MemberEnter | 1510 |
GroupDismissed | 1511 |
GroupMemberMuted | 1512 |
GroupMemberCancelMuted | 1513 |
GroupMuted | 1514 |
GroupCancelMuted | 1515 |
GroupAnnouncementUpdated | 1519 |
GroupNameUpdated | 1518 |
BurnMessageChange | 1701 |
RevokeMessage | 2101 |
MessageType
枚举值名称 | 枚举值 |
---|---|
TextMessage | 101 |
PictureMessage | 102 |
VoiceMessage | 103 |
VideoMessage | 104 |
FileMessage | 105 |
AtTextMessage | 106 |
MergeMessage | 107 |
CardMessage | 108 |
LocationMessage | 109 |
CustomMessage | 110 |
TypingMessage | 113 |
QuoteMessage | 114 |
FaceMessage | 115 |
FriendAdded | 1201 |
OANotification | 1400 |
GroupCreated | 1501 |
MemberQuit | 1504 |
GroupOwnerTransferred | 1507 |
MemberKicked | 1508 |
MemberInvited | 1509 |
MemberEnter | 1510 |
GroupDismissed | 1511 |
GroupMemberMuted | 1512 |
GroupMemberCancelMuted | 1513 |
GroupMuted | 1514 |
GroupCancelMuted | 1515 |
GroupAnnouncementUpdated | 1519 |
GroupNameUpdated | 1518 |
BurnMessageChange | 1701 |
RevokeMessage | 2101 |
MessageType
枚举值名称 | 枚举值 |
---|---|
TextMessage | 101 |
PictureMessage | 102 |
VoiceMessage | 103 |
VideoMessage | 104 |
FileMessage | 105 |
AtTextMessage | 106 |
MergeMessage | 107 |
CardMessage | 108 |
LocationMessage | 109 |
CustomMessage | 110 |
TypingMessage | 113 |
QuoteMessage | 114 |
FaceMessage | 115 |
FriendAdded | 1201 |
OANotification | 1400 |
GroupCreated | 1501 |
MemberQuit | 1504 |
GroupOwnerTransferred | 1507 |
MemberKicked | 1508 |
MemberInvited | 1509 |
MemberEnter | 1510 |
GroupDismissed | 1511 |
GroupMemberMuted | 1512 |
GroupMemberCancelMuted | 1513 |
GroupMuted | 1514 |
GroupCancelMuted | 1515 |
GroupAnnouncementUpdated | 1519 |
GroupNameUpdated | 1518 |
BurnMessageChange | 1701 |
RevokeMessage | 2101 |
MessageType
枚举值名称 | 枚举值 |
---|---|
TextMessage | 101 |
PictureMessage | 102 |
VoiceMessage | 103 |
VideoMessage | 104 |
FileMessage | 105 |
AtTextMessage | 106 |
MergeMessage | 107 |
CardMessage | 108 |
LocationMessage | 109 |
CustomMessage | 110 |
TypingMessage | 113 |
QuoteMessage | 114 |
FaceMessage | 115 |
FriendAdded | 1201 |
OANotification | 1400 |
GroupCreated | 1501 |
MemberQuit | 1504 |
GroupOwnerTransferred | 1507 |
MemberKicked | 1508 |
MemberInvited | 1509 |
MemberEnter | 1510 |
GroupDismissed | 1511 |
GroupMemberMuted | 1512 |
GroupMemberCancelMuted | 1513 |
GroupMuted | 1514 |
GroupCancelMuted | 1515 |
GroupAnnouncementUpdated | 1519 |
GroupNameUpdated | 1518 |
BurnMessageChange | 1701 |
RevokeMessage | 2101 |