Class: OpenAI::Models::Realtime::InputAudioBufferDtmfEventReceivedEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Realtime::InputAudioBufferDtmfEventReceivedEvent
- Defined in:
- lib/openai/models/realtime/input_audio_buffer_dtmf_event_received_event.rb
Instance Attribute Summary collapse
-
#event ⇒ String
The telephone keypad that was pressed by the user.
-
#received_at ⇒ Integer
UTC Unix Timestamp when DTMF Event was received by server.
-
#type ⇒ Symbol, :"input_audio_buffer.dtmf_event_received"
The event type, must be ‘input_audio_buffer.dtmf_event_received`.
Instance Method Summary collapse
-
#initialize(event:, received_at:, type: :"input_audio_buffer.dtmf_event_received") ⇒ Object
constructor
Some parameter documentations has been truncated, see InputAudioBufferDtmfEventReceivedEvent for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(event:, received_at:, type: :"input_audio_buffer.dtmf_event_received") ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Realtime::InputAudioBufferDtmfEventReceivedEvent for more details.
**SIP Only:** Returned when an DTMF event is received. A DTMF event is a message that represents a telephone keypad press (0–9, *, #, A–D). The ‘event` property is the keypad that the user press. The `received_at` is the UTC Unix Timestamp that the server received the event.
|
|
# File 'lib/openai/models/realtime/input_audio_buffer_dtmf_event_received_event.rb', line 25
|
Instance Attribute Details
#event ⇒ String
The telephone keypad that was pressed by the user.
11 |
# File 'lib/openai/models/realtime/input_audio_buffer_dtmf_event_received_event.rb', line 11 required :event, String |
#received_at ⇒ Integer
UTC Unix Timestamp when DTMF Event was received by server.
17 |
# File 'lib/openai/models/realtime/input_audio_buffer_dtmf_event_received_event.rb', line 17 required :received_at, Integer |
#type ⇒ Symbol, :"input_audio_buffer.dtmf_event_received"
The event type, must be ‘input_audio_buffer.dtmf_event_received`.
23 |
# File 'lib/openai/models/realtime/input_audio_buffer_dtmf_event_received_event.rb', line 23 required :type, const: :"input_audio_buffer.dtmf_event_received" |