diff --git a/xmpp/src/message/send.rs b/xmpp/src/message/send.rs index 83a6c9c..bb05d69 100644 --- a/xmpp/src/message/send.rs +++ b/xmpp/src/message/send.rs @@ -12,6 +12,13 @@ use tokio_xmpp::{ use crate::agent::TokioXmppClient; +/// Send a text message to a recipient. +/// +/// # Arguments +/// - `client`: The XMPP client to use to send the message. +/// - `recipient`: The JID of the recipient. +/// - `type_`: The type of the message. +/// - `lang`: The language of the message. pub async fn send_message( client: &mut TokioXmppClient, recipient: Jid,