OpenAI::WebhookRealtimeCallIncoming
Inherits JSON::Serializable < Reference < Object
Sent when Realtime API Receives a incoming SIP call.
Constructors
new(pull : JSON::PullParser)
Sourcenew(created_at : Int64 = 0, id : String = "", data : WebhookRealtimeCallIncomingData = WebhookRealtimeCallIncomingData.new, object : WebhookRealtimeCallIncomingObject | Nil = nil, type_value : WebhookRealtimeCallIncomingType = WebhookRealtimeCallIncomingType::RealtimeCallIncoming)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
created_at=(created_at : Int64)
The Unix timestamp (in seconds) of when the model response was completed.
object=(object : WebhookRealtimeCallIncomingObject | Nil)
The object of the event. Always event.
type_value=(type_value : WebhookRealtimeCallIncomingType)
The type of the event. Always realtime.call.incoming.