Andrew Sterling Hanenkamp > Bot-Backbone > Bot::Backbone::Service::Role::Sender

Download:
Bot-Backbone-0.141180.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.141180   Source  

NAME ^

Bot::Backbone::Service::Role::Sender - Marks a service as one that may send messages

VERSION ^

version 0.141180

DESCRIPTION ^

A sender is a service that provides send_message and send_reply methods.

REQUIRED METHODS ^

send_reply

  $chat->send_reply($message, \%options);

This is often just a wrapper provided around send_message. The first argument is the original Bot::Backbone::Message that this is in reply to.

The second argument is the options to describe the reply being sent.

send_message

  $chat->send_message(%options);

The options describe the to send.

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: