Shawn M Moore > IM-Engine-0.06 > IM::Engine::Incoming

Download:
IM-Engine-0.06.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

IM::Engine::Incoming - a message we have received

ATTRIBUTES ^

sender

An instance of IM::Engine::User which represents the sender of this incoming message.

message

See "message" in IM::Engine::Message.

plaintext

See "plaintext" in IM::Engine::Message.

METHODS ^

reply

Constructs a IM::Engine::Outgoing message that represents a reply to this incoming message.

    my $outgoing = $incoming->reply("Sorry, I didn't understand.");

You can also pass in a hash of attributes for constructing the outgoing message.

SEE ALSO ^

IM::Engine::Incoming::IRC
IM::Engine::Incoming::Jabber
IM::Engine::Outgoing
IM::Engine::Message (the superclass)
syntax highlighting: