The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bot::Backbone::Service::DirectChat - A helper for doing direct chats

VERSION

version 0.140590

SYNOPSIS

  service private_chat => (
      service => 'DirectChat',
      chat    => 'jabber_chat',
  );

DESCRIPTION

This is a chat service layered on top of an existing chat service. It only passes on direct chats received and only sends direct chages back.

METHODS

initialize

Does nothing.

send_message

Sends a direct message chat to the nested chat service.

receive_message

If the message is not to a group and is sent direct, it will be passed on to any chat consumers and dispatched.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Qubling Software LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.