Net::API::Telegram::ChatMember - Information about one member of a chat
my $msg = Net::API::Telegram::ChatMember->new( %data ) || die( Net::API::Telegram::ChatMember->error, "\n" );
Net::API::Telegram::ChatMember is a Telegram Message Object as defined here https://core.telegram.org/bots/api#chatmember
This module has been automatically generated from Telegram API documentation by the script scripts/telegram-doc2perl-methods.pl.
new() will create a new object for the package, pass any argument it might receive to the special standard routine init that must exist. Then it returns what returns init().
The valid parameters are as follow. Methods available here are also parameters to the new method.
verbose
debug
Optional. Restricted only. True, if the user is allowed to add web page previews to their messages
Optional. Administrators only. True, if the bot is allowed to edit administrator privileges of that user
Optional. Administrators and restricted only. True, if the user is allowed to change the chat title, photo and other settings
Optional. Administrators only. True, if the administrator can delete messages of other users
Optional. Administrators only. True, if the administrator can edit messages of other users and can pin messages; channels only
Optional. Administrators and restricted only. True, if the user is allowed to invite new users to the chat
Optional. Administrators and restricted only. True, if the user is allowed to pin messages; groups and supergroups only
Optional. Administrators only. True, if the administrator can post in the channel; channels only
Optional. Administrators only. True, if the administrator can add new administrators with a subset of his own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by the user)
Optional. Administrators only. True, if the administrator can restrict, ban or unban chat members
Optional. Restricted only. True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes
Optional. Restricted only. True, if the user is allowed to send text messages, contacts, locations and venues
Optional. Restricted only. True, if the user is allowed to send animations, games, stickers and use inline bots
Optional. Restricted only. True, if the user is allowed to send polls
Optional. Restricted only. True, if the user is a member of the chat at the moment of the request
The member's status in the chat. Can be creator, administrator, member, restricted, left or kicked
Optional. Restricted and kicked only. Date when restrictions will be lifted for this user; unix time
Information about the user
Copyright (c) 2000-2019 DEGUEST Pte. Ltd.
Jacques Deguest <jack@deguest.jp>
Net::API::Telegram
Copyright (c) 2018-2019 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.
To install Net::API::Telegram, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::API::Telegram
CPAN shell
perl -MCPAN -e shell install Net::API::Telegram
For more information on module installation, please visit the detailed CPAN module installation guide.