From bf054f1c2aebbd5612701e5688915281accf3b7d Mon Sep 17 00:00:00 2001 From: clockworkcoding Date: Fri, 22 Feb 2019 23:39:30 -0500 Subject: [PATCH] Updated AccessTokenResponse to include the BotTokenResponse and team_id --- SlackAPI/RPCMessages/AccessTokenResponse.cs | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/SlackAPI/RPCMessages/AccessTokenResponse.cs b/SlackAPI/RPCMessages/AccessTokenResponse.cs index ebf9fb9..865d9fa 100644 --- a/SlackAPI/RPCMessages/AccessTokenResponse.cs +++ b/SlackAPI/RPCMessages/AccessTokenResponse.cs @@ -12,6 +12,24 @@ public class AccessTokenResponse : Response public string access_token; public string scope; public string team_name; - public Bot bot; + public string team_id { get; set; } + public BotTokenResponse bot; + } + + public class BotTokenResponse + { + public string emoji; + public string image_24; + public string image_32; + public string image_48; + public string image_72; + public string image_192; + + public bool deleted; + public UserProfile icons; + public string id; + public string name; + public string bot_user_id; + public string bot_access_token; } }