Explorar el Código

Merge pull request #243 from robbix1206/#231_Support_getting_Bot_owner

#231 Support getting Bot account / owner
Bruce hace 8 años
padre
commit
acf7de8b3d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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