浏览代码

#231 Support getting Bot account / owner

robbix1206 8 年之前
父节点
当前提交
b961ee3b6f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      oauth2.go

+ 1 - 0
oauth2.go

@@ -21,6 +21,7 @@ type Application struct {
 	Icon         string    `json:"icon,omitempty"`
 	Secret       string    `json:"secret,omitempty"`
 	RedirectURIs *[]string `json:"redirect_uris,omitempty"`
+	Owner        *User     `json:"owner"`
 }
 
 // Application returns an Application structure of a specific Application