The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Telegram::Bot::Object::Chat - The base class for Telegram 'Chat' type objects

VERSION

version 0.025

DESCRIPTION

See https://core.telegram.org/bots/api#chat for details of the attributes available for Telegram::Bot::Object::Chat objects.

METHODS

is_user

Returns true is this is a chat is a single user.

is_group

Returns true if this is a chat is a group.

AUTHORS

  • Justin Hawkins <justin@eatmorecode.com>

  • James Green <jkg@earth.li>

  • Julien Fiegehenn <simbabque@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by James Green.

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