NAME

Telegram::BotKit::UpdateParser - Module for parsing Telegram Update object. Resolve issue of getting text from inline or regular keyboard

VERSION

version 0.03

SYNOPSIS

    use Telegram::BotKit::UpdateParser qw(get_text get_chat_id);

        my $text = get_text($update);
        my $chat_id = get_chat_id($update);

METHODS

get_text

Get message text from Update object

get_chat_id

Get chat_id from Update object

AUTHOR

Pavel Serikov <pavelsr@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Pavel Serikov.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.