Improve documentation for get_max_chars().
This commit is contained in:
parent
ee87cd0436
commit
d749e3aa23
|
@ -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]]
|
||||
|
|
Loading…
Reference in New Issue
Block a user