From b961ee3b6f8753ca14e7f57ac6756d0331db263e Mon Sep 17 00:00:00 2001 From: robbix1206 Date: Wed, 31 Aug 2016 15:59:25 +0200 Subject: [PATCH] #231 Support getting Bot account / owner --- oauth2.go | 1 + 1 file changed, 1 insertion(+) diff --git a/oauth2.go b/oauth2.go index de2848d..11058e1 100644 --- a/oauth2.go +++ b/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