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
2 changes: 2 additions & 0 deletions libraries/botbuilder-schema/botbuilder/schema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
from .callerid_constants import CallerIdConstants
from .health_results import HealthResults
from .healthcheck_response import HealthCheckResponse
from .speech_constants import SpeechConstants

__all__ = [
"Activity",
Expand Down Expand Up @@ -139,4 +140,5 @@
"CallerIdConstants",
"HealthResults",
"HealthCheckResponse",
"SpeechConstants",
]
14 changes: 14 additions & 0 deletions libraries/botbuilder-schema/botbuilder/schema/speech_constants.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.


class SpeechConstants:
"""
Defines constants that can be used in the processing of speech interactions.
"""

EMPTY_SPEAK_TAG = '<speak version="1.0" xmlns="https://www.w3.org/2001/10/synthesis" xml:lang="en-US" />'
"""
The xml tag structure to indicate an empty speak tag, to be used in the 'speak' property of an Activity.
When set this indicates to the channel that speech should not be generated.
"""