[][src]Trait twitchchat::PrivmsgExt

pub trait PrivmsgExt {
    fn reply<W: ?Sized>(&self, writer: &mut W, data: &str) -> Result<()>
    where
        W: Write
;
fn say<W: ?Sized>(&self, writer: &mut W, data: &str) -> Result<()>
    where
        W: Write
; }

Extensions to the Privmsg message type

Required methods

fn reply<W: ?Sized>(&self, writer: &mut W, data: &str) -> Result<()> where
    W: Write

Reply to this message with data over writer

fn say<W: ?Sized>(&self, writer: &mut W, data: &str) -> Result<()> where
    W: Write

Send a message back to the channel this Privmsg came from

Loading content...

Implementors

impl<'a> PrivmsgExt for Privmsg<'a>[src]

Loading content...