We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fa7bf3 commit 26840cbCopy full SHA for 26840cb
dto/interaction.go
@@ -5,9 +5,11 @@ import "encoding/json"
5
// Interaction 互动行为对象
6
type Interaction struct {
7
ID string `json:"id,omitempty"` // 互动行为唯一标识
8
- ApplicationID uint64 `json:"application_id,omitempty"` // 应用ID
+ ApplicationID string `json:"application_id,omitempty"` // 应用ID
9
Type InteractionType `json:"type,omitempty"` // 互动类型
10
Data *InteractionData `json:"data,omitempty"` // 互动数据
11
+ GuildID string `json:"guild_id,omitempty"` // 频道 ID
12
+ ChannelID string `json:"channel_id,omitempty"` // 子频道 ID
13
Version uint32 `json:"version,omitempty"` // 版本,默认为 1
14
}
15
0 commit comments