推送提示错误
This commit is contained in:
@@ -480,6 +480,10 @@ public class MessagesPublisher {
|
|||||||
pushContent = "[视频]";
|
pushContent = "[视频]";
|
||||||
} else if(type == ProtoConstants.ContentType.RichMedia) {
|
} else if(type == ProtoConstants.ContentType.RichMedia) {
|
||||||
pushContent = "[图文]";
|
pushContent = "[图文]";
|
||||||
|
} else if(type == ProtoConstants.ContentType.File) {
|
||||||
|
pushContent = "[文件]";
|
||||||
|
} else if(type == ProtoConstants.ContentType.Sticker) {
|
||||||
|
pushContent = "[表情]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -73,12 +73,13 @@ public class ProtoConstants {
|
|||||||
public interface ContentType {
|
public interface ContentType {
|
||||||
int Unknown = 0;
|
int Unknown = 0;
|
||||||
int Text = 1;
|
int Text = 1;
|
||||||
int Image = 2;
|
int Voice = 2;
|
||||||
int Voice = 3;
|
int Image = 3;
|
||||||
int Location = 4;
|
int Location = 4;
|
||||||
int Video = 5;
|
int File = 5;
|
||||||
int RichMedia = 6;
|
int Video = 6;
|
||||||
int Custom = 7;
|
int Sticker = 7;
|
||||||
|
int RichMedia = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
//ModifyGroupInfoRequest -> type
|
//ModifyGroupInfoRequest -> type
|
||||||
|
|||||||
Reference in New Issue
Block a user