Skip to main content

MessageContentType

info

Message type.

Message Type

Enum ValueDescription
101Text Message
102Image Message
103Voice Message
104Video Message
105File Message
106@ Message
107Combined Message
108Card Message
109Location Message
110Custom Message
111Message Recall Receipt
113Input Status
114Quoted Message
115Emoji Message
1201Notification of Becoming Friends
1400System Notification
1501Group Creation Notification
1504Group Member Exit Notification
1507Group Owner Change Notification
1508Group Member Kicked Notification
1509Group Member Invitation Notification
1510Group Member Join Notification
1511Group Disbandment Notification
1512Group Member Mute Notification
1513Group Member Unmute Notification
1514Group Mute Notification
1515Group Unmute Notification
1519Group Announcement Change Notification
1520Group Name Change Notification
1701Burn After Reading Enable/Disable Notification
2101Message Withdrawal Notification

OIMMessageContentType

Enum NameEnum Value
OIMMessageContentTypeText101
OIMMessageContentTypeImage102
OIMMessageContentTypeAudio103
OIMMessageContentTypeVideo104
OIMMessageContentTypeFile105
OIMMessageContentTypeAt106
OIMMessageContentTypeMerge107
OIMMessageContentTypeCard108
OIMMessageContentTypeLocation109
OIMMessageContentTypeCustom110
OIMMessageContentTypeRevokeReciept111
OIMMessageContentTypeC2CReciept112
OIMMessageContentTypeTyping113
OIMMessageContentTypeQuote114
OIMMessageContentTypeFace115
OIMMessageContentTypeAdvancedText117
OIMMessageContentTypeAdvancedRevoke118
OIMMessageContentTypeCustomMsgNotTriggerConversation119
OIMMessageContentTypeCustomMsgOnlineOnly120
OIMMessageContentTypeFriendAppApproved1201
OIMMessageContentTypeFriendAppRejected1202
OIMMessageContentTypeFriendApplication1203
OIMMessageContentTypeFriendAdded1204
OIMMessageContentTypeFriendDeleted1205
OIMMessageContentTypeFriendRemarkSet1206
OIMMessageContentTypeBlackAdded1207
OIMMessageContentTypeBlackDeleted1208
OIMMessageContentTypeConversationOptChange1300
OIMMessageContentTypeUserInfoUpdated1303
OIMMessageContentTypeOANotification1400
OIMMessageContentTypeGroupCreated1501
OIMMessageContentTypeGroupInfoSet1502
OIMMessageContentTypeJoinGroupApplication1503
OIMMessageContentTypeMemberQuit1504
OIMMessageContentTypeGroupAppAccepted1505
OIMMessageContentTypeGroupAppRejected1506
OIMMessageContentTypeGroupOwnerTransferred1507
OIMMessageContentTypeMemberKicked1508
OIMMessageContentTypeMemberInvited1509
OIMMessageContentTypeMemberEnter1510
OIMMessageContentTypeDismissGroup1511
OIMMessageContentTypeGroupMemberMutedNotification1512
OIMMessageContentTypeGroupMemberCancelMutedNotification1513
OIMMessageContentTypeGroupMutedNotification1514
OIMMessageContentTypeGroupCancelMutedNotification1515
OIMMessageContentTypeGroupMemberInfoSetNotification1516
OIMMessageContentTypeGroupMemberSetToAdminNotification1517
OIMMessageContentTypeGroupMemberSetToOrdinaryUserNotification1518
OIMMessageContentTypeSuperGroupUpdateNotification1651
OIMMessageContentTypeIsPrivateMessage1701
OIMMessageContentTypeBusiness2001
OIMMessageContentTypeRevoke2101
OIMMessageContentTypeHasReadReceipt2150
OIMMessageContentTypeGroupHasReadReceipt2155