NAME

Bot::Backbone::Service::GroupChat - A helper chat for performing group chats

VERSION

version 0.112320

SYNOPSIS

service group_foo => (
    service => 'GroupChat',
    chat    => 'jabber_chat',
    group   => 'foo',
);

DESCRIPTION

This is a chat consumer that provides chat services to a specific group on the consumed chat service.

ATTRIBUTES

group

This is the name of the group this chat will communicate with. It will not perform chats in any other group or directly.

METHODS

initialize

Joins the "group".

send_reply

Replies to "group" chats that were forwarded on.

send_message

Sends a message to the "group".

receive_message

If the message belongs to the "group" this chat service works with, the consumers will be notified and the dispatcher run. Otherwise, the message will be ignored.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 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.