NAME

Mastodon::Entity::Notification - A Mastodon notification

DESCRIPTION

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

ATTRIBUTES

id

The notification ID.

type

One of: "mention", "reblog", "favourite", "follow".

created_at

The time the notification was created.

account

The Account sending the notification to the user as a Mastodon::Entity::Account object.

status

The Status associated with the notification, if applicable. As a Mastodon::Entity::Status object.

AUTHOR

  • José Joaquín Atria <jjatria@cpan.org>

COPYRIGHT AND LICENSE

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.