From c12bd13b286efa68221b73cdfbb84beab3e668f9 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Thu, 28 Sep 2023 16:58:34 +0300 Subject: [PATCH] v0.3.0[publish] Signed-off-by: Alexander Piskun --- nc_py_api/_talk_api.py | 6 +++--- nc_py_api/_version.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nc_py_api/_talk_api.py b/nc_py_api/_talk_api.py index 383c192f..2214e2c4 100644 --- a/nc_py_api/_talk_api.py +++ b/nc_py_api/_talk_api.py @@ -205,7 +205,7 @@ def leave_conversation(self, conversation: typing.Union[Conversation, str]) -> N """Removes yourself from the conversation. .. note:: When the participant is a moderator or owner and there are no other moderators or owners left, - participant can not leave conversation. + participant cannot leave conversation. :param conversation: conversation token or :py:class:`~nc_py_api.talk.Conversation`. """ @@ -419,7 +419,7 @@ def create_poll( :param conversation: conversation token or :py:class:`~nc_py_api.talk.Conversation`. :param question: The question of the poll. :param options: Array of strings with the voting options. - :param hidden_results: Are the results hidden until the poll is closed and then only the summary is published. + :param hidden_results: Should results be hidden until the poll is closed and then only the summary is published. :param max_votes: The maximum amount of options a participant can vote for. """ token = conversation.token if isinstance(conversation, Conversation) else conversation @@ -493,7 +493,7 @@ def set_conversation_avatar( :param avatar: Squared image with mimetype equal to PNG or JPEG or a tuple with emoji and optional HEX color code(6 times ``0-9A-F``) without the leading ``#`` character. - .. note:: Color omit to fallback to the default bright/dark mode icon background color. + .. note:: When color omitted, fallback will be to the default bright/dark mode icon background color. """ require_capabilities("spreed.features.avatar", self._session.capabilities) token = conversation.token if isinstance(conversation, Conversation) else conversation diff --git a/nc_py_api/_version.py b/nc_py_api/_version.py index 303b1bc3..351f311a 100644 --- a/nc_py_api/_version.py +++ b/nc_py_api/_version.py @@ -1,3 +1,3 @@ """Version of nc_py_api.""" -__version__ = "0.3.0.dev0" +__version__ = "0.3.0"