import {MessageType} from "openim-uniapp-polyfill";

export const CustomType = {
	VideoCall: "c100",
	VoiceCall: "c101",
	Call: 901,
	MassMsg: 903,
};

export const Platform = {
	1: 'iOS',
	2: 'Android',
	3: 'PC',
	4: 'PC',
	5: 'Web'
};

export const noticeMessageTypes = [
	MessageType.RevokeMessage,
	MessageType.FriendAdded,
	MessageType.GroupCreated,
	MessageType.GroupInfoUpdated,
	MessageType.MemberQuit,
	MessageType.GroupOwnerTransferred,
	MessageType.MemberKicked,
	MessageType.MemberInvited,
	MessageType.MemberEnter,
	MessageType.GroupDismissed,
	MessageType.GroupMemberMuted,
	MessageType.GroupMuted,
	MessageType.GroupCancelMuted,
	MessageType.GroupMemberCancelMuted,
	MessageType.GroupNameUpdated,
	MessageType.BurnMessageChange,
];

export const GroupSystemMessageTypes = [
	MessageType.GroupCreated,
	MessageType.GroupInfoUpdated,
	MessageType.MemberQuit,
	MessageType.GroupOwnerTransferred,
	MessageType.MemberKicked,
	MessageType.MemberInvited,
	MessageType.MemberEnter,
	MessageType.GroupDismissed,
	MessageType.GroupMemberMuted,
	MessageType.GroupMuted,
	MessageType.GroupCancelMuted,
	MessageType.GroupMemberCancelMuted,
	MessageType.GroupNameUpdated
];