Inumedia / SlackAPI

.NET Implementation of the Slack team communication platform API.
MIT License
452 stars 243 forks source link

Feature/update access token response #185

Closed jeeshenlee closed 5 years ago

jeeshenlee commented 5 years ago

Add incoming_webhook into AccessTokenResponse.cs

Below is the sample json on Slack documentation

{
    "access_token": "xoxp-XXXXXXXX-XXXXXXXX-XXXXX",
    "scope": "incoming-webhook,commands,bot",
    "team_name": "Team Installing Your Hook",
    "team_id": "XXXXXXXXXX",
    "incoming_webhook": {
        "url": "https://hooks.slack.com/TXXXXX/BXXXXX/XXXXXXXXXX",
        "channel": "#channel-it-will-post-to",
        "configuration_url": "https://teamname.slack.com/services/BXXXXX"
    },
    "bot":{
        "bot_user_id":"UTTTTTTTTTTR",
        "bot_access_token":"xoxb-XXXXXXXXXXXX-TTTTTTTTTTTTTT"
    }
}
Inumedia commented 5 years ago

@jeeshenlee Uhh??? This PR is empty.

jeeshenlee commented 5 years ago

@Inumedia, sorry. Have just updated the changes required.