Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -685,11 +685,11 @@ async def get_conversations(self, service_url: str, continuation_token: str = No
:return: A task that represents the work queued to execute

.. remarks::
The channel server returns results in pages and each page will include a `continuationToken` that
can be used to fetch the next page of results from the server.
If the task completes successfully, the result contains a page of the members of the current conversation.
This overload may be called from outside the context of a conversation, as only the bot's service URL and
credentials are required.
The channel server returns results in pages and each page will include a `continuationToken` that
can be used to fetch the next page of results from the server.
If the task completes successfully, the result contains a page of the members of the current conversation.
This overload may be called from outside the context of a conversation, as only the bot's service URL and
credentials are required.
"""
client = await self.create_connector_client(service_url)
return await client.conversations.get_conversations(continuation_token)
Expand Down
4 changes: 1 addition & 3 deletions libraries/botbuilder-core/botbuilder/core/bot_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,7 @@ async def get(

:param turn_context: The context object for this turn
:type turn_context: :class:`botbuilder.core.TurnContext`
:param default_value_or_factory: Defines the default value when no value is set for the property
:type default_value_or_factory: :typing:Union
:param default_value_or_factory: Defines the default value for the property
"""
await self._bot_state.load(turn_context, False)
try:
Expand All @@ -307,7 +306,6 @@ async def set(self, turn_context: TurnContext, value: object) -> None:
:type turn_context: :class:`botbuilder.core.TurnContext`

:param value: The value to assign to the property
:type value: :typing:`Object`
"""
await self._bot_state.load(turn_context, False)
await self._bot_state.set_property_value(turn_context, self._name, value)