Bot-ChatBots-Telegram

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Dist::Milla" : "v1.0.20",
            "Path::Tiny" : "0.096",
            "Template::Perlish" : "1.52",
            "Test::Pod" : "1.41",
            "Test::Pod::Coverage" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "Bot::ChatBots" : "0.006",
            "IO::Socket::SSL" : "2.038",
            "Log::Any" : "1.042",
            "Mojolicious" : "7.08",
            "Moo" : "2.002005",
            "Ouch" : "0.0409",
            "Try::Tiny" : "0.27",
            "WWW::Telegram::BotAPI" : "0.12",
            "namespace::clean" : "0.27",
            "perl" : "5.010"
         }
      },

META.yml  view on Meta::CPAN

no_index:
  directory:
    - eg
    - examples
    - inc
    - share
    - t
    - xt
requires:
  Bot::ChatBots: '0.006'
  IO::Socket::SSL: '2.038'
  Log::Any: '1.042'
  Mojolicious: '7.08'
  Moo: '2.002005'
  Ouch: '0.0409'
  Try::Tiny: '0.27'
  WWW::Telegram::BotAPI: '0.12'
  namespace::clean: '0.27'
  perl: '5.010'
resources:
  bugtracker: https://github.com/polettix/Bot-ChatBots-Telegram/issues

cpanfile  view on Meta::CPAN

requires 'perl',                  '5.010';
requires 'Bot::ChatBots',         '0.006';
requires 'IO::Socket::SSL',       '2.038';
requires 'Log::Any',              '1.042';
requires 'Mojolicious',           '7.08';
requires 'Ouch',                  '0.0409';
requires 'Try::Tiny',             '0.27';
requires 'WWW::Telegram::BotAPI', '0.12';
requires 'Moo',                   '2.002005';
requires 'namespace::clean',      '0.27';

on test => sub {
   requires 'Test::More',  '0.88';

lib/Bot/ChatBots/Telegram/LongPoll.pm  view on Meta::CPAN

package Bot::ChatBots::Telegram::LongPoll;
use strict;
use warnings;
{ our $VERSION = '0.014'; }

use Ouch;
use Try::Tiny;
use Log::Any qw< $log >;
use Mojo::IOLoop ();
use IO::Socket::SSL ();    # just to be sure to complain loudly in case
use List::Util qw< max >;
use Data::Dumper;

use Moo;
use namespace::clean;

with 'Bot::ChatBots::Telegram::Role::Source';    # normalize_record, token
with 'Bot::ChatBots::Role::Source';              # processor, typename

has connect_timeout => (



( run in 0.548 second using v1.01-cache-2.11-cpan-4d50c553e7e )