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
78 changes: 56 additions & 22 deletions livekit/livekit_connector_whatsapp.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions protobufs/livekit_connector_whatsapp.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ option go_package = "github.com/livekit/protocol/livekit";
option csharp_namespace = "LiveKit.Proto";
option ruby_package = "LiveKit::Proto";

import "google/protobuf/duration.proto";
import "livekit_agent_dispatch.proto";
import "livekit_rtc.proto";
import "logger/options.proto";


message DialWhatsAppCallRequest {
// Required - The phone number id of the business that is initiating the call
string whatsapp_phone_number_id = 1;
Expand Down Expand Up @@ -58,7 +60,8 @@ message DialWhatsAppCallRequest {
];
// Optional - Country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
string destination_country = 11;
// Next - 13
// Max time for the callee to answer the call.
google.protobuf.Duration ringing_timeout = 13;
}

message DialWhatsAppCallResponse {
Expand Down Expand Up @@ -142,7 +145,10 @@ message AcceptWhatsAppCallRequest {
];
// Optional - Country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
string destination_country = 12;
// Next - 14
// Max time for the callee to answer the call.
google.protobuf.Duration ringing_timeout = 14;
// Wait for the answer for the call before returning.
bool wait_until_answered = 15;
}

message AcceptWhatsAppCallResponse {
Expand Down
Loading