Telegram::BotKit::UpdateParser - Module for parsing Telegram Update object. Resolve issue of getting text from inline or regular keyboard
version 0.03
use Telegram::BotKit::UpdateParser qw(get_text get_chat_id); my $text = get_text($update); my $chat_id = get_chat_id($update);
Get message text from Update object
Get chat_id from Update object
Pavel Serikov <pavelsr@cpan.org>
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.
To install Telegram::BotKit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Telegram::BotKit
CPAN shell
perl -MCPAN -e shell install Telegram::BotKit
For more information on module installation, please visit the detailed CPAN module installation guide.