Jelajahi Sumber

Merge pull request #243 from robbix1206/#231_Support_getting_Bot_owner

#231 Support getting Bot account / owner
Bruce 8 tahun lalu
induk
melakukan
acf7de8b3d
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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