NAME

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

VERSION

version 0.023

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>

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.