|
Concord - C Discord API library
A Discord API wrapper library written in C
|
OAuth2's public API supported by Concord. More...
Data Structures | |
| struct | discord_ret_application |
| Request's return context. More... | |
| struct | discord_ret_auth_response |
| Request's return context. More... | |
Functions | |
| CCORDcode | discord_get_current_bot_application_information (struct discord *client, struct discord_ret_application *ret) |
| Returns the bot's application object. More... | |
| CCORDcode | discord_get_current_authorization_information (struct discord *client, struct discord_ret_auth_response *ret) |
| Returns info about the current authorization. More... | |
OAuth2's public API supported by Concord.
| CCORDcode discord_get_current_bot_application_information | ( | struct discord * | client, |
| struct discord_ret_application * | ret | ||
| ) |
Returns the bot's application object.
| client | the client created with discord_init() |
| ret | return context of the request. if successful a discord_application will be sent over to its assigned done callback |
| CCORDcode discord_get_current_authorization_information | ( | struct discord * | client, |
| struct discord_ret_auth_response * | ret | ||
| ) |
Returns info about the current authorization.
| client | the client created with discord_init() |
| ret | return context of the request. if successful a discord_auth_response will be sent over to its assigned done callback |