NAME

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

VERSION

version 0.161950

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) 2016 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.