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


IM-Engine documentation  | view source Contained in the IM-Engine distribution.

Index


NAME

Top

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

ATTRIBUTES

Top

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

Top

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

Top

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

IM-Engine documentation  | view source Contained in the IM-Engine distribution.