The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 0.161950

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