@telnyx/react-native-voice-sdk
Version:
Telnyx React Native Voice SDK
17 lines (16 loc) • 373 B
TypeScript
type KeepAlivePingEvent = {
id: number;
jsonrpc: '2.0';
method: 'telnyx_rtc.ping';
params: {
serno: number;
};
voice_sdk_id: string;
};
export declare function isKeepAlivePing(msg: unknown): msg is KeepAlivePingEvent;
export declare function createKeepAlivePingAck(): {
id: string;
jsonrpc: string;
method: string;
};
export {};