| 1 | package Bot::Backbone::Service::Role::GroupJoiner; | ||
| 2 | $Bot::Backbone::Service::Role::GroupJoiner::VERSION = '0.160630'; | ||
| 3 | use v5.10; | ||
| 4 | use Moose::Role; | ||
| 5 | |||
| 6 | # ABSTRACT: Chat services that can join a chat group | ||
| 7 | |||
| 8 | |||
| 9 | requires 'join_group'; | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | __END__ | ||
| 14 | |||
| 15 | =pod | ||
| 16 | |||
| 17 | =encoding UTF-8 | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Bot::Backbone::Service::Role::GroupJoiner - Chat services that can join a chat group | ||
| 22 | |||
| 23 | =head1 VERSION | ||
| 24 | |||
| 25 | version 0.160630 | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | This is only useful to chat services (probably). | ||
| 30 | |||
| 31 | =head1 REQUIRED METHODS | ||
| 32 | |||
| 33 | =head2 join_group | ||
| 34 | |||
| 35 | $chat->join_group(\%options); | ||
| 36 | |||
| 37 | This method will cause the service to join the group described by the options in | ||
| 38 | the way described by the options. Generally, the options will include (but are | ||
| 39 | not limited to and all of these might not be supported): | ||
| 40 | |||
| 41 | =over | ||
| 42 | |||
| 43 | =item group | ||
| 44 | |||
| 45 | This is the name of the group to join. Every implementation must support this | ||
| 46 | option. | ||
| 47 | |||
| 48 | =item nickname | ||
| 49 | |||
| 50 | This is the nickname to give the bot within this group. | ||
| 51 | |||
| 52 | =back | ||
| 53 | |||
| 54 | =head1 AUTHOR | ||
| 55 | |||
| 56 | Andrew Sterling Hanenkamp <hanenkamp@cpan.org> | ||
| 57 | |||
| 58 | =head1 COPYRIGHT AND LICENSE | ||
| 59 | |||
| 60 | This software is copyright (c) 2016 by Qubling Software LLC. | ||
| 61 | |||
| 62 | This is free software; you can redistribute it and/or modify it under | ||
| 63 | the same terms as the Perl 5 programming language system itself. | ||
| 64 | |||
| 65 | =cut |