WebService::Mattermost::V4::API::Object::Channel
Details a Mattermost channel object.
See matching methods in WebService::Mattermost::V4::API::Resource::Channel for full documentation.
WebService::Mattermost::V4::API::Resource::Channel
ID parameters are not required:
my $response = $mattermost->api->channel->get('ID-HERE')->item->delete();
Is the same as:
my $response = $mattermost->api->channel->delete('ID-HERE');
delete()
patch()
pinned()
posts()
restore()
set_scheme()
stats()
toggle_private_status()
update()
extra_updated_at
A DateTime object for when the channel was updated (extra).
last_post_at
A DateTime object for when the channel was last posted to.
creator_id
The ID of the user who created the channel.
display_name
The channel's display name.
header
The channel's topic
id
The channel's ID.
name
The channel's real name.
purpose
A description of what the channel is for.
team_id
The ID of the team the channel belongs to.
type
The channel's access type (either "Public" or "Private", translated from "O" or "P" respectively).
total_message_count
The number of messages made in the channel.
WebService::Mattermost::V4::API::Object::Role::Timestamps
WebService::Mattermost::V4::API::Object::Role::BelongingToUser
WebService::Mattermost::V4::API::Object::Role::BelongingToTeam
WebService::Mattermost::V4::API::Object::Role::ID
WebService::Mattermost::V4::API::Object::Role::Name
Mike Jones email:mike@netsplit.org.uk
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.