NAME

WebService::Mattermost::V4::API::Object::Post - A post item.

VERSION

version 0.29

DESCRIPTION

Describes a Mattermost post.

METHODS

See matching methods in WebService::Mattermost::V4::API::Resource::Post for full documentation.

ID parameters are not required:

my $response = $mattermost->api->post->get('ID-HERE')->item->delete();

Is the same as:

my $response = $mattermost->api->post->delete('ID-HERE');
delete()
update()
patch()
thread()
files()
pin()
inpin()
reactions()
perform_action()

ATTRIBUTES

hashtag

A string containing any hashtags in the message.

original_id
parent_id
pending_post_id
root_id
filenames

A list of filenames attached to the post.

file_ids

A list of file IDs attached to the post.

original_post

Related original post object.

parent_post

Related parent post object.

pending_post

Related pending post object.

root_post

Related root post object.

SEE ALSO

WebService::Mattermost::V4::API::Object::Post
WebService::Mattermost::V4::API::Object::Role::BelongingToChannel
WebService::Mattermost::V4::API::Object::Role::BelongingToUser
WebService::Mattermost::V4::API::Object::Role::ID
WebService::Mattermost::V4::API::Object::Role::Message
WebService::Mattermost::V4::API::Object::Role::Props
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