Mastodon::Entity::Attachment - A Mastodon media attachment
This object should not be manually created. It is intended to be generated from the data received from a Mastodon server using the coercions in Mastodon::Types.
For current information, see the Mastodon API documentation
ID of the attachment.
One of: "image", "video", "gifv".
URL of the locally hosted version of the image.
For remote images, the remote URL of the original image.
URL of the preview image
Shorter URL for the image, for insertion into text (only present on local images).
José Joaquín Atria <firstname.lastname@example.org>
This software is copyright (c) 2017 by José Joaquín Atria.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Mastodon::Client, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.