Skip to content

Function bindings::zaun::bot::messages::dm

zaun_bot::bindings::zaun::bot::messages::dm · Function

pub fn dm(member_id: &str, body: &MessageBody) -> Result<(Id, Id), HostError>

A direct message to member member-id (capability dms): opens the DM when needed, then sends. Returns the DM’s channel id and the message id.

Full rustdoc page