Andrew Sterling Hanenkamp > Bot-Backbone-0.140590 > Bot::Backbone::Service::DirectChat

Download:
Bot-Backbone-0.140590.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.140590   Source   Latest Release: Bot-Backbone-0.141180

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.

syntax highlighting: