Improve documentation for get_max_chars().

This commit is contained in:
tastytea 2020-01-11 17:59:14 +01:00
parent ee87cd0436
commit d749e3aa23
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 2 deletions

View File

@ -45,8 +45,6 @@ public:
/*!
* @brief Construct a new Instance object.
*
* Also queries `/api/v1/instance` for `max_toot_chars'.
*
* @param hostname The hostname of the instance.
* @param access_token Your access token.
*
@ -105,6 +103,9 @@ public:
/*!
* @brief Returns the maximum number of characters per post.
*
* Queries `/api/v1/instance` for `max_toot_chars'. If the instance doesn't
* support it, the limit is assumed to be 500.
*
* @since 0.1.0
*/
[[nodiscard]]