feat(twitter): add handler

This commit is contained in:
2025-10-27 11:23:28 +02:00
parent 0b6012e383
commit 40ae0b7371
5 changed files with 82 additions and 3 deletions

View File

@@ -34,6 +34,8 @@ async fn main() -> color_eyre::Result<()> {
Arc::new(tg_relay_rs::handlers::YouTubeShortsHandler),
#[cfg(feature = "tiktok")]
Arc::new(tg_relay_rs::handlers::TiktokHandler),
#[cfg(feature = "twitter")]
Arc::new(tg_relay_rs::handlers::TwitterHandler),
];
teloxide::repl(bot.clone(), move |bot: Bot, msg: Message| {