Skip to content

Commit

Permalink
dto: 增加机器人所在频道权限字段 (merge request !33)
Browse files Browse the repository at this point in the history
Squash merge branch 'feature_20220222_self_channel_permission_story_872121637' into 'master'
dto: 增加机器人所在频道权限字段

--story=872121637


TAPD: --story=872121637
  • Loading branch information
yixizhou committed Mar 15, 2022
1 parent 46fe4ea commit 6919b39
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dto/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ type ChannelValueObject struct {
PrivateUserIDs []string `json:"private_user_ids,omitempty"`
// 发言权限
SpeakPermission SpeakPermissionType `json:"speak_permission,omitempty"`
// 应用子频道的应用ID,仅应用子频道有效,定义请参考 [文档](https://bot.q.qq.com/wiki/develop/api/openapi/channel/model.html)
// 应用子频道的应用ID,仅应用子频道有效,定义请参考
// [文档](https://bot.q.qq.com/wiki/develop/api/openapi/channel/model.html)
ApplicationID string `json:"application_id,omitempty"`
// 机器人在此频道上拥有的权限, 定义请参考
// [文档](https://bot.q.qq.com/wiki/develop/api/openapi/channel_permissions/model.html#permissions)
Permissions string `json:"permissions,omitempty"`
}

0 comments on commit 6919b39

Please sign in to comment.