public sealed class AdvancedSettings.Types.DtmfSettings : IMessage<AdvancedSettings.Types.DtmfSettings>, IEquatable<AdvancedSettings.Types.DtmfSettings>, IDeepCloneable<AdvancedSettings.Types.DtmfSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class AdvancedSettings.Types.DtmfSettings.
Define behaviors for DTMF (dual tone multi frequency).
Implements
IMessageAdvancedSettingsTypesDtmfSettings, IEquatableAdvancedSettingsTypesDtmfSettings, IDeepCloneableAdvancedSettingsTypesDtmfSettings, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
DtmfSettings()
public DtmfSettings()
DtmfSettings(DtmfSettings)
public DtmfSettings(AdvancedSettings.Types.DtmfSettings other)
Parameter | |
---|---|
Name | Description |
other | AdvancedSettingsTypesDtmfSettings |
Properties
Enabled
public bool Enabled { get; set; }
If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
Property Value | |
---|---|
Type | Description |
bool |
FinishDigit
public string FinishDigit { get; set; }
The digit that terminates a DTMF digit sequence.
Property Value | |
---|---|
Type | Description |
string |
MaxDigits
public int MaxDigits { get; set; }
Max length of DTMF digits.
Property Value | |
---|---|
Type | Description |
int |