NAME

WebService::Mattermost::V4::API::Object::File - A file item.

VERSION

version 0.29

DESCRIPTION

Details a Mattermost File object.

METHODS

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()

ATTRIBUTES

extension
has_preview_image
height
mime_type
size
width

SEE ALSO

WebService::Mattermost::V4::API::Resource::File
WebService::Mattermost::V4::API::Resource::Files
WebService::Mattermost::V4::API::Object::Role::BelongingToPost
WebService::Mattermost::V4::API::Object::Role::BelongingToUser
WebService::Mattermost::V4::API::Object::Role::ID
WebService::Mattermost::V4::API::Object::Role::Name
WebService::Mattermost::V4::API::Object::Role::Timestamps

AUTHOR

Mike Jones <mike@netsplit.org.uk>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2020 by Mike Jones.

This is free software, licensed under:

The MIT (X11) License