++ed by:
AWNCORP

1 PAUSE user
1 non-PAUSE user.

Andrew Sterling Hanenkamp

NAME

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

VERSION

version 0.161950

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.

nickname

This is the nickname to pass to the chat when joining the group. If not set, no special nickname will be requested.

METHODS

initialize

Joins the "group".

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