NAME
WebService::Mattermost::V4::API::Object::Channel - A channel item.
VERSION
version 0.30
DESCRIPTION
Details a Mattermost channel object.
METHODS
See matching methods in WebService::Mattermost::V4::API::Resource::Channel for full documentation.
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');
ATTRIBUTES
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.
SEE ALSO
- WebService::Mattermost::V4::API::Resource::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
- Channel documentation
AUTHOR
Mike Jones <mike@netsplit.org.uk>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2023 by Mike Jones.
This is free software, licensed under:
The MIT (X11) License