Skip to main content

dm

Function dm 

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

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.