[][src]Trait twitchchat::PrivmsgExt

pub trait PrivmsgExt {
    fn reply(&mut self, msg: &Privmsg<'_>, data: &str) -> Result<()>;
fn say(&mut self, msg: &Privmsg<'_>, data: &str) -> Result<()>; }

Extensions to the Privmsg message type

Required methods

fn reply(&mut self, msg: &Privmsg<'_>, data: &str) -> Result<()>

Reply to this message with data

fn say(&mut self, msg: &Privmsg<'_>, data: &str) -> Result<()>

Send a message back to the channel this Privmsg came from

Loading content...

Implementors

impl<'a, W: Write + ?Sized> PrivmsgExt for W[src]

Loading content...