34 lines
522 B
Java
34 lines
522 B
Java
package io.lxh.cqhttp.entity.vo;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import lombok.Data;
|
|
|
|
/**
|
|
* 通知事件
|
|
*/
|
|
@Data
|
|
public class NotifyVO {
|
|
/**
|
|
* 事件类型
|
|
*/
|
|
@JsonProperty("post_type")
|
|
private String postType;
|
|
|
|
/**
|
|
* 通知类型
|
|
*/
|
|
@JsonProperty("meta_event_type")
|
|
private String metaEventType;
|
|
|
|
/**
|
|
* 通知时间戳
|
|
*/
|
|
private long time;
|
|
|
|
/**
|
|
* 机器人Id
|
|
*/
|
|
@JsonProperty("self_id")
|
|
private long selfId;
|
|
}
|