WebService::Mattermost::V4::API::Object::File - A file item.
version 0.30
Details a Mattermost File object.
See matching methods in WebService::Mattermost::V4::API::Resource::File for full documentation.
ID parameters are not required:
my $response = $mattermost->api->file->get('ID-HERE')->item->get_thumbnail();
Is the same as:
my $response = $mattermost->api->file->get_thumbnail('ID-HERE');
get_thumbnail()
get_preview()
get_link()
get_metadata()
extension
has_preview_image
height
mime_type
size
width
Mike Jones <mike@netsplit.org.uk>
This software is Copyright (c) 2023 by Mike Jones.
This is free software, licensed under:
The MIT (X11) License
To install WebService::Mattermost, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Mattermost
CPAN shell
perl -MCPAN -e shell install WebService::Mattermost
For more information on module installation, please visit the detailed CPAN module installation guide.