Implement ChannelConfig for ClawdTalk
This commit is contained in:
parent
b658e76bfd
commit
92e6c6e5ae
@ -3,6 +3,8 @@
|
||||
//! ClawdTalk (https://clawdtalk.com) provides AI-powered voice conversations
|
||||
//! using Telnyx's global SIP network for low-latency, high-quality calls.
|
||||
|
||||
use crate::config::traits::ChannelConfig;
|
||||
|
||||
use super::traits::{Channel, ChannelMessage, SendMessage};
|
||||
use async_trait::async_trait;
|
||||
use reqwest::Client;
|
||||
@ -43,6 +45,15 @@ pub struct ClawdTalkConfig {
|
||||
pub webhook_secret: Option<String>,
|
||||
}
|
||||
|
||||
impl ChannelConfig for ClawdTalkConfig {
|
||||
fn name() -> &'static str {
|
||||
"ClawdTalk"
|
||||
}
|
||||
fn desc() -> &'static str {
|
||||
"ClawdTalk Channel"
|
||||
}
|
||||
}
|
||||
|
||||
impl ClawdTalkChannel {
|
||||
/// Create a new ClawdTalk channel
|
||||
pub fn new(config: ClawdTalkConfig) -> Self {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user