The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::Mattermost::V4::API::Object::Channel

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');
delete()
patch()
pinned()
posts()
restore()
set_scheme()
stats()
toggle_private_status()
update()

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.

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 email:mike@netsplit.org.uk