cn.blankcat.dto.dm.DirectMessageToCreate Maven / Gradle / Ivy
package cn.blankcat.dto.dm;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
// DirectMessageToCreate 创建私信频道的结构体定义
public class DirectMessageToCreate {
// 频道ID
@JsonProperty("source_guild_id")
private String sourceGuildID;
// 用户ID
@JsonProperty("recipient_id")
private String recipientID;
}